23085 Commits

Author SHA1 Message Date
Brian West
90ce980c61 STFU already 2012-08-14 21:10:43 -05:00
Anthony Minessale
0d05762085 FS-4079 revert 4ef9b3fe5622e417e8cd2916491e0058492a3bb7 2012-08-14 17:06:02 -05:00
kapil
29ec19e294 fix warning 2012-08-14 17:27:16 -04:00
Mathieu Rene
f86ac6bcbc s/rtp/tdm/g 2012-08-14 16:25:38 -04:00
Mathieu Rene
a5c8a3fb23 Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3 2012-08-14 16:22:40 -04:00
Mathieu Rene
bd84a23f51 set tdm pre buffer len to 200ms by default, and set it to 0 before fax calls 2012-08-14 16:22:31 -04:00
Kapil Gupta
146183928f Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-08-14 15:54:31 -04:00
Kapil Gupta
888393fc73 adding API to send FAX state change notification 2012-08-14 15:53:51 -04:00
kapil
76edb0b94e add ced detection 2012-08-14 15:41:05 -04:00
Kapil Gupta
94f0196a9e adding code for FAX connection change and ANSAM notify message 2012-08-14 13:27:39 -04:00
Anthony Minessale
ed09914642 add email function to js 2012-08-14 11:10:26 -05:00
Steve Underwood
0b763a6286 Merge branch 'master' of git.freeswitch.org:freeswitch 2012-08-14 22:33:17 +08:00
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