14620 Commits

Author SHA1 Message Date
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
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
Anthony Minessale
cd520f8340 FS-9699 #resolve [Improper response to reinvite after using uuid_media_3p] 2016-11-04 18:12:09 -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
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
dd17a57c8a FS-9694 [mod_dptools] Add origination_uuid support to pickup endpoint 2016-11-03 16:35:03 -04: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
Brian West
f9fb94cca1 FS-9629 don't add infocus multiple times 2016-10-31 12:54:18 -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
luiztelles
4c45f529f8 FS-9671 fix wrong cseq in notify Expires 0 2016-10-31 09:57:07 -02:00
Josh Allmann
70591d0e59 FS-9680: Fix typo. 2016-10-28 16:48:13 -04:00
Anthony Minessale
a49182c0f4 FS-9680 #resolve [Add proxy-message param to sofia] 2016-10-27 17:40:17 -05:00
Dragos Oancea
a0284af8ea FS-9670: add autodetection of opencore-amrnb lib and "--disable-amr" option to configure script 2016-10-27 11:43:58 -04:00
Anthony Minessale
16fe6e6ca9 FS-9668 #resolve [Add proxy-info feature] 2016-10-25 17:45:22 -05:00
Brian West
a79636b5cc Merge pull request #1018 in FS/freeswitch from ~GIAVAC/fs-9643-master:feature/FS-9643-mod_opus-log-encoded-stats-at-end to master
* commit '6c11284d34c9261322776af36ff9c76b2531a68b':
  FS-9643 mod_opus Log encoded stats at end of call  Log count of encoded FEC frames in debug mode
2016-10-25 14:11:12 -05:00
Brian West
4e76630e08 swigall 2016-10-25 11:39:35 -05:00
Brian West
c912f6d99a Merge pull request #1022 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:mod_amr-bandwidth-efficient to master
* commit '63900a6d86c1c2dbaf6ac7db987ce901a142b872':
  FS-9664: mod_amr: add AMR NB transcoding capability in bandwidth-efficient mode. Tested with VOLTE devices.
2016-10-25 11:16:19 -05:00
Brian West
0999ff10ba FS-9666 fix unused variable 2016-10-24 17:19:47 -05:00
Mike Jerris
5c0c791e98 Merge pull request #1023 in FS/freeswitch from ~OPENCODE/freeswitch:bugfix/FS-9662-wrong-version-number-in-old-opal to master
* commit 'fb6f9a454e9f72df52f0e0e869d86aaa1f348743':
  FS-9662 #resolves [mod_opal] Fix version number in old OPAL error
2016-10-24 16:49:58 -05:00
Anthony Minessale
0b43fc7b47 FS-9666 #resolve [Remove legacy code when getting an XML video refresh] 2016-10-24 16:34:57 -05:00
David Matson
fb6f9a454e FS-9662 #resolves [mod_opal] Fix version number in old OPAL error 2016-10-24 12:14:24 -07:00
Anthony Minessale
34238d2bd0 FS-9665 #resolve [Add video_pre_call_banner feature] 2016-10-24 13:36:15 -05:00
Dragos Oancea
63900a6d86 FS-9664: mod_amr: add AMR NB transcoding capability in bandwidth-efficient mode. Tested with VOLTE devices. 2016-10-24 12:17:53 -04:00
Seven Du
15f33e532b FS-9151 FS-9631 #resolve 2016-10-24 08:10:36 +08:00
Mike Jerris
a393604db5 Merge pull request #1004 in FS/freeswitch from ~ARMENB/freeswitch:bugfix/FS-9636-Make-every-Transfer-a-Nightmare-Xfer to master
* commit '75f4114443c17bab5eba6814bbd13ef8e08a1617':
  FS-9636 [mod_sofia] Add sofia.conf parameter to make every transfer a nightmare transfer
2016-10-21 13:02:27 -05:00
Mike Jerris
5591dde7e1 Merge pull request #1009 in FS/freeswitch from ~J0SH/freeswitch:unreg-user-ev to master
* commit '5bb6742b440d6fdce44bc6d4f2fafd68cbb0004a':
  mod_sofia: Add 'username' header for expiration events.
2016-10-21 12:41:50 -05:00
Brian West
f432761072 swigall 2016-10-21 11:28:54 -05:00
Giacomo Vacca
6c11284d34 FS-9643 mod_opus Log encoded stats at end of call
Log count of encoded FEC frames in debug mode
2016-10-20 04:48:34 -04: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
Josh Allmann
5bb6742b44 mod_sofia: Add 'username' header for expiration events.
More consistent with the naming in other events, eg
register and unregister.
2016-10-13 15:50:50 -04:00
Mike Jerris
749aa8fb3c Merge pull request #1006 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9627-number-of-threads-taken-from-global to master
* commit '3734043aaa7f5413fe16fbafb6e9d6db08475f20':
  FS-9627 [avmd]: #fix dynamic initialization of session
2016-10-13 08:29:15 -05: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
Mike Jerris
03845186de Merge pull request #1001 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-9594 to master
* commit 'adb8c8000f616b3b16d83e71c224be022a6defc3':
  FS-9594: Fixed hostname resolving for IPv6 addreses.
  FS-9594: Has been adjusted string vars size to fit IPv6 address
2016-10-12 11:05:05 -05:00
Armen Babikyan
75f4114443 FS-9636 [mod_sofia] Add sofia.conf parameter to make every transfer a nightmare transfer 2016-10-11 18:23:31 -07:00
Sergey Safarov
adb8c8000f FS-9594: Fixed hostname resolving for IPv6 addreses.
aa
2016-10-08 10:27:48 -04:00