21947 Commits

Author SHA1 Message Date
Anthony Minessale
23efa8e6d9 FS-4525 --resolve 2012-09-11 14:29:58 -04:00
Anthony Minessale
ad1f0a1288 fix color coding to be OS appropriate 2012-09-11 14:29:58 -04:00
Anthony Minessale
bee83a8ea8 up date 2012-09-11 14:29:58 -04:00
Anthony Minessale
35bc42a917 FS-4539 please test this and post new logs if necessary 2012-09-11 14:29:58 -04:00
Anthony Minessale
09e769d8da revert 2012-09-11 14:29:58 -04:00
Anthony Minessale
f31757f996 FS-4539 please test this and post new logs if necessary 2012-09-11 14:29:57 -04:00
Robert Jongbloed
bfe4c17743 Updated mod_opal to latest stable OPAL version.
Enhancements to trace logging, include threads and context ID.

Changed default opal_conf.xml to allow more than just G.711 uLaw and not to clutter log file with debug logs.

Added to opal_conf.xml item for "disable-transcoding".

Updated build/buildopal.sh to use correct ./configure items for PTLib, allow for something other than standard install directory for PTLib/OPAL and be able to easily bind to a specific release of PTLib/OPAL.
2012-09-11 14:29:57 -04:00
Anthony Minessale
a7fadffc16 FS-4079 FS-4540 please update to this version 2012-09-11 14:29:57 -04:00
William King
76524d3f6e Adding functionality to mod_xml_radius. Now you can do conditional accounting. And you can pull values from the other leg, specify an alternate variable name in case the variable doesn't exist and you can have default values. 2012-09-11 14:29:57 -04:00
Anthony Minessale
bff3af7837 add debug 2012-09-11 14:29:57 -04:00
Anthony Minessale
49c121919f debug lost read lock 2012-09-11 14:29:57 -04:00
Anthony Minessale
1ffda2e589 fix format 2012-09-11 14:29:57 -04:00
Anthony Minessale
4424a49af7 improve parsing 2012-09-11 14:29:57 -04:00
Stefan Knoblich
c1f4e7f719 FreeTDM: Add span start/stop callbacks to ftdm_io_interface.
Callbacks are invoked from ftdm_span_start/_stop().
I/O is started before SIG and shut down in reverse order.

This is needed for ftmod_misdn, to move the mISDN message handling
into a separate thread (solving the mISDN socket vs. FreeTDM API issues).

With these callbacks, the I/O thread can be started after the span I/O configuration
has been (successfully) completed and stopped before destroying the span.

NOTE: Both SIG and I/O callbacks are called with the span mutex locked,
so threads created or destroyed synchronously in either of the custom
start/stop functions, can not use ftdm_span_*() functions that lock
the span mutex (e.g. ftdm_span_get_channel_count()).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 14:29:57 -04:00
Stefan Knoblich
400e6b6447 spandsp: Fix libjpeg checks for --enable-builtin-tiff builds.
The --enable-builtin-tiff option appends libs/tiff-3.8.2/libtiff/libtiff.la
to LIBS, causing the AC_CHECK_LIB([jpeg]...) check to fail, because
libtiff.la does not exist at configure time.

Temporarily store tiff and jpeg libs in TIFF_-/JPEG_LIBS variables and
append them to LIBS after all library checks have run.

Example error output:
    configure:20049: checking for jpeg_start_compress in -ljpeg
    configure:20074: cc -o conftest -O2 -pipe -fno-strict-aliasing    -L/usr/local/lib conftest.c -ljpeg  -lm  /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la >&5
    cc: /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la: No such file or directory

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 14:29:57 -04:00
Seven Du
24a45b034b Fix rtp payload number and possibly other params, since we ALWAYS use PCMU all params should be hardcoded 2012-09-11 14:29:57 -04:00
Brian West
fbb53c75dd STFU already 2012-09-11 14:29:57 -04:00
Anthony Minessale
b0537b2e0d FS-4079 revert 4ef9b3fe5622e417e8cd2916491e0058492a3bb7 2012-09-11 14:29:57 -04:00
Anthony Minessale
37b36aea33 add email function to js 2012-09-11 14:29:57 -04:00
Steve Underwood
afbdb08fec Improvements to image translation 2012-09-11 14:29:56 -04:00
Anthony Minessale
dab313af81 building stub module 2012-09-11 14:29:56 -04:00
Anthony Minessale
b140bfbf9c stub for mod_html5 2012-09-11 14:29:56 -04:00
Anthony Minessale
35e6368602 libwebsocket inline configure 2012-09-11 14:29:56 -04:00
Anthony Minessale
5a6d3cf43e fix libwebsocket build 2012-09-11 14:29:56 -04:00
Jeff Lenk
ffebc6ac9c FS-4504 vs2010 only - plus mod_sofia fix - anybody want to help with 2008 2012-09-11 14:29:56 -04:00
Michael Jerris
c920135658 add ws 2012-09-11 14:28:22 -04:00
David Yat Sin
83d0f5055e Fix for NFAS when one of the d-channels are down 2012-09-11 14:25:07 -04:00
dyatsin
6076dde414 initial commit 2012-09-11 14:24:18 -04:00
Stefan Knoblich
6dc9596bec FreeSWITCH: Add WIN32 strerror_s() variant to custom switch_strerror_r() helper function and fix more strerror_r() users.
Convert mod_xml_cdr, mod_json_cdr and mod_conference to the new function.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-16 12:21:28 -05:00
Stefan Knoblich
ac730397ea FreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of strerror_r().
GNU variant of strerror_r() returns char *, while the XSI version returns int.

To make things worse, glibc ships both and added a unused result warning
in recent versions (2.16) causing the build to fail.

Add our own custom wrapper that always returns a pointer to the message buffer
and additionally make XSI versions of strerror_r() GNU compatible by
returning "Unknown error xxx" if no error message is available.

Fixes:
    src/switch_rtp.c: In function 'rtp_common_read':
    src/switch_rtp.c:3313:15: error: ignoring return value of 'strerror_r',
    declared with attribute warn_unused_result [-Werror=unused-result]
    cc1: all warnings being treated as errors

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-16 12:21:18 -05:00
Ken Rice
f2f4f4acff Bump Rev v1.2.1 2012-08-14 00:57:44 -05:00
Jeff Lenk
cdc614a48f FS-4517 --resolve 2012-08-14 00:26:29 -05:00
Jeff Lenk
ab6e36283b FS-4219 --resolve 2012-08-14 00:26:24 -05:00
William King
67746bc7d9 Fixing issue with which xml pointer used. oops. 2012-08-14 00:26:19 -05:00
Anthony Minessale
608ad58415 FS-4079 new patch, please test 2012-08-14 00:26:08 -05:00
William King
cf4f93d6de Add condition matching capability to only account for one or more subset of channel directions to radius. 2012-08-14 00:26:01 -05:00
Steve Underwood
790c4d6eaa Improvements to T.4 end of image handling, and the related tests.
A lot of tiny tidy up edits
2012-08-14 00:25:50 -05:00
Anthony Minessale
08eb4d72d5 add chatExecute method to events so you can respond from chatplan in js 2012-08-14 00:25:44 -05:00
Moises Silva
fb38a8bbb8 Fix typo on rtp.c causing compiler error (FS-4511) 2012-08-14 00:25:36 -05:00
Steve Underwood
812dacfb5c Various little tweaks
A bug in end of image handling fixed, which could mean some T.85 images would
screw up.
2012-08-14 00:25:22 -05:00
Anthony Minessale
9b2925e462 add javascript chatplan app 2012-08-14 00:25:15 -05:00
Stefan Knoblich
8a98baa696 ftmod_isdn: Avoid stack smashing buffer overflow in isdn_tones_run().
The len variable can, in certain situations (large burst of incoming non-SLIN audio),
exceed the size of the on-stack frame buffer, which causes ftdm_buffer_read_loop() to
overwrite the dt_buffer pointer.

Use ftdm_min() to make sure len (after conversion to SLIN units) isn't larger
than the frame buffer size.

Also adds are couple more code comments.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 00:25:07 -05:00
Jeff Lenk
d1db17b486 FS-4219 -- resolve windows version string. thanks Peter 2012-08-14 00:25:02 -05:00
Jeff Lenk
dbbe5ed1e0 FS-4504 --resolve 2012-08-14 00:24:56 -05:00
Anthony Minessale
f36a367b25 fix build 2012-08-14 00:24:51 -05:00
Jeff Lenk
3a478a61aa FS-4504 vs2008 pro still need express 2012-08-14 00:24:42 -05:00
Michael Jerris
261d963cc5 add apr stub to get the real OS socket 2012-08-14 00:24:31 -05:00
Christopher Rienzo
f37d669a7b Add default configuration example to mod_speex/conf/autoload_configs 2012-08-14 00:24:11 -05:00
Steve Underwood
adece695cd Fixed a misplaced #endif that only causes trouble when you hit the right
combination
2012-08-14 00:24:02 -05:00
Steve Underwood
ae321660d9 A couple of typos in spandsp
Improvements to image flattening in spandsp's image translate code
2012-08-14 00:23:56 -05:00