5029 Commits

Author SHA1 Message Date
Mike Jerris
4dacece6a3 FS-9592: [mod_httapi] make sure to reset one time params when starting over in httapi app 2016-11-11 10:55:24 -05:00
Anthony Minessale
3c0d537107 FS-9638 2016-11-10 18:09:44 -06:00
Anthony Minessale
c701ce6173 FS-9708 #resolve [RTP timing when doing repacketization] 2016-11-10 17:34:48 -06:00
Anthony Minessale
9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Mike Jerris
b7f45a7727 FS-9714: [mod_conference] fix crash due to race on closing file handles when playing a file to a conference via api command as a conference is shutting down 2016-11-09 16:26:41 -06:00
Christopher Rienzo
ac0549e29b Merge pull request #1047 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9713 to master
* commit 'ff6ab87f143f96e3c5e23434016620f898663856':
  FS-9713 [mod_hiredis] handle spurious wakeup while waiting for connection
2016-11-09 12:31:29 -06:00
Anthony Minessale
17fbd965b9 FS-9715 don't need this part 2016-11-09 12:24:06 -06:00
Anthony Minessale
1cb8adecb7 FS-9715 #resolve [Add support for m4a] 2016-11-08 13:45:53 -06:00
Chris Rienzo
ff6ab87f14 FS-9713 [mod_hiredis] handle spurious wakeup while waiting for connection 2016-11-08 13:36:39 -05:00
Andy Newlands
b5266ed6b4 FS-9325 [mod_dptools] Priority flag for faster bind_digit_action matches
Add exec: flag, 'P' (for "Priority") to bind_digit_action so that a
match is returned as soon as it is found, without waiting for the
inter-digit timeout to expire.

This can be very useful where the system needs to be more responsive
to the user.

By default, if multiple bindings are enabled and one or more use a
regex, switch_ivr_dmachine_check_match waits for the inter-digit
timeout to expire before returning a match.  This ensures overlapping
patterns, such as "^\d{4}$" and "^\12{3}$" can both be reliably matched

When the 'P' flag is specified with bind_digit_action, whose action is
exec, a match is returned as soon as the condition is satisfied,
regardless of whether or not a longer match may be possible if further
digits were entered.

For example:

	<action application="bind_digit_action" data="test,~^*\d{2}$,
		exec[P]:execute_extension,myextn,self,self"/>

	<action application="bind_digit_action" data="test,~^#\d{2}$",
		exec:execute_extension,myotherextn,self,peer"/>

	The first example causes a match to be returned immediately
	after the 2nd digit is received, whereas the second example
	defaults to waiting for the inter-digit timeout to expire
	before returning.

In cases where the 'P' flag is used with a regex and string, and both
are matched, the more explicit, string match will be returned.

For example:

	<action application="bind_digit_action" data="test,~^*\d{2}$,
		exec[P]:execute_extension,myextn,self,self"/>

	<action application="bind_digit_action" data="test,*12,
		exec[P]:execute_extension,myotherextn,self,self"/>

	If "*12" is matched, myotherextn is executed, because "*12" is
	more explicit/specific than "^*\d{2}$"

If the 'P'(riority) flag is not used, behaviour is unchanged from
previous versions.  This ensures backward compatibility.

FS-9325 #resolve
2016-11-08 13:47:37 +00:00
Andy Newlands
8d8543d0c8 FS-9323 [mod_dptools] raise bind_digit_action event on correct leg
Ensure digit_action_callback raises the match event on leg specified
in bind_digit_action.

Specifying the event leg as "peer" or "self" now executes on the
correct call leg.

FS-9323 #resolve
2016-11-08 13:22:13 +00:00
Andy Newlands
6e8508f2a0 FS-9319 [mod_dptools] Support "both" in clear_digit_action
Add support for "both" as target parameter to clear_digit_action.
CDA previously only supported target values of:

	"", "self" or "peer"

CDA Behaviour now corresponds with documentation.

For example, the follow will work as expected:

	<action application="clear_digit_action" data="all,both"/>

FS-9319 #resolve
2016-11-08 12:49:06 +00:00
Italo Rossi
d998325bca FS-9707 - [mod_callcenter] Fixing external_calls_count order in select for top-down and ring-all strategies, removing unneeded log on presence 2016-11-07 17:41:23 -03:00
Anthony Minessale
ce01590486 FS-9706 #resolve [Add loops param to file playback in conference] 2016-11-07 12:17:56 -06:00
Anthony Minessale
8a80741507 FS-9704 #resolve [Seeking video files with mod_av after it reaches the end does not work] 2016-11-07 12:14:25 -06:00
Seven Du
732b6e75fe FS-9700 #resolve 2016-11-05 20:43:27 +08:00
Chris Rienzo
dd17a57c8a FS-9694 [mod_dptools] Add origination_uuid support to pickup endpoint 2016-11-03 16:35:03 -04:00
Brian West
20b5bd675d FS-9629: add isfocus to replies, and add is_conference support to pre_answer 2016-10-31 10:45:29 -05:00
Seven Du
15f33e532b FS-9151 FS-9631 #resolve 2016-10-24 08:10:36 +08:00
Mike Jerris
43e19a5192 Merge pull request #1012 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9644-hupall-to-allow-multiple-vars to master
* commit '120e326760f6f89900474d48cf2d6f34ceaef14f':
  FS-9644 [mod_commands][core]     update hupall API to support multiple variables        hupall [cause] [[var1] [val1]] [[var2] [val2]] ...
2016-10-19 16:09:10 -05:00
Anthony Minessale
6d721a7e37 FS-9648 #resolve [Conference avatar image gets stuck enabled when it uses the same image as video mute] 2016-10-19 15:35:43 -05: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
Piotr Gregor
3734043aaa FS-9627 [avmd]: #fix dynamic initialization of session
Now dynamic initialization of session settings is done
before memory for detection threads is allocated and initialized.
2016-10-13 13:12:16 +01:00
William King
6269802026 Merge pull request #997 in FS/freeswitch from ~J0SH/freeswitch:hiredis-logging to master
* commit 'b8d6c4a8054afca862f5ca7c29b41584ffa94a83':
  FS-8075 [mod_hiredis]: Reduce log level of a message.
2016-10-07 10:53:41 -05:00
Mike Jerris
babe1042cc Merge pull request #985 in FS/freeswitch from ~DINGDING/freeswitch:bugfix/FS-9583-fix-mod-fifo-node_thread_run-bug to master
* commit 'a4080cc4beb26b60f7e4c9f8faf9cfd3a052017e':
  FS-9583 [mod_fifo] fix node_thread_run blocking outbound_ringall_thread_run and outbound_enterprise_thread_run
2016-10-07 10:42:40 -05:00
Josh Allmann
b8d6c4a805 FS-8075 [mod_hiredis]: Reduce log level of a message. 2016-10-06 18:49:36 -04:00
Mike Jerris
f54f33d62d Merge pull request #991 in FS/freeswitch from ~DINGDING/freeswitch:FS-9602-ring_consumer_count-error to master
* commit '6cf77759a8de613f1520035c83444bb31610e41b':
  FS-9602 [mod_fifo] fix outbound_ringall_thread_run ring_consumer_count
2016-10-06 14:02:09 -05:00
Piotr Gregor
1fd2e91a08 FS-9620 [avmd][windows]: #fix windows build after FS-9605 2016-10-06 17:35:25 +01:00
dingding
a4080cc4be FS-9583 [mod_fifo] fix node_thread_run blocking outbound_ringall_thread_run and outbound_enterprise_thread_run 2016-10-06 11:47:25 +08:00
dingding
6cf77759a8 FS-9602 [mod_fifo] fix outbound_ringall_thread_run ring_consumer_count 2016-10-06 09:43:09 +08:00
Piotr Gregor
4583ac8c98 FS-9605: [avmd] Add number of detection threads setting to config
Now the number of dectors and lagged detectors is set in avmd config
and can be dynamically adjusted per each session.
2016-10-05 11:59:54 +01:00
Italo Rossi
15a232b5bb FS-9609 - [mod_callcenter] BLF for Queues, callcenter_track app, EXIT_WITH_KEY reason and xml_curl improvements
This change implements a few new features, there's no behavior change at all.

1 - BLF for queues

You can now use BLF for knowing when there are callers waiting on a queue,
the pattern to be subscribed is callcenter+queuename@default or @domain name.

2 - callcenter_track app

Now every agent has an external_calls_count column that will be read upon
selecting agent to offer new calls.
If you start an external call (inbound or outbound) and don't wan't
mod_callcenter to offer new calls for this agent just call this app
passing the agent name as argument:

<action application="callcenter_track" data="agent1"/>

This will increment the external calls count, and to make mod_callcenter look to this variable you need to set this queue parameter:

<param name="skip-agents-with-external-calls" value="true"/>

3 - EXIT_WITH_KEY reason

If the member press a key to exit the queue the cc_cancel_reason will be this now.

4 - xml_curl config loading improvements

Prior to this mod_callcenter query your web server a LOT of times,
this will make it only query once per queue, just watch for CC-Queue
request param and build your xml with everything related to that queue,
including tiers (tiers wasn't loaded before this).
2016-10-04 23:07:42 -03:00
Piotr Gregor
184368d8f4 FS-9568 [avmd] Fail session creation if can't be started properly 2016-10-03 15:05:28 +01:00
Piotr Gregor
b24c2ac945 FS-9595 [avmd] Extend avmd show api
Add number of sessions currently running to output of avmd show api.
2016-10-01 21:41:54 +01:00
Anthony Minessale
d429cc2f5a FS-9552 2016-09-29 12:58:09 -05:00
Anthony Minessale
64d5da354e FS-9552 2016-09-29 12:26:40 -05:00
Mike Jerris
a15dcbe351 Merge pull request #973 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9564-add-lagged-detectors to master
* commit 'b44b6e5b20d93e1fdc7330385c56fa5c37c3eaec':
  FS-9564 [avmd]: add lagged detectors
2016-09-29 11:06:29 -05:00
Mike Jerris
58f12394cc Merge pull request #972 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9542-process-audio-samples-in-threads to master
* commit '8e189ed2337efd5f10b292476ffabaa8ae750a44':
  FS-9542 [avmd]: multithreaded
2016-09-29 11:05:06 -05:00
Piotr Gregor
b44b6e5b20 FS-9564 [avmd]: add lagged detectors
Addition of detectors which skip first few frames
of audio before they start to process it helps
to properly handle some Verizon voicemails.
The result of avmd test using this commit is
OK. All PASS [100]

Thi scommit also resolves:
FS-9588 Add script for outbound avmdy
FS-9589 Add resolution info to events
2016-09-29 16:53:32 +01:00
Anthony Minessale
0c730d208d FS-9587 #resolve [CV can crash if image is null] 2016-09-28 16:13:35 -05:00
Anthony Minessale
6ef4df96da Merge branch 'staging-1.9' 2016-09-27 17:32:53 -05:00
Michael Mavroudis
ba99263a74 column update with negative nibble rate -- FS-9577 2016-09-27 14:47:09 -07:00
Anthony Minessale
f38dde9fec fix merge 2016-09-27 16:44:25 -05:00
Seven Du
7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00
Anthony Minessale
c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Piotr Gregor
8e189ed233 FS-9542 [avmd]: multithreaded
Now avmd detection is done in detector threads
processing audio frames with different resolution
and/or offsets. Detection decision is based on relative
standard deviation which dynamically adjusts to the signal.
Detection of amplitude, frequency and both simultaneously
is enabled and corresponding setting added to the configuration.
Frequency estimates are filtered with median filter.

This commit also resolves:
FS-9539 - Get estimates with different resolution
FS-9513 - Use adjustable thresholds
FS-9502 - Add detection mode setting
FS-9501 - Enable three modes of detection
FS-9407 - Add check of amplitude for NaN before appending to SMA buffer
FS-9139 - Unit test framework
2016-09-26 10:48:44 +01:00
Anthony Minessale
2b1f0da5c4 FS-9525 part 2 2016-09-23 16:50:47 -04:00
Anthony Minessale
4aaaf76190 FS-9525 #resolve [Client initiated REINVITE with different audio codec into conference causes choppy audio] 2016-09-22 14:00:12 -05:00
Anthony Minessale
188318e2d9 FS-9498 fix regession with 100% cpu 2016-09-21 10:35:06 -05:00