Commit Graph

31619 Commits

Author SHA1 Message Date
Anthony Minessale cb8eb97261 FS-9719 #resolve [Separate gen_ts_delta between audio and video] 2016-11-09 13:05:04 -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 ae25931b4d FS-9709 #resolve [JB drops packets after hole-punching] 2016-11-09 11:35:12 -06:00
Mike Jerris 3c17fa6f3f Merge pull request #1039 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:amr_rtcp_feedback to master
* commit 'be3aef4361a6e377dc7391feaf52483f6720b575':
  FS-9710 :  Add AMR Congestion Control / Codec Control (RTCP feedback enabled with "adjust-bitrate" setting)
2016-11-09 10:01:34 -06:00
Anthony Minessale 1cb8adecb7 FS-9715 #resolve [Add support for m4a] 2016-11-08 13:45:53 -06:00
Mike Jerris e332c1a24c FS-9714: [core] switch assert on attempted double close of a file handle 2016-11-08 13:22:35 -06:00
Chris Rienzo ff6ab87f14 FS-9713 [mod_hiredis] handle spurious wakeup while waiting for connection 2016-11-08 13:36:39 -05:00
Mike Jerris 113a902e26 Merge pull request #1046 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9693:master to master
* commit '7f017fd1d8b51e372069210cf2e59cf40ae2b0ac':
  FS-9693 fix free issue in fulldate comparison
2016-11-08 10:09:55 -06:00
François 7f017fd1d8 FS-9693 fix free issue in fulldate comparison 2016-11-08 17:07:28 +01:00
Andy Newlands d243c166f1 FS-9412 [switch_loadable_module.c] Make MODULE_UNLOAD event report module name (key) and file (filename), similar to event MODULE_LOAD
Add key and filename for symetry with SWITCH_EVENT_MODULE_LOAD, for api_interface, and to make it simpler to know which module is unloaded

FS-9412 #resolve
2016-11-08 15:46:50 +00: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
Dragos Oancea be3aef4361 FS-9710 : Add AMR Congestion Control / Codec Control (RTCP feedback enabled with "adjust-bitrate" setting) 2016-11-08 06:46:52 -05: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
François 92b8996eea FS-9693 use existing date parsing functions in fulldate comparison that take timezone into account 2016-11-07 13:01:49 -06: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 9e103b2b1c FS-9705 #resolve [Files using prebuffer do not play properly when seeking back to the beginning once the file is done playing] 2016-11-07 12:16:01 -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
Anthony Minessale cd520f8340 FS-9699 #resolve [Improper response to reinvite after using uuid_media_3p] 2016-11-04 18:12:09 -05:00
Brian West 710ca2a053 FS-9697 fix spelling 2016-11-04 15:09:42 -05:00
Mike Jerris c4fae8977e Merge pull request #1037 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9698 to master
* commit '3ff491274df6a76fb85cb8d594bf3b8465b88867':
  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 13:13:50 -05:00
Mike Jerris 530c8424da Merge pull request #1034 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9694 to master
* commit 'dd17a57c8a128c97f12fe1882e5123de92d1cf3e':
  FS-9694 [mod_dptools] Add origination_uuid support to pickup endpoint
2016-11-04 13:09:14 -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
Anthony Minessale 2c111bbdb5 FS-9697 #resolve [Video compat changes to support older clients] 2016-11-03 17:38:31 -05:00
Anthony Minessale 8663dcb52a FS-9668 also check for keyframe requests on INFO even when proxying for good measure 2016-11-03 17:34:53 -05: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
Brian West 1b13e15919 FS-9693 revert 2016-11-03 11:03:10 -05:00
Brian West 439731a211 Merge pull request #1033 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9693:master to master
* commit '6e4e48c6beb0c792df0ca81693c709e9435b9223':
  FS-9693 use local time instead of utc for date-time comparison
2016-11-03 09:58:13 -05:00
François 6e4e48c6be FS-9693 use local time instead of utc for date-time comparison 2016-11-03 15:53:02 +01:00
Seven Du 18bde91373 FS-3568 #comment update Chinese phrase XML, thanks Gaofei 2016-11-03 14:40:28 +08:00
Anthony Minessale 09028b251e FS-9455 #resolve [Doubled posts in the chat window ] 2016-11-02 16:00:49 -05:00
Brian West 1cd511ab3d FS-9687 lets actually fix it this time now that I know the scenario that triggers it. 2016-11-02 06:17:34 -05:00
Brian West 9b955c95a9 FS-9687: segfault Program terminated with signal SIGFPE, Arithmetic exception. 2016-11-01 16:50:18 -05:00
Brian West ff7ee1aa80 FS-9685 Update broadsoft SLA to work with newer Polycom firmware. 2016-11-01 10:22:57 -05:00
Mike Jerris c9452d15d0 FS-9670: just use pkg-config to locate amr libs and add debian requirements 2016-10-31 15:10:36 -05:00
Brian West f9fb94cca1 FS-9629 don't add infocus multiple times 2016-10-31 12:54:18 -05:00
Brian West 8dc27b1081 Commit an example of using the IVRMenu object to build the ivr in lua. 2016-10-31 12:27:13 -05:00
Brian West 89cde77ec2 Merge pull request #1025 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:configure_enable_amr to master
* commit 'a0284af8ea10f882dc7c3ef3a704f9392158a9a3':
  FS-9670: add autodetection of opencore-amrnb lib and  "--disable-amr" option to configure script
2016-10-31 11:07:36 -05: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
Brian West 4fb0db3e59 FS-9678: Fix FreeSWITCH not shutting down when profiles fails to load and shutdown-on-fail is set to true 2016-10-31 10:38:42 -05:00
luiztelles 4c45f529f8 FS-9671 fix wrong cseq in notify Expires 0 2016-10-31 09:57:07 -02:00
Brian West cec0cb3983 Merge pull request #1029 in FS/freeswitch from ~J0SH/freeswitch:proxymsg to master
* commit '70591d0e59b137a50977fb994fdc2c12a7f787e9':
  FS-9680: Fix typo.
2016-10-28 15:38:25 -05:00
Josh Allmann 70591d0e59 FS-9680: Fix typo. 2016-10-28 16:48:13 -04:00
Anthony Minessale II 0ea523f11b Merge pull request #1028 in FS/freeswitch from ~J0SH/freeswitch:pt-match2 to master
* commit '4a15d0a3c3e472c62e99f44e00ba5f3abeceeb8e':
  FS-9654: Fix RTP packet drops
2016-10-28 10:09:11 -05:00
Josh Allmann 4a15d0a3c3 FS-9654: Fix RTP packet drops
There was issue with certain endpoints that would lead to dropping
nearly every other RTP packet from the callee.

The scenario is as follows: the caller (bridged through FreeSWITCH)
offers codecs A and B with payload types X and Y, respectively.
The callee answers with codec B and payload type X.

The fix is to use the sender's expected payload type when checking
against the received RTP packet, rather than the receiver's.
2016-10-28 11:02:01 -04:00
Anthony Minessale a49182c0f4 FS-9680 #resolve [Add proxy-message param to sofia] 2016-10-27 17:40:17 -05:00