Commit Graph

24754 Commits

Author SHA1 Message Date
Travis Cross 02046950be Fix uninitialized use of length variable
Bad things must have been happening when this was hit.

This was introduced in commit 5cb4cd9d9c
2013-07-03 16:05:07 +00:00
Giovanni Maruzzelli 4a3d1a074f FS-5148 gsmopen: wait for the first audio write() before giving the AT command that moves the audio path to the audio tty (eg: don't accumulate noise by not sending frames on the open tty) 2013-07-03 13:56:02 +02:00
Giovanni Maruzzelli 172df304cc gsmopen: on Linux, automatically find out and setup audio and data ports associated to dongle model, IMEI and IMSI 2013-07-03 10:02:09 +02:00
Travis Cross 87360a384d Tweak such that control-modules.gen matches 2013-07-03 04:26:37 +00:00
Travis Cross dfd647de22 Add mod_ssml to Debian packaging 2013-07-03 04:26:31 +00:00
Travis Cross 40b08d7f89 Add mod_rayo to debian packaging 2013-07-03 04:26:24 +00:00
Steve Underwood 20531a097a Added a "nation" parameter to v18_init(), in preparation for automoding. 2013-07-03 02:39:09 +08:00
Jeff Lenk ba96b391d3 fix trivial compiler error 2013-07-02 12:41:15 -05:00
Anthony Minessale 134871872c fix codec negotiation issue with the same codec at multiple rates 2013-07-02 12:16:54 -05:00
Anthony Minessale d2a2e4ce15 FS-5568 --resolve the real problem is that L=-1 is not valid because the L param is about how many times to generate the output while generating the tone so -1 is impossible because it can never end to let you hear it. The real fix is to not allow -1 loops=-1 is the correct way to do this because that is parsed after the tone is generated and repeats the entire thing. Doing something like L=100 actually generates the whole slinear audio 100 times into memore where loops=100 only generates the little snippet and repeats it after it was generated. 2013-07-02 08:44:47 -05:00
Nathan Neulinger a0043b8ca2 partial rollback of ec67542628 to fix skinny breakage 2013-07-01 22:19:40 -05:00
Ken Rice c2c8fba14a --resolve FS-5566
When you use $12345 in regex substitutions, it isn't obvious
whenever you mean $1-concatenated-2345 or $12-concatenated-345
or any other variation.  In all other languages, in order to
solve this ambiguity, a braces {} are allowed to be used to
separate variable name (or a reference) from surrounding text,
like ${1}2345 or ${12}345.  Use the same for freeswitch too.

While at it, fix a buffer overflow as well: the index[] variable
which is used to copy the "variable" name is 10 chars long, but
it is used in the code without bounds checking, so a reference
which is >9 chars long ($1234567890) will overflow the buffer,
crashing freeswitch.

And another overflow is in the way how size of the "substituted"
variable is handled.  First, in the outer loop, we compare the
wrong variable with the size of `substituted' buffer (amount of
bytes we took from the source instead of amount of bytes we
used in `substituted').  And second, when actual regex match
is being substitured, amount of room in `substituted' variable
is not checked at all.

Patch contributed by Michael Tokarev <mjt@tls.msk.ru>
2013-07-01 17:05:07 -05:00
Anthony Minessale 8bcff4ca4d fix input event checker pre-empting return value from dtmf checker when both are present 2013-07-01 14:31:43 -05:00
Anthony Minessale e1ed386bb9 FS-5565 --resolve 2013-07-01 12:16:47 -05:00
Ken Rice 58e368034d ooops 2013-06-28 15:08:44 -05:00
Ken Rice 16133053c1 vp8 rpm and minor tweaks 2013-06-28 14:38:45 -05:00
Anthony Minessale bbdd77ec35 fix race condition on device state destroy 2013-06-28 14:21:04 -05:00
Jeff Lenk a52a604fbb FS-5527 fix compiler error windows 2013-06-28 11:05:27 -05:00
Anthony Minessale dac93d7936 FS-5527 --resolve 2013-06-28 10:42:06 -05:00
Chris Rienzo 72aad68965 mod_rayo: dtmf #*A-D was broken 2013-06-28 11:16:06 -04:00
Brian West a8e0cbfcde punt without return 2013-06-28 09:48:49 -05:00
Anthony Minessale 2ea31f5d95 add preAnswer and ringReady too 2013-06-27 16:31:29 -05:00
Anthony Minessale 41c1c1cb75 add answer work tag to httapi 2013-06-27 16:25:59 -05:00
Anthony Minessale b2e06346d4 some more ws transport tweaks 2013-06-27 14:04:13 -05:00
Anthony Minessale cd56d774a0 parse error response for code to only change roles on 487 2013-06-27 13:00:20 -05:00
Anthony Minessale a26ab6e3e0 fix ssl connect race 2013-06-26 23:10:19 -04:00
Nathan Neulinger 5fefae03fd improve skinny behavior in HA deployment 2013-06-26 21:56:10 -05:00
Nathan Neulinger 375c102ae0 typo 2013-06-26 21:55:38 -05:00
Anthony Minessale 3879a85bfb set rtp params in skinny for rtp flush on bridge 2013-06-26 18:35:06 -05:00
Anthony Minessale 7eb86bba75 fix empty +flags{} pre-empting conference_member_flags variable 2013-06-26 16:04:38 -05:00
Brian West 384cf3381c use the correct repeat key to replay messages 2013-06-26 15:17:56 -05:00
Anthony Minessale c903934628 FS-5550 --resolve 2013-06-26 10:51:44 -05:00
Anthony Minessale bf5fa172e5 FS-5547 --resolve 2013-06-26 10:47:40 -05:00
Anthony Minessale 13dacdcde4 FS-5546 --resolve oddly that is the thing I was trying to fix in the first place 2013-06-26 09:17:15 -05:00
Anthony Minessale afc18668f3 tweak sip ws code to avoid double free 2013-06-26 12:43:54 -04:00
Anthony Minessale a6f5efaedf bump 2013-06-25 15:51:12 -05:00
Anthony Minessale da97fa8dd9 bump 2013-06-25 15:50:06 -05:00
Anthony Minessale ecc4b52d4a fix typo with some flags related to jingle 2013-06-25 14:54:34 -05:00
Chris Rienzo 628b4048d9 mod_rayo: added missing modeline 2013-06-25 15:15:08 -04:00
Anthony Minessale 20f3b7d1b7 update 2013-06-25 09:28:55 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Chris Rienzo 13fdd77f7e mod_rayo: used wrong stack 2013-06-25 11:40:38 -04:00
Chris Rienzo f750bcbcc1 mod_rayo: fixes for <prompt> and reply loops 2013-06-25 11:30:10 -04:00
Chris Rienzo 7625001e49 mod_rayo: fix component JID 2013-06-25 08:08:56 -04:00
Chris Rienzo 899f68759a mod_rayo: fix cleanup of console complete functions 2013-06-25 07:54:59 -04:00
Chris Rienzo ad5ea44aeb mod_rayo: don't send item-not-found to replies 2013-06-25 07:42:34 -04:00
Chris Rienzo cac8536170 mod_http_cache: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo a29bab368d mod_ssml: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo 8bf40819df mod_rayo: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo e52f131460 mod_rayo: forgot to return error if unknown destination for stanza 2013-06-24 22:19:53 -04:00