24845 Commits

Author SHA1 Message Date
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 ec6754262863475136c6a53b012eb7b0bb62d7ba 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 v1.5.2 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
Chris Rienzo
c15c0924d1 mod_rayo: added message delivery threads 2013-06-24 22:19:53 -04:00
Chris Rienzo
0f0f278124 mod_rayo: reworked internal messaging- all messages sent by JID only 2013-06-24 22:19:53 -04:00
Chris Rienzo
911948c87a mod_rayo: remove reply from send function - everything is send only now 2013-06-24 22:19:53 -04:00
Anthony Minessale
1ed5e3e331 FS-5530 --resolve this will make it identical to the bridge behaviour even when the bridge in early media begins and now you will explicitly need continue_on_fail=true in this situation to not fail 2013-06-24 09:45:43 -05:00
Anthony Minessale
6b58aea501 FS-5539 --resolve 2013-06-24 09:15:01 -05:00
Anthony Minessale
da0c0c0e4a revert 02c329da33ce10aea160f070d710fef406de3009 and put proper fix 2013-06-24 08:31:06 -05:00
Nathan Neulinger
94d4501992 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2013-06-23 21:48:08 -05:00
Nathan Neulinger
f59690c02f skinny more logging improvements and some refactoring of protocol replies 2013-06-23 21:47:58 -05:00
Moises Silva
e5f2282fe1 OPENZAP-215 --resolve
The state FTDM_CHANNEL_STATE_RINGING is not used when there is media available. We have
FTDM_CHANNEL_PROGRESS_MEDIA for that, therefore the pri_acknowledge() call should not set
the info argument to avoid sending an indication of media to the other end, as that may cause
the other end to not generate any ringing tone and at that moment we will not be generating
any ringing tone either and the caller will hear only silence
2013-06-23 21:52:31 -04:00