Commit Graph

11263 Commits

Author SHA1 Message Date
Chris Rienzo 56e5a9ce8e FS-6407 --resolve mod_rayo: support SIP URI caller ID w/ display name 2014-04-15 14:28:11 -04:00
Raymond Chandler 33c484ad9f add parsing of user params on invite 2014-04-15 13:00:11 -04:00
Anthony Minessale a18ae09c61 stable branch version of spandsp changes in 4178688b4a 2014-04-15 01:57:28 +05:00
Nathan Neulinger 564f7b88f5 FS-6460 --resolve fix leaked RTP ports that cause mod_skinny to fail after N calls 2014-04-14 13:22:24 -05:00
Chris Rienzo 00500421c4 FS-6447 --resolve return subscriber-absent platform-code 20 if <dial> is attempted to user that is not registered 2014-04-14 09:48:03 -04:00
Anthony Minessale c748b0d97f remove SSML from mod_rss 2014-04-11 03:34:13 +05:00
Chris Rienzo 66c268a5ab mod_rayo: fixed input crash introduced in 2014-04-07 commit 2014-04-10 10:22:01 -04:00
Travis Cross 622a5d7ef2 Avoid playback on dead channels in voicemail
For years we've been generating spurious messages like:

  [WARNING] switch_ivr_play_say.c:348 Macro [voicemail_ack]: 'saved' did not match any patterns

This would happen when the caller hangs up during the playback of
certain prompts in the voicemail system where we weren't checking the
return value of vm_macro_get().  Looking closely at the log, it's
clear we were calling down into switch_ivr_phrase_macro() long after
the channel was gone.

The message above is also misleading -- switch_ivr_phrase_macro()
would have been able to find that pattern just fine, but it never
actually looked because the channel was gone.  We'll clean up that
message in a follow on commit.
2014-04-09 05:30:26 +00:00
Chris Rienzo 9f9262486a mod_rayo: fix memory corruption in dial, input, output 2014-04-07 12:37:24 -04:00
Anthony Minessale 84123800ef send muted members as recvonly on RFC4575 data 2014-04-07 20:51:51 +05:00
Brian West fb61a66770 swig 2014-04-05 13:42:59 -05:00
Brian West 1936bdd410 FS-6422: --resolve obvious copy and paste error 2014-04-03 07:21:59 -05:00
Anthony Minessale 51e2d9bf84 FS-6421 --resolve 2014-04-02 16:43:54 -05:00
Anthony Minessale ffe0cf67ff FS-6413 stable-version 2014-04-01 01:24:16 +05:00
Raymond Chandler cbcd1fec96 FS-5845 more leaks found by mikej 2014-03-25 22:45:42 -04:00
Seven Du b96946822d add missing break, please review 2014-03-19 08:21:32 +08:00
Chris Rienzo 15e181780d FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool 2014-03-18 15:21:45 -04:00
Chris Rienzo 468dc29ae0 mod_rayo: some bugfixes to pause-when-offline 2014-03-14 17:23:27 -04:00
Chris Rienzo 818bf3c6e3 mod_rayo: add new config pause-when-offline - will pause inbound calling if there are no online clients to handle calls. This is useful if you want FS to respond 503 to options ping when there are no online rayo clients. Default behavior is to disable this param. 2014-03-14 15:50:21 -04:00
Chris Rienzo 5269931bfd mod_rayo: fix regression in ACL 2014-03-14 14:33:53 -04:00
Chris Rienzo b1dbf0f5bb mod_rayo: add remote IP and port to xmpp stream logging 2014-03-14 14:24:53 -04:00
Anthony Minessale 2d35604369 FS-6350 --resolve Parse params out of user portion of caller_id and save them to sip_name_params
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2014-03-14 13:19:11 -05:00
Anthony Minessale 90da4deb1e do not retry so fast on failed outbound subs 2014-03-14 12:56:01 -05:00
Chris Rienzo b52529acce FS-6345 --resolve mod_unimrcp: don't start input timers if start of speech was detected 2014-03-12 23:15:19 -04:00
Chris Rienzo a1a457a7d6 FS-6281 mod_rayo: don't add timestamp to presence event that already has one. 2014-03-12 21:54:08 -04:00
Chris Rienzo 9495f2534d FS-6281 --resolve mod_rayo timestamp presence events 2014-03-10 20:10:49 -04:00
Chris Rienzo 64d2f8b765 mod_rayo: improve error messages when joining to b-leg that is missing 2014-03-10 17:15:31 -04:00
Simon Wunderlich 3fe85c7870 mod_skinny: make 7925g work
Cisco 7925G seem to work only with the correct conference_id2 and
rtptimeout set, so add protocol 11 definition fields and set
conference_id2 correctly.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:25:36 -05:00
Simon Wunderlich 624f034fac mod_skinny: remove unknown field from access_status
Cisco 7925g send access status message with just 8 byte of payload data.
Since we don't interpret the unknown 3rd field anyway, remove it. This
will prevent the first register to fail.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:25:06 -05:00
Simon Wunderlich 1607d16251 mod_skinny: wait up to 5 seconds for OpenRecvChannelAck
WiFi phones like the 7925g may take longer than just one second to
acknowledge the open receive message. Increase the timeout to 5 seconds.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:25:02 -05:00
Chris Rienzo e3ce737ff9 FS-6334 --resolve mod_rayo: deadlock when creating input voice component 2014-03-10 15:53:56 -04:00
Anthony Minessale 3584902ae1 PLIV-5 --resolve httpapi cache not working for some urls 2014-03-10 12:20:44 -05:00
Chris Rienzo 455941d369 FS-6282 mod_rayo: fix memory leak in previous commit 2014-03-09 11:41:01 -04:00
Chris Rienzo 2ad7aa23bc FS-6282 mod_rayo: allow outbound call JID to be assigned by client 2014-03-09 11:41:01 -04:00
Anthony Minessale c4a5042c92 don't refuse invites on established sessions due to session limits
Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
2014-03-07 23:48:29 +05:00
Chris Rienzo 0ca287890a FS-6304 mod_rayo- fix race condition on outbound calls 2014-03-05 08:52:26 -05:00
Travis Cross b6a10585bb Avoid repeating ourselves in generating silence
We were handling the "send silence but not comfort noise" case in both
silence_stream_file_read and switch_generate_sln_silence.  This
changes the former to rely on the latter.
2014-03-04 02:09:28 +00:00
Chris Rienzo 3072573c84 FS-6296 --resolve mod_rayo: fixed crash on <prompt> bad request 2014-03-03 19:01:47 -05:00
Anthony Minessale de758448e4 add timeout <seconds> to mod_curl api call 2014-03-03 22:58:56 +05:00
Travis Cross 30d1684d69 Make OS X's lame UNIX happy with mod_mongo Makefile
Apparently OS X ships a sed that requires an argument to -i.
2014-03-03 15:41:33 +00:00
Travis Cross 09079098d1 Output newline after json output in mod_json_cdr
In UNIX, text files by definition end with a newline.
2014-03-03 01:27:31 +00:00
Travis Cross 3bd9c60f8e Handle too-short write(3)s in mod_json_cdr
write(3) can write fewer bytes than was requested for any number of
reasons.  The correct behavior is to retry unless there is an error.

If there is an error, try to unlink the file; no sense in leaving
corrupted data laying around.
2014-03-03 01:27:30 +00:00
Travis Cross c31aa5d38f Log channel UUID by default
We want people to have this on so that when we're looking at reported
log files we can tell what is going on.
2014-03-02 10:29:29 +00:00
Travis Cross e51cca5991 Document purpose of sofia profile aliasing 2014-03-02 10:26:16 +00:00
Raymond Chandler 3ad8d246b0 use newSQL 2014-03-02 03:11:12 -05:00
Anthony Minessale 6b49d591a9 add sip_force_nat_mode so you can engange nat mode manually 2014-03-01 04:43:18 +05:00
Anthony Minessale 5ba089e11f FS-5461 --resolve you tricked me I said make 1 patch with all of it
Conflicts:
	src/mod/applications/mod_conference/mod_conference.c
2014-03-01 00:28:40 +05:00
Anthony Minessale e7bb220c6b FS-4441 FS-5461 --resolve
Conflicts:
	src/mod/applications/mod_conference/mod_conference.c
2014-03-01 00:26:09 +05:00
Anthony Minessale 35d7dbe809 add sip_refer_to_params 2014-03-01 00:13:49 +05:00
Anthony Minessale a22deb92d1 FS-6287 this should either prevent the problem or spell out what is causing it. please test 2014-02-28 23:23:49 +05:00