175 Commits

Author SHA1 Message Date
Chris Rienzo
7aa17a9987 FS-8708 [mod_rayo] fix example configuration to map to correct DETECTED_TONE event from spandsp_start_tone_detect 2016-01-05 14:18:32 -05:00
Chris Rienzo
ef8d1c7198 FS-8619 [mod_rayo] reply with conflict stanza error if bind is attempted with duplicate JID. Improve error handling when 'ready' callback fails. 2015-12-04 17:44:53 -05:00
Chris Rienzo
a711b7cd88 FS-8370 #resolve [mod_rayo] found another place in <prompt> where a message was freed after being queued for delivery. This resulted in a freed object being serialized, crashing FS. 2015-10-22 23:11:31 -04:00
Michael Jerris
c167eb7d5d FS-8190: fix build regression from original FS-8190 commit 2015-09-23 16:40:13 -05:00
Anthony Minessale
f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Chris Rienzo
77a9aa69b1 FS-8143 #resolve #comment [mod_rayo] Fix crash caused by client disconnecting from mod_rayo while a message is being delivered to that client.
This is caused by the XMPP context's JID -> XMPP stream mapping not being cleaned up on XMPP stream destruction.
2015-09-09 17:06:37 -04:00
Chris Rienzo
070f53205e FS-8110 #resolve #comment [mod_rayo] prompt IQ error reply was being deleted after being sent for delivery. This is incorrect since message delivery thread will clean up the message. 2015-09-01 13:44:23 -04:00
Chris Rienzo
1588ebda0f FS-8082 #resolve #comment [mod_rayo] do not remove items from hash while iterating 2015-09-01 12:50:58 -04:00
Chris Rienzo
ed59a6286e FS-8103 #resolve #comment [mod_rayo] handle <prompt> where <output> finishes unexpectedly before start event is received 2015-09-01 11:01:58 -04:00
Chris Rienzo
03219436d5 FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian. 2015-08-26 10:52:33 -04:00
Chris Rienzo
dff03e35cf FS-7951 #resolve #comment completely clean up mod_rayo if it fails to load 2015-08-13 08:35:18 -04:00
Chris Rienzo
3533c653c4 FS-7752 [mod_rayo] increase maximum number of <tag> elements from 30 to 1024. This allows adhearsion to create large grammars to navigate IVR menus. 2015-07-01 11:30:39 -04:00
Chris Rienzo
d04e1f03ff FS-7564 #resolve #comment [mod_rayo] Added new algorithms for offering calls to clients.
Two new params added to autoload_configs/rayo.conf.xml
     offer-algorithm
       all: offer to all clients (default and old behavior)
       first: offer to first client, fails over to next client in list
       random: offer to random client, fails over to next random client

     offer-timeout-ms
       0: disable
       > 0 and < 120000: time to wait for reply from offer.  On timeout, next client is offered call.
                         If no other clients available, call is rejected.  5000 is default.
2015-06-02 10:54:38 -04:00
Chris Rienzo
5816ddcd39 FS-7490 #resolve #comment mod_rayo, srgs to regex transform: latest PCRE doesn't like regex generated by mod_rayo. It requires the group name not to start
with a digit.
2015-04-28 14:38:38 -04:00
Chris Rienzo
cbd94aac29 FS-7300 [mod_rayo] set iq type to error when prompt component forwards input/output error back to rayo client. 2015-03-22 14:40:25 -04:00
Chris Rienzo
f2c993e5ee FS-7300 #resolve #comment [mod_rayo] handle all MRCP completion causes in SPEECH-COMPLETE event and validate / load input grammar URLs 2015-03-11 23:53:50 -04:00
Chris Rienzo
eb9379b5f0 FS-7164 [mod_rayo] support input grammar URL for MRCP only. Mixing URL and embedded grammars in same input request (but in different grammar elements) should work 2015-02-17 09:52:49 -05:00
Chris Rienzo
85fbddc655 FS-7150 #resolve #comment [mod_rayo] added param add-variables-to-events which will add channel variables to <offer>, <ringing>, <answered>, and <end> if set to true. Default is false. 2015-01-13 16:01:02 -05:00
Chris Rienzo
d5119a7a77 FS-7091 #resolve #comment [mod_rayo] Removed unnecessary mutex lock inside input component's cleanup function since the input component won't be cleaned up unless all references have been released. This fixes a deadlock when output component is created at the same time an input component completes. 2014-12-17 14:49:01 -05:00
Chris Rienzo
a3f630fc2e FS-7047 #resolve #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp output components 2014-12-10 16:57:02 -05:00
Chris Rienzo
f024ea3c2b FS-7047 #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp input components 2014-12-10 15:44:10 -05:00
Chris Rienzo
e8cf9c7d35 FS-7045 #resolve #comment [mod_rayo] guarantee that dialed call can be joined when answered event is sent. 2014-12-03 16:03:58 -05:00
Chris Rienzo
6f660c3a10 iksemel - remove support for SSLv23 in iks_proceed_tls (was a FS addition to iksemel). mod_rayo - updated to no longer support SSLv23 2014-11-17 09:46:23 -05:00
Chris Rienzo
07c5cc18ba FS-7003 #resolve #comment mod_rayo: fix infinite loop when output sent to server without SSML configured and repeat-times=0 2014-11-14 14:20:48 -05:00
Chris Rienzo
e1c0ef5008 mod_rayo: new configuration parameter, add-variables-to-offer (default=false). When true, all channel variables are included in the offer to rayo client 2014-11-14 13:22:53 -05:00
Chris Rienzo
cf1424cfe5 mod_rayo: update config to use spandsp_start_tone_detect and spandsp_stop_tone_detect 2014-11-06 14:54:55 -05:00
Chris Rienzo
bea7d8ec71 FS-5853 #resolve #comment mod_rayo now reports record completion cause 2014-10-27 13:41:52 -04:00
Chris Rienzo
a43e3496c2 FS-6921 #resolve #comment rayo APP now accepts optional comma separated list of JIDs or user names to steer incoming calls to specific rayo clients 2014-10-27 12:18:17 -04:00
Chris Rienzo
57e8231cba FS-6929 #resolve #comment fix deadlock in mod_rayo 2014-10-27 10:05:12 -04:00
Chris Rienzo
28bc992fce mod_rayo: fix error in SRGS grammar parser... <one-of><item>7</item><item>715</item></one-of> will return MATCH_END with input of 7 instead of MATCH since 715 is a potential match with further input. 2014-10-09 11:41:22 -04:00
Travis Cross
acb439ca03 Avoid leaking memory while iterating hash tables
`switch_core_hash_first` allocates an iterator on each call that is
never freed except when the hash table is empty.

By using `switch_core_hash_first_iter` we allocate only one iterator,
and that iterator is freed after the last item is processed.
2014-08-30 03:49:51 +00:00
Chris Rienzo
89b4b0c4ea mod_rayo: fix nested join to calls and conferences 2014-08-28 13:16:55 -04:00
Chris Rienzo
3df080a79f FS-6447 #close SUBSCRIBER_ABSENT also needs handling. Thanks to Ben Langfeld. 2014-07-16 13:21:19 -04:00
Travis Cross
7741f403f1 Handle SRTP_READ_ERROR in mod_rayo 2014-06-28 06:42:57 +00:00
Chris Rienzo
3c7c167581 mod_rayo: improved idle detection- call is idle only if no active components and not joined 2014-06-16 14:39:17 -04:00
Chris Rienzo
633dfe2a56 FS-6535 mod_rayo: close recognizer when input component is complete 2014-06-13 12:34:19 -04:00
Chris Rienzo
1511fe3ee8 mod_rayo: rework component inheritance- component now inherits parent call/mixer mutex and parent reference counting moved to base class 2014-06-13 12:16:26 -04:00
Chris Rienzo
730d2f88ba mod_rayo: rename reference counting functions to something more sensible 2014-06-13 11:33:33 -04:00
Chris Rienzo
9aa5102142 FS-6535 mod_rayo: compile error 2014-06-13 10:08:49 -04:00
Chris Rienzo
4c54f45f4a FS-6535 mod_rayo: allow unimrcp recognizer w/ profile specified 2014-06-13 10:05:53 -04:00
Chris Rienzo
c82ac3afbf FS-6535 mod_rayo: fix double lock on speech detection failure 2014-06-12 23:24:35 -04:00
Chris Rienzo
bb6869b7ab FS-6535 --resolve mod_rayo: allow multiple grammars (including dtmf) when using unimrcp 2014-06-12 22:56:34 -04:00
Chris Rienzo
48483452d2 mod_rayo: remove code that is no longer needed 2014-05-27 10:22:18 -04:00
Chris Rienzo
ed2351e048 mod_rayo: http_put of received fax was broken 2014-05-27 09:15:22 -04:00
Chris Rienzo
c4f38f8d0d CID: 1211940 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:11:15 -04:00
Chris Rienzo
42108871c9 CID: 1211941 mod_rayo - unlikely dereference of NULL pointer 2014-05-08 12:10:01 -04:00
Chris Rienzo
17848d26be CID: 1211943 mod_rayo - removed dead code when changing output speed 2014-05-08 12:03:28 -04:00
Chris Rienzo
a72137d4ae CID: 1211944 mod_rayo - remove set of unused pointer 2014-05-08 11:47:38 -04:00
Chris Rienzo
58fea2544b CID: 1211946 mod_rayo - dead code after switch statement 2014-05-08 11:36:05 -04:00
Chris Rienzo
873acb2975 CID: 1211947 mod_rayo - allocated array with unsigned char * element size instead of unsigned char 2014-05-08 11:33:27 -04:00