Commit Graph

23423 Commits

Author SHA1 Message Date
Steve Underwood e30406cea6 Improvements to image translation 2012-08-14 22:32:30 +08:00
Stefan Knoblich eca5c0ad73 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-14 14:54:06 +02:00
Stefan Knoblich 8bcf3b4fb8 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-14 14:11:44 +02:00
Jeff Lenk 3d9d42b798 FS-4517 --resolve 2012-08-13 21:31:46 -05:00
Jeff Lenk a293512f60 FS-4219 --resolve 2012-08-13 21:30:10 -05:00
Kapil Gupta cc45f89dab mid code changes as per modified xml 2012-08-13 19:32:24 -04:00
William King 26cefbdb87 Fixing issue with which xml pointer used. oops. 2012-08-13 14:45:47 -07:00
Anthony Minessale a073221a6a building stub module 2012-08-13 15:50:52 -05:00
Anthony Minessale fa5113557b stub for mod_html5 2012-08-13 15:20:41 -05:00
Anthony Minessale 61ab0b8878 libwebsocket inline configure 2012-08-13 14:29:04 -05:00
kapil 35126a3593 fixing T38 issue 2012-08-13 15:29:01 -04:00
Anthony Minessale a05e414c41 fix libwebsocket build 2012-08-13 14:15:06 -05:00
Anthony Minessale 4ef9b3fe56 FS-4079 new patch, please test 2012-08-13 13:48:06 -05:00
Mathieu Rene 1bd4655a41 don't honor park_after_bridge or transfer_after_bridge if CF_REDIRECT or CF_TRANSFER is set 2012-08-13 13:39:29 -04:00
kapil 9fcaa9e84c Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-08-13 10:48:29 -04:00
kapil a8c545d376 removing sdp port check, filling local sdp port always 2012-08-13 10:44:28 -04:00
William King aad07c6243 Add condition matching capability to only account for one or more subset of channel directions to radius. 2012-08-12 21:13:10 -07:00
Steve Underwood 51691d4c9a Merge branch 'master' of git.freeswitch.org:freeswitch 2012-08-12 22:12:06 +08:00
Steve Underwood 5f12c3dc1c Improvements to T.4 end of image handling, and the related tests.
A lot of tiny tidy up edits
2012-08-12 22:11:06 +08:00
Anthony Minessale 527ad97001 add chatExecute method to events so you can respond from chatplan in js 2012-08-11 18:34:49 -05:00
Moises Silva 6732eae971 Fix typo on rtp.c causing compiler error (FS-4511) 2012-08-11 16:19:11 -04:00
Steve Underwood e69a5a3037 Various little tweaks
A bug in end of image handling fixed, which could mean some T.85 images would
screw up.
2012-08-11 18:32:00 +08:00
Anthony Minessale 618392299b add javascript chatplan app 2012-08-10 20:12:26 -05:00
Mathieu Rene 7cbdc67b0c wait for it... 2012-08-10 13:40:27 -04:00
kapil 40ea22d882 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-08-10 12:25:05 -04:00
kapil 53543aa72d matt code changes 2012-08-10 12:24:33 -04:00
Kapil Gupta bb0187ba94 fixing issue 2012-08-10 12:23:03 -04:00
Stefan Knoblich 2ad2b6d31b 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-10 17:16:05 +02:00
Stefan Knoblich 036063d2a9 mod_freetdm: Fix typo.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-10 17:16:05 +02:00
Kapil Gupta c347689465 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-08-10 11:11:56 -04:00
Kapil Gupta 15a0b911bb removing t38 hardcoded code 2012-08-10 11:11:21 -04:00
Jeff Lenk 659c06d356 FS-4219 -- resolve windows version string. thanks Peter 2012-08-10 07:47:10 -05:00
Mathieu Rene 540c2a91da t38 2012-08-10 07:22:07 -04:00
Mathieu Rene 2dd7ab104d Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3 2012-08-10 07:08:57 -04:00
Mathieu Rene 116a09e854 add some t38 vars 2012-08-10 07:08:47 -04:00
Kapil Gupta 2df26cf79d hardcoding t38 sdp fields... 2012-08-10 06:46:01 -04:00
Kapil Gupta f6e5cae7c5 fixing modify resp issue 2012-08-10 05:37:39 -04:00
Kapil Gupta d46b6cd48b Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-08-10 04:41:47 -04:00
Kapil Gupta ad1784f876 adding cli command to show status of all termination in single command 2012-08-10 04:41:14 -04:00
Jeff Lenk 72f1d392fb FS-4504 --resolve 2012-08-09 21:39:28 -06:00
Mathieu Rene 24e363d6f5 quickfix 2012-08-09 18:00:15 -04:00
Anthony Minessale 75abcd2099 fix build 2012-08-09 16:27:15 -05:00
Mathieu Rene 9c9330d7e2 Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3 2012-08-09 17:10:39 -04:00
Mathieu Rene 8aa901c422 add spandsp cng-tone detect 2012-08-09 17:10:27 -04:00
Kapil Gupta 8aee9d87b7 t38 fax code 2012-08-09 14:52:23 -04:00
Jeff Lenk 6e8736bb06 FS-4504 vs2008 pro still need express 2012-08-09 13:42:21 -05:00
Kapil Gupta 17755cbd57 adding t38 option code 2012-08-09 14:22:30 -04:00
Michael Jerris f044f46250 add apr stub to get the real OS socket 2012-08-09 11:56:29 -05:00
Christopher Rienzo f254f2a5fe Add default configuration example to mod_speex/conf/autoload_configs 2012-08-09 15:57:51 +00:00
Mathieu Rene 83e0d9c3bd should be a ptr 2012-08-09 11:18:13 -04:00