Commit Graph
48 Commits
Author SHA1 Message Date
Chris Rienzo 99e60c290a FS-9965 [mod_hiredis] release context after getting alternate connection 2017-01-23 15:37:13 -05:00
Chris Rienzo 5db04d7d0f FS-9965 [mod_hiredis] Improvements for performance, memory utilization, and resiliency.
Pipelining of requests to improve throughput
     -- new parameter max-pipelined-requests (default 20) for maximum number of requests to batch at one time

   Deletion of counter keys when zero
     -- new parameter delete-when-zero (default false) to enable.  This will cause a redis eval to execute to decrement counters instead of DECR.

   Detection of negative limit counters
     -- Self healing of negative counters (due to key eviction, etc)
2017-01-23 14:39:05 -05:00
Chris Rienzo 9c8d9cf120 FS-9959 [mod_spandsp] Add two new channel variables
fax_t38_tx_reinvite_packet_count - overrides t38-tx-reinvite-packet-count param in spandsp.conf
   fax_t38_rx_reinvite_packet_count - overrides t38-rx-reinvite-packet-count param in spandsp.conf
2017-01-19 14:50:51 -05:00
Chris Rienzo 8ab65c8c34 FS-9827 [mod_hiredis] handle NIL reply 2016-12-07 14:53:29 -05:00
Chris Rienzo 74ecc8882f FS-9826 reset jitter buffer if SSRC changes regardless of jitter buffer paused state 2016-12-07 13:44:31 -05:00
Chris Rienzo b23f4bbafe FS-5978 [mod_rayo] attempt to fix direct media join 2016-11-16 15:11:26 -05:00
Chris Rienzo 4a76900edf FS-9737 [mod_hiredis] fix limit_usage when using hiredis backend 2016-11-15 11:04:46 -05:00
Chris Rienzo ff6ab87f14 FS-9713 [mod_hiredis] handle spurious wakeup while waiting for connection 2016-11-08 13:36:39 -05:00
Chris Rienzo 3ff491274d FS-9698 fire custom sofia::bye_response event when response to BYE is received and fire-bye-response-events profile param is true 2016-11-04 12:00:39 -04:00
Chris Rienzo 11452979f6 FS-9696 keep pickup endpoint up if another endpoint in dialstring hangs up and leg_timeout is set on the pickup endpoint 2016-11-03 16:39:43 -04:00
Chris Rienzo dd17a57c8a FS-9694 [mod_dptools] Add origination_uuid support to pickup endpoint 2016-11-03 16:35:03 -04:00
Chris Rienzo 7e8b8b428c FS-9645 [mod_hiredis] add support for AUTH when profile password is set
add new configuration 'ignore-error' which will not fail limit if an error like auth failure occurs
2016-10-18 15:30:33 -04:00
Chris Rienzo 120e326760 FS-9644 [mod_commands][core]
update hupall API to support multiple variables
       hupall [cause] [[var1] [val1]] [[var2] [val2]] ...

    added switch_core_session_hupall_matching_vars_ans() which will hang up all channels that match each variable(s) value
2016-10-18 15:08:07 -04:00
Chris Rienzo 4620f1070c FS-9472 [core] Add originate_retry_timeout and originate_retry_min_period_ms
originate_retry_timeout : maximum duration in seconds to allow retry attempts to occur.
        On expiration, this will not stop an in progress attempt, it will only prevent a
        retry attempt from starting. This value works together with originate_retries.

  originate_retry_min_period_ms : minimum spacing between retry attempts.  This prevents
        retries from flooding an enpoint when it rejects quickly.
2016-09-01 10:59:06 -04:00
Chris Rienzo f0a36960c7 FS-9315 [mod_http_cache] add support for video file formats 2016-07-01 13:09:51 -04:00
Chris Rienzo 4f2c4124d1 FS-9302 [mod_mongo] mongo_find_one and mongo_find_n corrected to return -ERR when connection to database fails. 2016-06-27 17:23:40 -04:00
Chris Rienzo 841e2025a8 FS-9287 Add channel variable to make spandsp_start_tone_detect easier to use from dialplan / embedded scripts.
The following variables are added:

execute_on_spandsp_tone_detect_<TONE NAME> : executes APP when tone is detected.  For example, if you have a tone
    named "SIT" defined in spandsp.conf.xml, the variable would be "execute_on_spandsp_tone_detect_SIT"

api_on_spandsp_tone_detect_<TONE NAME> : similar to execute_on except that it executes an API.

spandsp_tone_detect_stop_on_tone : default is false.  If true, detector will stop once the first matching tone is detected.
2016-06-21 09:48:55 -04:00
Chris Rienzo 49f1d31290 FS-9058 [mod_hiredis] fix rate counters so the keys expire after interval completes. Do not auto decrement rate counters. Do not log null responses. 2016-04-12 15:23:49 -04:00
Chris Rienzo 7a369b57f1 FS-9059 [mod_hiredis] add session logging 2016-04-12 11:18:11 -04:00
Chris Rienzo f69fef88b7 FS-9058 [mod_hiredis] allow auto decrement of non-interval limits on channel hangup. 2016-04-12 10:39:09 -04:00
Chris Rienzo a0f347fca9 FS-9054 [mod_hiredis] add ignore-connect-fail profile param so that calls do not get killed if limit fails due to lost connection 2016-04-12 09:44:17 -04:00
Chris Rienzo a7465e6cbf FS-9052 [mod_hiredis] add connection pooling, improve dropped connection resiliency, and allow 0.10.0 of hiredis for CentOS 6. 2016-04-11 11:54:46 -04:00
Chris Rienzo 86965a363d FS-9004 [mod_http_cache] set http get timeout on thread that is actively downloading with the value from the download-timeout configuration. 2016-04-01 11:08:00 -04:00
Chris Rienzo ff0cec80f1 FS-9004 [mod_http_cache] added download-timeout param to prevent http_get from waiting unbounded time for downloading to finish. Prevented prefetch threads from blocking if another thread is already downloading the same URL. 2016-04-01 10:38:16 -04:00
Chris Rienzo 94c11e41d2 FS-8806 Change group_confirm_cancel_timeout to apply only to the legs that answer the call. 2016-02-17 11:19:04 -05:00
Chris Rienzo 0bdf4b83da FS-8838 [mod_rayo] Do a better job of detecting when output component completed because of hangup and preventing operations on output component when call has ended. 2016-02-16 17:46:01 -05:00
Chris Rienzo 1289aa5060 FS-8838 [mod_rayo] fix syntax error in previous commit 2016-02-16 15:47:54 -05:00
Chris Rienzo 7e38ce9899 FS-8838 [mod_rayo] improve logging and error handling when executing API on output component. Attempt to make output component stop a little more robust. 2016-02-16 13:54:14 -05:00
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 749cf1cdf3 FS-8676 [mod_unimrcp] fix crash when an invalid voice-gender TTS param is attempted to be set 2015-12-22 16:04:04 -05:00
Chris Rienzo 475df32a4b FS-8662 [mod_http_cache] don't block http_tryget while another thread is fetching the URL 2015-12-15 14:43:06 -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 9e0f30c58b FS-8560 [mod_http_cache] add new parameter, connect-timeout
This is the maximum time to wait, in seconds, for the HTTP GET or PUT to connect.
If this value is not set or is set to 0, the default setting of 300 seconds is used.
2015-11-19 17:10:15 -05:00
Chris Rienzo df6a5315c1 FS-8549 [mod_http_cache] add support for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables in S3 profiles 2015-11-17 12:00:15 -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
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 6a0bfbf61a FS-7912 add session UUID to embedded language (lua, javascript, etc) logs when session sanity check fails 2015-07-29 15:11:47 -04:00
Chris Rienzo a0b53d06f5 FS-7912 add session UUID to lua error logs, if known. 2015-07-29 14:43:34 -04:00
Chris Rienzo 05cc8bb37d FS-7780 add new channel variable max_session_transfers. If set, this variable is used to count
the number of session transfers allowed instead of the max_forwards variable.  If not set, the existing
behavior is preserved.
2015-07-06 15:26:56 -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 06f7040e21 FS-7720 improve play_and_detect_speech to set current_application_response channel variable as follows:
"USAGE ERROR": bad application arguments
    "GRAMMAR ERROR": speech recognizer failed to load grammar
    "ASR INIT ERROR": speech recognizer failed to allocate a session
    "ERROR": any other errors

  This is useful for determining that play_and_detect_speech failed because the recognizer is out of licenses
  giving the developer a chance to fall back to traditional DTMF menu navigation.
2015-06-24 11:50:53 -04:00
Christopher Rienzo 3a8c6c3803 FS-7553 reduce opencv library requirement to 2.4.5 to allow centos 7 2015-05-28 12:47:33 -05:00
Christopher Rienzo e83fc1a583 FS-7553 reduce soundtouch library requirement to version 1.7.1- this was the version bundled with freeswitch 2015-05-28 12:47:33 -05:00