Commit Graph

19530 Commits

Author SHA1 Message Date
Anthony Minessale 56872ee052 FS-9721 #resolve [Add media_reneg_after_broadcast] 2016-11-09 17:24:47 -06:00
Brian West 6076e0c7e9 FS-9204: complte the urls so that snom can execute the pickup, It used to probably send it to the proxy, but now needs the host in the packet or throws network error 2016-11-09 16:27:15 -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
Anthony Minessale 917d9b44c4 FS-9719 still not quite right, and enable support to auto engage this feature for pass-thru video 2016-11-09 15:24:34 -06:00
Mike Jerris ade33ae472 FS-9710: fix build in passthrough mode 2016-11-09 14:46:16 -06:00
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
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
François 6e4e48c6be FS-9693 use local time instead of utc for date-time comparison 2016-11-03 15:53:02 +01: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
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
Josh Allmann 70591d0e59 FS-9680: Fix typo. 2016-10-28 16:48:13 -04: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
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 II fbcb3f708f Merge pull request #1020 in FS/freeswitch from ~J0SH/freeswitch:fs9660 to master
* commit 'd98a3ad204afdb8839674588a536a67329537b6d':
  FS-9660: Fix BW calculation for SDP media clause
2016-10-25 21:10:21 -05:00
Anthony Minessale 80004fa885 FS-9654 2016-10-25 21:09:53 -05: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 e76c945693 FS-9576 fix stray ; 2016-10-25 12:39:38 -05:00
Brian West 4e76630e08 swigall 2016-10-25 11:39:35 -05:00
Brian West adb25b3fcd FS-9576: add missing event hook functions 2016-10-25 11:38:51 -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
Mike Jerris 8e6d89733a FS-9634: fix typo 2016-10-24 12:01:08 -04:00
Mike Jerris c4c460e7f2 FS-9581: fix signed/unsigned comparison build warning 2016-10-24 11:57:51 -04:00
Seven Du 15f33e532b FS-9151 FS-9631 #resolve 2016-10-24 08:10:36 +08:00
Josh Allmann d98a3ad204 FS-9660: Fix BW calculation for SDP media clause
The AS descriptor for SDP b= lines is already defined in kilobits/second.
Fixes an issue with extremely low bitrate videos when a SDP media clause has
its own b=AS: line specified.
2016-10-21 23:22:36 +00: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 d79b9a0627 Merge pull request #1007 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9590:master to master
* commit 'bc7f60e014f1bf10214f2cd79cc6bbfe5970637f':
  FS-9590 check dtmf_type variable when negociating inbound SDP
2016-10-21 12:52:04 -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
Anthony Minessale 53ee060208 FS-9634 #resolve [RTCP mux is always proposed on outbound channels even if rtcp_mux chan variable is 0] 2016-10-21 12:32:22 -05:00
Brian West f432761072 swigall 2016-10-21 11:28:54 -05:00
Anthony Minessale 11066d5cf4 FS-9654 #resolve [Issue with RTP payload negotiation] 2016-10-20 15:53:39 -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
William King 9407f890ab FS-9651 Fix incorrect expression 2016-10-19 18:38:06 -07:00
William King 6dac2b5ff4 FS-9650 initialize pointer to NULL to resolve warning 2016-10-19 18:32:38 -07: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
Brian West efc2ed2a49 FS-9632 remove SWITCH_FILE_FLAG_VIDEO flag if we fail to receive video so we fall thru and record the audio only. Previously it would just fail to function as expected. 2016-10-19 12:57:01 -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
Anthony Minessale e3353b7e6b FS-9639 #resolve [uuid_media_3p - 2nd attempt doesn't like changing ports] 2016-10-13 12:58:35 -05:00
François bc7f60e014 FS-9590 check dtmf_type variable when negociating inbound SDP 2016-10-13 17:32:22 +02: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
Anthony Minessale 0166ba281a FS-9624 slight change from last commit 2016-10-11 10:56:15 -05:00
Seven Du 11f4b3c4f7 FS-9575 fix windows build
random() is a posix ext not available on windows
2016-10-11 08:21:29 +08:00
Sergey Safarov adb8c8000f FS-9594: Fixed hostname resolving for IPv6 addreses.
aa
2016-10-08 10:27:48 -04:00
Anthony Minessale 7d7200f03c FS-9624 #resolve [Jitter buffer doesn't flush properly on RTT sessions] 2016-10-07 20:32:11 -05:00
Mike Jerris 0764d9addd FS-9581: fix msrp compile fail on windows 2016-10-07 16:13:33 -04:00
Mike Jerris f35c2a4ec2 FS-9623: fix rare crash on startup due to openssl init functions being run multiple times 2016-10-07 15:33:50 -04:00
Brian West c8c0cd3857 swigall 2016-10-07 11:01:16 -05:00
Mike Jerris 984ff2b6c8 Merge pull request #996 in FS/freeswitch from ~DINGDING/freeswitch:feature/FS-9615-mod_odbc_cdr-add-quote-and-default-value to master
* commit '8e28cbc02682a7c9508a5819798f8f2d1a50b79b':
  FS-9615 [mod_odbc_cdr] New Feature add field Non-string types and default values are supported
2016-10-07 10:57:23 -05: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
dingding 8e28cbc026 FS-9615 [mod_odbc_cdr] New Feature add field Non-string types and default values are supported 2016-10-07 23:02:20 +08:00
Mike Jerris 195554814c FS-9581: [windows] fix function signatures in switch_estimators.c 2016-10-07 10:46:39 -04:00
Sergey Safarov 808978ec76 FS-9594: Has been adjusted string vars size to fit IPv6 address 2016-10-07 05:37:23 -04:00
Seven Du 241bbd1529 FS-9622 #resolve fix buffer size calculation in http interface in mod_verto 2016-10-07 10:16:35 +08:00
Josh Allmann b8d6c4a805 FS-8075 [mod_hiredis]: Reduce log level of a message. 2016-10-06 18:49:36 -04:00
Mike Jerris ed3aeba135 FS-9581: [windows] don't define symbols before pch include 2016-10-06 17:24:34 -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
Mike Jerris 743b77c901 FS-9617: fix build error on rpi 2016-10-05 15:58:33 -04:00
Mike Jerris 75d4b5607f Merge pull request #993 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_amr_mode-set_fmtp to master
* commit 'bc8518858e38488d3e6a08aeb8b01f0f223033a8':
  FS-9613: mod_amr: fix AMR mode bitmap ("mode-set" param in remote fmtp)
2016-10-05 14:41:24 -05:00
Mike Jerris 111b163949 Merge pull request #994 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_amrwb_mode-set_fmtp to master
* commit 'a88332ebfa89adc45949fe5fd1055ffef68b3989':
  FS-9614: mod_amrwb: fix AMR-WB mode bitmap ("mode-set" in fmtp)
2016-10-05 14:39:22 -05:00
Mike Jerris 5cd52b5c0f Merge pull request #992 in FS/freeswitch from ~DINGDING/freeswitch:FS-9611-mod_odbc_cdr-Sql-insert-failed-do-not-write-csv-file to master
* commit 'b17b0a5db0f9186feb33b0d2f9a191e3c2d86869':
  FS-9611 [mod_odbc_cdr] fix sql insert failed do not write csv file and csv Duplicate file name will be overwritten
2016-10-05 14:26:01 -05:00
Mike Jerris e5ba6daf8d Merge pull request #987 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9590:master to master
* commit '6681610d0a0b9d41d7693c95b74357d8cc532433':
  FS-9590 dtmf_type variable checking should be done after the media_handle is created
2016-10-05 11:30:14 -05:00
Mike Jerris 7d6c66ad48 FS-9581: [windows] DEBUG_ESTIMATORS symbol conflict in windows 2016-10-05 11:08:45 -04:00
Mike Jerris 0d56945f71 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 11:06:44 -04:00
Anthony Minessale 3bed73c4b2 FS-9612 2016-10-05 10:08:57 -05:00
Mike Jerris 4814cb1e34 FS-9581: [windows] CF_TEXT is a reserved constant on windows 2016-10-05 09:57:31 -04: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
Dragos Oancea a88332ebfa FS-9614: mod_amrwb: fix AMR-WB mode bitmap ("mode-set" in fmtp) 2016-10-05 06:46:20 -04:00
Dragos Oancea bc8518858e FS-9613: mod_amr: fix AMR mode bitmap ("mode-set" param in remote fmtp) 2016-10-05 06:31:49 -04:00
Anthony Minessale 9a990add75 FS-9612 #resolve [RTCP-MUX wrongly enabled in cases where answer contains rtcp but offer didn't / remote addr not obtained in UDPTL mode] %backport=1.6 2016-10-05 01:22:46 -05:00
dingding b17b0a5db0 FS-9611 [mod_odbc_cdr] fix sql insert failed do not write csv file and csv Duplicate file name will be overwritten 2016-10-05 12:36:44 +08:00
Anthony Minessale 2a3b8a230c FS-9610 #resolve [Video keyframe requests not being propagated properly] %backport=1.6 2016-10-04 22:34:47 -05: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
Mike Jerris 1870d148ed FS-9603: include ssl headers locally so modules don't need ssl include path 2016-10-04 14:56:05 -04:00
Anthony Minessale II 121bf83909 Merge pull request #989 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-improve-adjustable-bitrate to master
* commit 'f47bbecec9175179c13d1006524510f1fc159754':
  FS-9601: mod_opus:  make adjustable bitrate mutually exclusive with FEC enforcing on the decreasing trend, add step calculation for bitrate adjustment, fix bug on context settings
2016-10-03 10:59:09 -05:00
Piotr Gregor 184368d8f4 FS-9568 [avmd] Fail session creation if can't be started properly 2016-10-03 15:05:28 +01:00
Anthony Minessale 17ab107ed7 FS-9596 #resolve [rtp-timeout triggered for on-hold calls with a=inactive] 2016-10-02 17:43:55 +01:00
Anthony Minessale c7e983d896 FS-9597 #resolve [host_lookup does not resolve v6 addrs] %backport=1.6 2016-10-02 17:43:54 +01:00
Dragos Oancea f47bbecec9 FS-9601: mod_opus: make adjustable bitrate mutually exclusive with FEC enforcing on the decreasing trend,
add step calculation for bitrate adjustment, fix bug on context settings
2016-10-01 19:05:33 -04: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 c6ece47314 FS-9596 #resolve [rtp-timeout triggered for on-hold calls with a=inactive] 2016-09-30 12:57:54 -05:00
Anthony Minessale 707502ff24 FS-9597 #resolve [host_lookup does not resolve v6 addrs] %backport=1.6 2016-09-30 12:12:04 -05:00
Anthony Minessale de223ea2c6 FS-9593 #resolve [Video syncs too much on video muted channels] %backport=1.6 2016-09-29 17:13:14 -05: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
François 6681610d0a FS-9590 dtmf_type variable checking should be done after the media_handle is created 2016-09-29 18:59:13 +02:00
Mike Jerris 9698187cb8 Merge pull request #983 in FS/freeswitch from ~GIAVAC/fs:master to master
* commit '293f2fda9a300d878a671dc4b2e2c029d0ec3509':
  FS-9584 Separate initial bitrate negotiation from sample rates
2016-09-29 11:08:23 -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 4002bda23d FS-9355 2016-09-28 17:07:19 -05:00
Anthony Minessale 0c730d208d FS-9587 #resolve [CV can crash if image is null] 2016-09-28 16:13:35 -05:00
Anthony Minessale 024602ae2c FS-9586 #resolve [local_stream video queue stuck when not being read from] %backport=1.6 2016-09-28 10:38:28 -05:00
Giacomo Vacca 293f2fda9a FS-9584 Separate initial bitrate negotiation from sample rates 2016-09-28 11:22:40 -04:00
Seven Du ad03c5c354 FS-9575 use switch_ssl.h 2016-09-28 15:09:00 +08:00
Anthony Minessale 628242fd52 FS-9580 #resolve [RTCP Auto-adjust] %backport=1.6 2016-09-27 23:12:20 -05:00
Brian West 090408993a fix build 2016-09-27 20:06:33 -05:00
Anthony Minessale 11d5fe23ce swig 2016-09-27 18:03:16 -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
Anthony Minessale 6d6bd1efa5 FS-9242 convert to adapter.js 2016-09-27 16:07:00 -05:00
Dragos Oancea 0e6e53f15c FS-8644: OPUS_SET_BITRATE(), codec control and estimators for packet loss and RTT (with Kalman filters) to detect a slow or congested link.
Feature enabled with "adjust-bitrate" in opus.conf.xml - it's a feedback loop with incoming RTCP.
2016-09-27 16:06:17 -05:00
Brian West bbe5ee0856 Merge pull request #969 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:fix_config_rtpip to master
* commit '3d2f3c96db2d496dc349c1e6786f958a7681a4eb':
  FS-9548: return with error on wrong rtp ip given from config
2016-09-27 15:54:08 -05:00
Brian West 09d8f47478 FS-9548 #resolve [crash on Invite due to bad config for sip profile ] 2016-09-27 15:53:38 -05:00
Brian West 39738b32ca FS-9574 #resolve [We shouldn't print data sent on the buffer.] 2016-09-27 15:52:25 -05:00
Anthony Minessale c70f06aa2f FS-9553 #resolve [Refactor video-on-hold] 2016-09-27 14:10:41 -05:00
Anthony Minessale d6bf6705de FS-9522 2016-09-26 20:12:50 -05:00
Anthony Minessale 9edcbfe036 FS-9522 more regression 2016-09-26 20:06:30 -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
Mike Jerris ca28fdc8f3 Merge pull request #968 in FS/freeswitch from ~DINGDING/freeswitch:bugfix/FS-9536-fix-switch_core_hash_delete-return-invalid to master
* commit '9f01830d6048933c0d7b33381d7bd02e120927cb':
  FS-9536 [core] fix return value
2016-09-23 10:26:20 -05:00
Anthony Minessale 25732c82d2 FS-9557 2016-09-22 19:52:05 -05:00
Anthony Minessale eb09fb36eb FS-9557 #resolve [Eating AV in proxy media mode] 2016-09-22 18:52:48 -05: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 f410ac3403 FS-9522 fix regression 2016-09-21 12:51:15 -05:00
Anthony Minessale 188318e2d9 FS-9498 fix regession with 100% cpu 2016-09-21 10:35:06 -05:00
dingding 9f01830d60 FS-9536 [core] fix return value 2016-09-21 09:43:04 +08:00
Anthony Minessale d34b501758 FS-9435 #resolve [PLI requests once per second] 2016-09-20 17:18:10 -05:00
Mike Jerris 96e96a8099 FS-9552: [mod_conference] added 'deaf' to the json status per member 2016-09-20 17:25:47 -04:00
Italo Rossi 1b441a7a8e FS-9551 [switch_ivr - json cdr] Adding app-stamp to app_log 2016-09-20 16:32:16 -03:00
Anthony Minessale 56a129a854 FS-9550 #resolve [Set user on outbound verto calls to sync with user directory] 2016-09-20 14:06:05 -05:00
Anthony Minessale ccadea219a FS-9524 #resolve [Enable whitelisting of Verto connections by IP using FS ACL] 2016-09-20 14:03:35 -05:00
Anthony Minessale eb4d24b68c FS-9549 #resolve [Add userVariables to DMTF and INFO messages] 2016-09-20 13:57:34 -05:00
Anthony Minessale II 9b76bc2fd1 Merge pull request #970 in FS/freeswitch from feature/FS-9543-add-pre-exec-state-change-hooks-to to master
* commit '6a064a953c8b7f58023b5d7388348341017d5e4d':
  FS-9543 #resolve [Add pre-exec state change hooks to core]
2016-09-20 10:58:36 -05:00
Anthony Minessale 6a064a953c FS-9543 #resolve [Add pre-exec state change hooks to core] 2016-09-20 10:57:45 -05:00
Dragos Oancea 3d2f3c96db FS-9548: return with error on wrong rtp ip given from config 2016-09-20 11:05:55 -04:00
Mike Jerris fca259d13c Merge pull request #961 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9526 to master
* commit 'e76350df42bd31180147180bebcf72f2dd588b9a':
  FS-9526 [mod_conference] add deaf sounds
2016-09-19 17:53:13 -05:00
Piotr Gregor 0247c92cb5 FS-9527 [avmd]: Fix MAP_POPULATE on FreeBSD
Remove unsupported flag.
2016-09-19 22:47:14 +01:00
Luis Azedo e76350df42 FS-9526 [mod_conference] add deaf sounds 2016-09-19 19:41:45 +01:00
Anthony Minessale c591a212e8 FS-9538 #resolve [segfault while reading local ringback file] 2016-09-19 13:11:11 -05:00
Luis Azedo 1c00e64a9a FS-9533 [mod_conference] add member-enter-sound 2016-09-19 09:11:29 +01:00
Anthony Minessale 2bd7cfdf9a FS-9522 #resolve [Add rtp_assume_rtcp to always use rtcp when needed] 2016-09-16 12:01:43 -05:00
Spencer Thomason 0c9ab17c60 FS-9424: Make big endian ifdefs more specific 2016-09-15 20:25:18 -07:00
Mike Jerris 7aa97b76a5 Merge pull request #958 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9518 to master
* commit '03e87faac125dca0acd5a15fdb3d7cd6a084e8f9':
  FS-9518 [mod_conference] allow deaf only command in caller-controls
2016-09-15 17:28:04 -05:00
Mike Jerris 9c28b71115 Merge pull request #959 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9519-avmd-test-script to master
* commit '8f4956725cedec07dd789f4d6520fd6ec7797bbb':
  FS-9519: [avmd] Add unit test
2016-09-15 17:12:07 -05:00
Piotr Gregor 8f4956725c FS-9519: [avmd] Add unit test
Add perl script for testing of voicemail detection.
2016-09-15 22:55:28 +01:00
Anthony Minessale 0af2659691 FS-9511 up the max size a tad 2016-09-15 15:49:47 -05:00
Luis Azedo 03e87faac1 FS-9518 [mod_conference] allow deaf only command in caller-controls 2016-09-15 14:12:59 +00:00
Anthony Minessale 66a8b5bfac FS-9511 #resolve [Sync issues on inbound video calls] 2016-09-14 15:51:04 -05:00
Mike Jerris f39bad0b32 Merge pull request #950 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-6954-freeswitch-adds-additional-m-audio to master
* commit 'd5b5e8c23bf78508f5296b188265496e6f4a6a5d':
  FS-6954: Use channel flags to check for proxy media or bypass media
2016-09-14 12:49:12 -05:00
Mike Jerris 3d3a1e3721 Merge pull request #953 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/FS-9505 to master
* commit '0fddb6b08fa86e83295506369faf932c9646be7d':
  FS-9505 [mod_conference] honor verbose-events in conference-create event
2016-09-14 12:35:05 -05:00
Mike Jerris 480bf40c1a Merge pull request #954 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9509-subscribe-to-avmd-messages-script to master
* commit '194a248522ba55164847a15c39e8ede94b1147a8':
  FS-9509: [avmd] Add perl script subscribing to avmd events
2016-09-14 10:12:05 -05:00
Anthony Minessale 92644dbb4d FS-9506 code was too over-zealous about taking control when it should not, pass 2 2016-09-13 15:54:55 -05:00
Piotr Gregor 194a248522 FS-9509: [avmd] Add perl script subscribing to avmd events
The script will subscribe to avmd events and output them to the console.
2016-09-13 21:46:13 +01:00
Anthony Minessale aee02a3041 FS-9506 code was too over-zealous about taking control when it should not, pass 1 2016-09-13 15:23:46 -05:00
Brian West 7258a2484b FS-9506 #resolve [Proxy-Hold improvement, Support a=inactive] 2016-09-13 13:17:51 -05:00
Luis Azedo 0fddb6b08f FS-9505 [mod_conference] honor verbose-events in conference-create event 2016-09-13 17:45:15 +01:00
Anthony Minessale II b6446d5276 Merge pull request #937 in FS/freeswitch from ~LAZEDO/freeswitch:bugfix/FS-9451 to master
* commit 'ebdf980eb03b7c604b10f45310cf4d4d7dc7313b':
  FS-9551 [mod_sofia] compare also session before setting TFLAG_SKIP_EARLY
2016-09-12 12:23:41 -05:00
Anthony Minessale 06368ebfef FS-9503 messed up case 2016-09-12 12:23:23 -05:00
Anthony Minessale 8eda172aab FS-9503 #resolve [Add flaws and consecutive_flaws to error_log in rtp] 2016-09-12 12:21:21 -05:00
Anthony Minessale f3b22f6142 FS-9496 2016-09-12 12:04:21 -05:00
Anthony Minessale 5c43a17a04 FS-8761 2016-09-12 11:24:41 -05:00
Anthony Minessale 43c10074fb FS-9498 #resolve [Try to make video writing thread more efficient] 2016-09-09 19:01:55 -05:00
Anthony Minessale fd724a7b97 FS-9497 #resolve [AV sync record issue] 2016-09-09 16:48:43 -05:00
Spencer Thomason d5b5e8c23b FS-6954: Use channel flags to check for proxy media or bypass media
Use channel flags CF_PROXY_MODE or CF_PROXY_MEDIA to determine if to disable
SOA when passing a T38 ReINVITE across legs when in proxy media or bypass media.
These channel flags are set when the sofia profile params inbound-bypass-media or
inbound-proxy-media are enabled as well as when the channel variables bypass_media or
proxy_media are set which should handle a few edge cases better.

FS-6954 #resolve.
2016-09-09 11:06:35 -07:00
Piotr Gregor 849918fd99 FS-9458: [avmd] Set channel variable before BEEP event is fired
Now channel variable is properly set when event is delivered.
2016-09-09 01:12:40 +01:00
Anthony Minessale 71c54d6f3a FS-9495 #resolve [add conference_join_energy_level variable] 2016-09-08 17:33:21 -05:00
Anthony Minessale baccbea1f1 FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit] 2016-09-08 15:10:14 -05:00
Anthony Minessale 34bff55ffd FS-9494 #resolve [Issues with video avatar switching when video starts/stops] 2016-09-08 14:52:42 -05:00
Anthony Minessale 55e41a8ea3 FS-9493 #resolve [Possible crash when changing from normal to personal canvas on the fly] 2016-09-08 13:00:49 -05:00
Mike Jerris 7c75cf7300 FS-9484: fix var type format spec 2016-09-08 04:03:18 -04:00
Anthony Minessale 8101b337ec FS-9488 #resolve [Compile error mod_http_cache] 2016-09-07 16:55:44 -05:00
Anthony Minessale d3ee9adfd1 FS-9487 #resolve [Add CBR param to video file recording params] 2016-09-07 16:49:04 -05:00
Mike Jerris 1e867a85f8 FS-9457: fix code after decl error 2016-09-07 14:45:57 -04:00
Mike Jerris dbb447fb69 FS-9457: fix code after decl error 2016-09-07 14:12:33 -04:00
Mike Jerris 4503dee9ad FS-9457: fix code after decl error 2016-09-07 13:35:28 -04:00
Mike Jerris d7c77ba96d FS-9457: fix code after decl error 2016-09-07 12:44:44 -04:00
Mike Jerris 7bee958a51 FS-9457: fix code after decl error 2016-09-07 10:27:03 -04:00
Christopher Rienzo 6263f260f0 Merge pull request #941 in FS/freeswitch from ~RICHARD.SCREENE/freeswitch:feature/FS-9457-mod_http_cache-work-with-azure-blob to master
* commit '55978ba076a744af75595d245410fca815d9f74d':
  FS-9457 [mod_http_cache] Allow GET and PUT from Azure Blob Service
2016-09-07 08:54:52 -05:00
Richard Screene 55978ba076 FS-9457 [mod_http_cache] Allow GET and PUT from Azure Blob Service
Only send final PUT on Azure profiles

Fix core dump when reading Azure key from environment variable

Improve interface between mod_http_cache and storage providers

Remove debug

Remove out-of-date TODO

Add new configuration to example

Changes arising from Christopher Rienzo's comments

Add function to pointers to the profile to allow for better integration with the storage providers.

Add function to pointers to the profile to allow for better integration with the storage providers

Remove old header file inclusion
2016-09-07 09:57:03 +01:00
Luis Azedo ebdf980eb0 FS-9551 [mod_sofia] compare also session before setting TFLAG_SKIP_EARLY 2016-09-07 00:14:47 +01:00
Mike Jerris 962908aa5a Merge pull request #944 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9472-originate-retry-timeout to master
* commit '4620f1070c34a20b5b38a35538a3423832bdc0c3':
  FS-9472 [core] Add originate_retry_timeout and originate_retry_min_period_ms
2016-09-06 12:50:52 -05:00
Anthony Minessale 5a4058df8a FS-9483 #resolve [mod_conference missing keyframe after reinvite] 2016-09-06 11:03:08 -05:00
Anthony Minessale 5ecde9478a FS-9482 #resolve [uuid_media_3p - seg fault on 2nd attempt] 2016-09-06 10:45:50 -05:00
Mike Jerris f48fbf1666 Merge pull request #945 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9480 to master
* commit 'eb08eef0eaac6e292e475952b23e1c35ac5683bf':
  FS-9480 [mod_kazoo] add api enhancements
2016-09-05 15:09:09 -05:00
Luis Azedo eb08eef0ea FS-9480 [mod_kazoo] add api enhancements 2016-09-05 10:52:39 +00:00
Mike Jerris 346a60ed3d Merge pull request #928 in FS/freeswitch from ~ANTONIO/freeswitch-fs-9398:master to master
* commit '9cd2dbbddb9afb59037704739e206e30b4ac1cb6':
  FS-9398 solve missing variables in sofia events expire and unregister
2016-09-02 13:11:53 -05:00
Mike Jerris a34abbc02c Merge pull request #942 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9466-use-system-md5-if-available to master
* commit '5a2f9d7a789c8a78f43cd7014b4980f747bd4ca2':
  FS-9466: Use system MD5 if available
2016-09-02 12:20:05 -05:00
Mike Jerris d9bd695e95 Merge pull request #894 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9143-avmd-fix-custom-headers-in-events to master
* commit '9e0ade83b88113e4a50aacee440a97ddde0a2c1c':
  FS-9143 [avmd] #fix event headers
2016-09-02 12:13:46 -05:00
Anthony Minessale 47cbd2f628 FS-9475 #resolve [Video bandwidth not conveyed in SDP for verto] 2016-09-01 17:18:33 -05:00
Anthony Minessale 9e931ab941 remove debug 2016-09-01 16:44:10 -05:00
Anthony Minessale 1f1e372826 FS-9474 #resolve [Add variables to set initial volume on mod_conference] 2016-09-01 13:30:55 -05: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
Spencer Thomason 5a2f9d7a78 FS-9466: Use system MD5 if available
- Use system MD5 on BSD and Solaris based platforms
- Use OpenSSL if system library is not available
- Fallback to included APR
- Optimize switch_md5_string()
- replace libsofia MD5 routines in mod_sofia with switch_md5() ones

FS-9466 #resolve
2016-08-31 15:00:48 -07:00
Mike Jerris 803464ca23 Merge pull request #940 in FS/freeswitch from ~J0SH/freeswitch:fs9404 to master
* commit '16162fd74797222c7a73a866fdd96e732b6f02d2':
  FS-9404 Handle sequence rollovers in mod_av handling of inbound H.263.
2016-08-29 16:27:42 -05:00
Josh Allmann 16162fd747 FS-9404 Handle sequence rollovers in mod_av handling of inbound H.263. 2016-08-26 22:22:42 +00:00
Italo Rossi 1080016986 FS-7706 [mod_callcenter] Hangup agent channel if we failed to bridge it with member channel.
The member can hangup the call while we are playing the outbound announce audio to the agent, this
patch detects this and properly hangup the agent channel to avoid keeping it up with
just a silence call since there's no active bridge.

The agent-bridge-end event now has CC-Agent-Bridged: true if the bridge successfully happens,
variable cc_agent_bridged was added so we can track this in the agent and member CDRs.

If you want to play an audio to the agent to indicate the member hangup the call before the bridge
set the variable cc_bridge_failed_outbound_announce, for example:
<action application="set" data="cc_bridge_failed_outbound_announce=tone_stream://%(250,250,425);loops=3"/>
or
<action application="set" data="cc_bridge_failed_outbound_announce=your-caller-has-gone-away-audio"/>
prior to calling callcenter application.

These variables are documented at https://freeswitch.org/confluence/display/FREESWITCH/mod_callcenter
2016-08-24 00:03:16 -03:00
Brian West 3c3c6ba512 FS-8608 remove nonexistant option, found during config audit 2016-08-22 15:28:02 -05:00
Brian West 7cc2653edc FS-8608 found while doing config audit, params should have dashes 2016-08-22 15:20:04 -05:00
Piotr Gregor 9e0ade83b8 FS-9143 [avmd] #fix event headers
Make all headers starting from capital letter.
2016-08-22 09:32:09 +01:00
William King c8e0eaace7 Merge pull request #923 in FS/freeswitch from ~J0SH/freeswitch:fs9409 to master
* commit '5f5346491943417c7609b834712ee4e5846d3605':
  FS-9409: Wait for avformat reader thread before reading.
2016-08-21 18:46:05 -05:00
Mike Jerris 3f9a234821 Merge pull request #936 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9447-fix-build-on-windows to master
* commit 'e5fc843c41860bbebf9eb187ef96c57def64c34b':
  FS-9447: [mod_avmd] #fix PRId64 on windows
2016-08-20 14:14:36 -05:00
Piotr Gregor e5fc843c41 FS-9447: [mod_avmd] #fix PRId64 on windows
We need to include inttypes.h header on Windows
for this to work.
2016-08-20 15:12:43 +01:00
Anthony Minessale c3728d99d0 FS-9443 #resolve [SDP in a verto.invite with missing ICE candidates can segfault] 2016-08-20 09:11:06 -05:00
Mike Jerris 3a93305045 Merge pull request #935 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9449-enable-clock-calibration-and-clock_nanosleep to master
* commit 'c5eb29d74d5ac727eb2a08c1e653e3f7e33aaacf':
  FS-9449: Enable clock calibration and clock_realtime on Solaris
2016-08-19 22:59:29 -05:00
Mike Jerris f92bb5aeff Merge pull request #930 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9439 to master
* commit '676419a2619dda579d2bca9e6aaaecfa9a86e200':
  FS-9439 check chained loopback for loopback_bowout
2016-08-19 22:56:14 -05:00
Spencer Thomason c5eb29d74d FS-9449: Enable clock calibration and clock_realtime on Solaris 2016-08-19 18:24:23 -07:00
Luis Azedo 676419a261 FS-9439 check chained loopback for loopback_bowout 2016-08-20 02:12:30 +01:00
Mike Jerris f21a38270d Merge pull request #934 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9447-avmd-increase-default-number-of-samples to master
* commit '169f1c0b5044b94e43533cb04e34d88e5be63006':
  FS-9447: [mod_avmd] increase factory default value of samples to skip
2016-08-19 14:41:22 -05:00
Mike Jerris 26a502061f Merge pull request #931 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9440 to master
* commit 'ea5b39365af78be85b73673699040727ec9952c9':
  FS-9440 add transfer_destination
2016-08-19 14:33:22 -05:00
Mike Jerris 6f2f87699c Merge pull request #932 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9441 to master
* commit 'f8c2abc189f27ca13b2ddd6dc334ef7738ccb37d':
  FS-9441 optional skip member outcall beep
2016-08-19 14:26:06 -05:00
Piotr Gregor 169f1c0b50 FS-9447: [mod_avmd] increase factory default value of samples to skip
Increase the value of parameter for factory settings (used when
config can't be loaded or on 'set default' command).
2016-08-19 20:20:24 +01:00
Piotr Gregor fb065a148a FS-9447: [mod_avmd] increase default value of samples to skip
Increase value of samples to skip at the beginning of new frame.
This increases the robustness against false detections observed
on German voicemail from Switzerland (see wav audio attached
to case FS-9447).
2016-08-19 19:44:31 +01:00
Brian West 2636141c32 Revert FS-8565, its getting a few blames for 3cx interop issues, we need to revisit the original reason and make sure this was the right fix. 2016-08-18 15:12:28 -05:00
Luis Azedo f8c2abc189 FS-9441 optional skip member outcall beep 2016-08-18 11:04:08 -05:00
Luis Azedo ea5b39365a FS-9440 add transfer_destination 2016-08-18 10:23:55 -05:00
Anthony Minessale bfb9e96f84 FS-9437 #resolve [Delete avatar if video is enabled mid-call] 2016-08-17 18:22:20 -05:00
Anthony Minessale b9733c577c FS-9436 #resolve [RTCP PLI Media Source SSRC wrong after re-INVITE] 2016-08-17 18:22:20 -05:00
Brian West 3c92bad18e FS-9425 fix copy and paste error where we were not setting the height properly. 2016-08-17 12:52:40 -05:00
Brian West ffb93653ab Merge pull request #859 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9183-call-with-t.38-reinvite-fails-after to master
* commit '5b71dffb8004c6e7045afeaf42c6a785c7496975':
  FS-9183: [mod_sofia] Handle 415 Unsupported Media Type as 488
2016-08-17 10:59:17 -05:00
Antonio 9cd2dbbddb FS-9398 solve missing variables in sofia events expire and unregister 2016-08-17 09:50:08 +02:00
Mike Jerris f8bcc9d126 Merge pull request #883 in FS/freeswitch from ~LORNI/freeswitch:feature/FS-9256-add-db.finalize-in-order-to-close to master
* commit '36ffb292983b11702a90be48d9054ffbbd87dcd8':
  FS-9256: mod_v8: Add DB.Finalize() in order to close statements.
2016-08-16 14:00:31 -05:00
Mike Jerris dc4ae1f700 Merge pull request #926 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9424-__byte_order-macro-not-defined-correctly to master
* commit '2febb55761a83d5b295e784056f59238dc4e4754':
  FS-9424 #resolve Define byte order correctly on Solaris/SPARC
2016-08-16 13:19:36 -05:00
Mike Jerris 42936d2187 Merge pull request #927 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9423-segfault-if-sofia-profile-param-local-network-acl to master
* commit '8928852d66c5f1c00c52bf8cf0c56372bd36540f':
  FS-9423 #resolve Handle null value in ACL list name
2016-08-16 13:16:28 -05:00
Mike Jerris 69bf551c0e Merge pull request #924 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9069-avmd-add-total-time-to-beep-event to master
* commit '9fbf9d02e34066c6d7dd19d9fb080df1b6f02089':
  FS-9069: [mod_avmd] add detection time to beep event
2016-08-16 13:15:23 -05:00
Anthony Minessale c278c9f63f FS-9375 #resolve [DTMF not working on OPUS after Call Transfer ] #comment Can we try to reproduce with this version on all 3 boxes (not just the patch but the whole rev as-is) 2016-08-15 17:10:42 -05:00
Spencer Thomason 8928852d66 FS-9423 #resolve Handle null value in ACL list name 2016-08-12 13:38:10 -07:00
Anthony Minessale eeba18394d FS-9410 #resolve [PLI Missing Media Source SSRC] 2016-08-12 14:28:45 -05:00
Anthony Minessale 2e3227b50f FS-9422 #resolve [Freeswitch Exit/Crash on SDP Negotiation] #comment renegotiate-codec-on-hold renegotiate-codec-on-reinvite are both removed in this commit 2016-08-12 14:10:23 -05:00
Spencer Thomason 2febb55761 FS-9424 #resolve Define byte order correctly on Solaris/SPARC 2016-08-11 18:42:23 -07:00
Spencer Thomason 5b71dffb80 FS-9183: [mod_sofia] Handle 415 Unsupported Media Type as 488
Handle 415 Unsupported Media Type the same as 488 Not Acceptable Here
after t.38 ReINVITE. This resolves an issue where the call would fail and
translates the response code to the more standard 488 Not Acceptable Here
allowing the call to continue in audio mode.

FS-9183 #resolve
2016-08-11 15:13:48 -07:00
Mike Jerris 35eae5c9cb Merge pull request #887 in FS/freeswitch from ~MZAKA/freeswitch:feature/FS-9276-proxy-notify-info to master
* commit '589a0e682e67054bd1b2f351629b0af0e5ec3035':
  FS-9276 new feature proxy in-dialog calls sip notify and info similar to proxy hold
2016-08-11 14:31:31 -05:00
Anthony Minessale 48cec71c76 FS-9419 #resolve [Add event_channel_broadcast api] 2016-08-11 10:41:42 -05:00
Anthony Minessale a3648f244f tweak on yesterday's commit 2016-08-11 10:04:01 -05:00
Anthony Minessale c79441d84e try to deliver locally to verto too 2016-08-10 21:57:42 -05:00
Italo Rossi 79689c4109 FS-9415 [mod_spy] - Increasing loop so we can also look for variable_verto_user and variable_verto_host 2016-08-09 16:17:30 -05:00
Piotr Gregor 9fbf9d02e3 FS-9069: [mod_avmd] add detection time to beep event
Add detection time to BEEP event and total session running
time to STOP event.
2016-08-08 17:23:57 +01:00
Josh Allmann 5f53464919 FS-9409: Wait for avformat reader thread before reading.
Attempting to read before the reader thread is ready causes a
spurious EOF and skipped playback.
2016-08-08 15:16:39 +00:00
Anthony Minessale 61c487c3e8 Revert "FS-8761 #resolve [Memory leak in FreeSWITCH]"
This reverts commit 341e94b28d.
2016-08-06 11:47:07 -05:00
William Henry 1ba5f06947 FS-9403 #resolve [add timestamp for when user was pushed into queue that lives with the channel] 2016-08-04 09:44:19 -04:00
Anthony Minessale 341e94b28d FS-8761 #resolve [Memory leak in FreeSWITCH] 2016-08-03 23:57:00 -05:00
Michael Jerris 9030e13589 FS-9401: [core,mod_amqp] fix leak in usage of hash itterator 2016-08-03 18:41:18 -05:00
Giovanni Maruzzelli f5e8257da6 FS-9380: switch_core_media.c , cleaned from logging 2016-08-03 16:55:34 -04:00
Giovanni Maruzzelli 4a520d4a1e FS-9380: switch_core_media.c , fix_ext-rtip-ip_not_used_when_originating 2016-08-03 16:44:38 -04:00
Muhammad Zaka 589a0e682e FS-9276 new feature proxy in-dialog calls sip notify and info similar to proxy hold 2016-08-01 11:44:12 +01:00
Seven Du e2928b8a75 FS-9394 #resolve fix h263 leak 2016-07-30 10:28:25 +08:00
Mike Jerris ac2734e90c FS-9369: [core_media] add_ice_candidates=true var to enable inserting ice candidates in outgoing sdp 2016-07-29 13:36:29 -04:00
Anthony Minessale 9fe7c48df7 FS-9390 #resolve ['Segmentation fault' during call setup] 2016-07-28 16:27:17 -05:00
Anthony Minessale f34dac749e revert FS-9368 2016-07-28 14:13:37 -05:00
Spencer Thomason a2fd327fa7 FS-9386: [mod_snmp] Use net-snmp-config for SNMP libs if available
FS-9386 #resolve
2016-07-26 21:18:10 -07:00
Anthony Minessale 0dc59995c6 FS-9382 2016-07-26 21:33:14 -05:00
John Briscoe 3227b02194 do not destroy conference if ghost(s) are present, add ghost count check before setting flag 2016-07-26 13:18:41 -07:00
Mike Jerris 2c86910092 FS-9381: [mod_sofia] fix leak in sofia_presence_chat_send 2016-07-25 14:01:52 -04:00
Seven Du 7df07d30e0 FS-9357 handle packet loss, reset decoder on mem err 2016-07-24 20:44:39 +08:00
Seven Du 18f1d56891 FS-9357 cleanup and tweak debug 2016-07-24 12:35:30 +08:00
Anthony Minessale e42997ef08 FS-9376 #comment please try this 2016-07-22 22:43:55 -05:00
Brian West 9879731f8f FS-9334 2016-07-21 22:11:29 -05:00
Anthony Minessale c556e5269b FS-9368 2016-07-21 14:32:04 -05:00
Anthony Minessale ec2734c10c FS-9334 revert 2016-07-21 03:22:37 -05:00
Brian West 9ff1a506d0 FS-9357 #resolve [VP9 codec screenshare on mod_conference (mux/transcode) does not work] 2016-07-19 16:25:33 -05:00
nneul at mst.edu 0fd6667fd2 [FS-9367] log session counts at channel state change 2016-07-19 13:03:12 -05:00
Mike Jerris 8e1fb95251 Merge pull request #911 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-9230-customize-video-muted-banner to master
* commit '14f9b576f165a86957ec552b92bca42e6abc87e0':
  FS-9230: Customize video muted banner
2016-07-19 12:41:32 -05:00
Chad Phillips 14f9b576f1 FS-9230: Customize video muted banner
Allows customizing the banner displayed when video is muted, via conference
param 'video-mute-banner' per conference, or channel var 'video_mute_banner'
per user.

Foreground/background colors, font face/size, and text can all be customized.
2016-07-19 10:16:41 -07:00
Anthony Minessale 35ee4ee593 FS-9365 #resolve [SDP Format on reply to RE-INVITE does not appear to be RFC-4566 compliant] 2016-07-18 15:41:19 -05:00
Anthony Minessale 5cbe57841e FS-9289 #resolve [MOH issue] 2016-07-18 14:15:27 -05:00
Anthony Minessale d9700b36a3 FS-9259 #resolve [Missing "m=image 0" when replying to INVITE with disable image line] 2016-07-18 13:00:00 -05:00
Anthony Minessale 6bc535fd65 FS-9353 #resolve [clear-vid-floor produces error, while working] 2016-07-18 12:39:37 -05:00
Anthony Minessale f43522877c FS-9356 #resolve [DTMF not recognized when coming from a Cisco SIP trunk] 2016-07-18 11:11:32 -05:00
François 0df7e787ce FS-9355: fix segfault in case of null frame 2016-07-18 11:22:01 +02:00
Anthony Minessale b353922488 FS-9352 #resolve [ptime adjust issues on opus] 2016-07-14 17:54:59 -05:00
Anthony Minessale 0b3f776d7d FS-9343 #resolve [Sending a Message using the mod_smpp module via Nexmo Fails] 2016-07-12 15:47:08 -05:00
Anthony Minessale 328146c2fd FS-9345 #resolve [HTTAPI truncates string when response spans multiple packets] 2016-07-12 10:54:08 -05:00
Muhammad Zaka addf7555bf FS-9277: sip info with record: on and off doesn't start and stop call recording sessions 2016-07-11 14:27:49 +01:00
Michael Jerris 9e89639c4d Revert "Fix for FS-9313"
This reverts commit cf6107963c.
2016-07-08 17:00:22 -04:00
Michael Jerris aae7f06d7a FS-9337: fix invalid sdp generated with soa disabled 2016-07-08 15:59:02 -04:00
Mike Jerris eaf1eb0d2d Merge pull request #901 in FS/freeswitch from ~HOENE/opus-stereo-2-mono:master to master
* commit 'cf6107963ca997f5ef25527d16f98626213047a9':
  Fix for FS-9313
2016-07-08 14:28:09 -05:00
Mike Jerris e21e6065d2 Merge pull request #886 in FS/freeswitch from ~MGROOMS/freeswitch-matthew:bugfix/detect_audio_silence to master
* commit '6c3710df4dc14751b60ba8f8ed4780e0f6288ec8':
  FS-9264: Introduce two new api calls named detect_audio and detect_audio_silence. The existing wait_for_silence call never actually waits for silence until it first detects non-silence. There is also no way to set an independent timeout for detecting both the non-silence and then silence. This causes problems when wait_for_silence is called on an already quiet channel. Splitting the function up into two separate calls with separate timeouts offers more flexibility.
2016-07-08 14:26:51 -05:00
Piotr Gregor d49b66c922 FS-9009 [mod_avmd] #fix warning on Windows
Initialize variance of amplitude - avoid (incorrect) warning
2016-07-08 17:46:28 +01:00
Piotr Gregor 6d614ac1a7 FS-9009 [mod_avmd] #fix build on Windows
Windows VC doesn't accept function __attribute__(s)
2016-07-08 17:07:23 +01:00
Anthony Minessale 0379c2a60f FS-9334 #resolve [Jitterbuffer mods] 2016-07-07 22:50:20 -05:00
William King 5d39170ccd FS-9310 Part two. Properly destroy the timeout struct after the message has sent, or timed out. 2016-07-07 15:35:24 -07:00
William King e5f46faea2 Merge pull request #900 in FS/freeswitch from feature/FS-9310-native-support-for-flowroute-sms to master
* commit '35b816bb2758d0b73661b8e12091bdbe0165efc5':
  FS-9310 Native support for Flowroute SMS API over HTTP(S)
2016-07-07 17:23:44 -05:00
William King 35b816bb27 FS-9310 Native support for Flowroute SMS API over HTTP(S) 2016-07-07 15:22:36 -07:00
Anthony Minessale f893f2486a FS-9333 #resolve [Disable video refresh by sip INFO by default] 2016-07-07 13:39:02 -05:00
Anthony Minessale 8c6b2657bf FS-9328 #resolve [switch_jb_peek_frame uses wrong len] 2016-07-06 13:19:46 -05:00
Anthony Minessale 3a3f456e88 FS-9316 #resolve [INVITE with empty SDP from Cisco VCS cannot setup video] 2016-07-06 11:36:54 -05:00
François f6192c7949 FS-9241: follow-up patch to fix a mistake in fetching profile url 2016-07-06 17:29:15 +02:00
Brian West 2c3c6b9b68 Merge pull request #880 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-9241:master to master
* commit '78c2ed0526e25c10241ceb918e73aef02446ffd2':
  FS-9241 Use tls_public_url instead of tls_url in INVITE Contact when NAT is detected
2016-07-05 15:01:08 -05:00
Mike Jerris ecaa3968f4 Merge pull request #904 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9009-avmd-amplitude-estimation to master
* commit 'a77387456d9a4fe7334ab9c7ff4c9f5f66686d3b':
  FS-9009 [mod_avmd] Amplitude estimation
2016-07-05 14:38:43 -05:00
Brian West 0ab9f5156e FS-9267 fix regression 2016-07-05 13:27:36 -05:00
François 78c2ed0526 FS-9241 Use tls_public_url instead of tls_url in INVITE Contact when NAT is detected 2016-07-05 17:15:04 +02:00
Piotr Gregor a77387456d FS-9009 [mod_avmd] Amplitude estimation
Add DESA-2 estimation of signal amplitude
2016-07-04 16:33:58 +01:00
Mike Jerris 7f623fc0c8 Merge pull request #902 in FS/freeswitch from ~MZAKA/freeswitch:bugfix/FS-9278-zoip-hold to master
* commit '9988d8d9059c65194d536824db95546081d292b2':
  FS-9278: sending sendonly instead of sendrecv media attribute in SDP when unholding call when Zoiper softphone had responded with inactive
2016-07-01 12:31:14 -05:00
Chris Rienzo f0a36960c7 FS-9315 [mod_http_cache] add support for video file formats 2016-07-01 13:09:51 -04:00
Muhammad Zaka 9988d8d905 FS-9278: sending sendonly instead of sendrecv media attribute in SDP when unholding call when Zoiper softphone had responded with inactive 2016-07-01 16:36:22 +01:00
Anthony Minessale fb49d73e1c FS-9320 #resolve [Adjust buffering based on frame rate differential] 2016-07-01 09:14:19 -05:00
Michael Jerris a6b4934ea8 FS-9314: [mod_conference] fix crash when starting conference in mux mode while specifying or defaulting to a layout group that does not exist. We will now fall back to transcode mode in this case. 2016-06-30 12:27:53 -05:00
Anthony Minessale e3d3daef6a FS-9312 #resolve [unreachable code block in switch_core_media] 2016-06-30 10:50:57 -05:00
Christian Hoene cf6107963c Fix for FS-9313 2016-06-30 14:04:25 +02:00
Michael Jerris 1448ada505 FS-9307: [mod_conference] don't close files until after video threads are done to avoid race condition trying to use closed file handle when playing a video file 2016-06-28 14:02:02 -05:00
Michael Jerris 78ebfff8e3 FS-9305: [mod_conference] return the logo image path from video-logo-img api and handle passing no image path 2016-06-28 12:11:12 -05:00
Brian West a954550c82 FS-9303 these checks are no longer needed as the video flag is not sent to file open unless we are in transcode mode, you can record mp4 but it will only contain the audio if in passthru mode. 2016-06-28 11:28:53 -05:00
Brian West 9508370de8 Revert "FS-9303 add CONF_VIDEO_MODE_NONE so we don't default to CONF_VIDEO_MODE_PASSTHROUGH"
This reverts commit 7150cede34.
2016-06-28 11:04:24 -05:00
Brian West 7150cede34 FS-9303 add CONF_VIDEO_MODE_NONE so we don't default to CONF_VIDEO_MODE_PASSTHROUGH 2016-06-28 10:59:24 -05:00
Anthony Minessale bf34d03469 FS-9221 Add inactive support 2016-06-27 17:25:59 -05: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
Michael Jerris 21bfc317f1 FS-9301: [mod_sofia] handle race condition on startup of mod_sofia in error conditons causing segfault 2016-06-27 15:56:47 -05:00
Michael Jerris 5c9f98b016 FS-9297: [mod_sofia] fix multiple crashes from passing invalid null values in sofia.conf 2016-06-24 16:45:29 -05:00
Anthony Minessale ce087fcea6 FS-9296 #resolve [Video support for mod_httapi] 2016-06-23 16:07:31 -05:00
Anthony Minessale 459a696eba FS-9292 #resolve [Core dump playing videos or show images] 2016-06-22 17:10:59 -05:00
Anthony Minessale c4ebb8485a FS-9292 #resolve [Core dump playing videos or show images] 2016-06-22 16:39:43 -05: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
William King dc13f59ee8 FS-9283 --resolve 2016-06-20 08:59:04 -07:00
Matthew Grooms 6c3710df4d FS-9264: Introduce two new api calls named detect_audio and detect_audio_silence. The existing wait_for_silence call never actually waits for silence until it first detects non-silence. There is also no way to set an independent timeout for detecting both the non-silence and then silence. This causes problems when wait_for_silence is called on an already quiet channel. Splitting the function up into two separate calls with separate timeouts offers more flexibility. 2016-06-16 15:34:37 -05:00
Anthony Minessale b0be5d6737 FS-9267 #resolve [Raw decoded image from vpx codec is corrupted by video media bugs that modify the image] 2016-06-15 21:09:02 -05:00
Mike Jerris dd5c4a539c Merge pull request #865 in FS/freeswitch from ~MZAKA/freeswitch:feature/FS-9192-proxy-hold to master
* commit '05cc7708188fa040dcb903cdcdae28990fa177a8':
  FS-9192-proxy-hold: proxy hold when proxy media and proxy mode are disabled; its similiar to proxy-refer
2016-06-15 18:38:07 -05:00
Michael Jerris 2475c2686f FS-9271: [mod_conference] fix segfault trying to record a canvas that does not exist 2016-06-15 18:36:12 -04:00
Muhammad Zaka 05cc770818 FS-9192-proxy-hold: proxy hold when proxy media and proxy mode are disabled; its similiar to proxy-refer 2016-06-15 10:10:47 +01:00
Seven Du c0499fbb22 FS-9266 #resolve 2016-06-15 09:34:26 +08:00
Anthony Minessale 5fea56286e FS-9265 #resolve [INCOMPATIBLE_DESTINATION when there is no rtcp] 2016-06-14 15:29:27 -05:00
Anthony Minessale 8fe1a584c8 FS-9244 fix debug lines 2016-06-14 13:27:17 -05:00
Anthony Minessale 18dbefa6da FS-9214 regression 2016-06-13 12:46:42 -04:00
Andrey Volk 36ffb29298 FS-9256: mod_v8: Add DB.Finalize() in order to close statements. 2016-06-13 12:25:22 +03:00
Piotr Gregor ee4c01b05e FS-9254: [avmd] fix windows build
Fix int-to-uint8_t conversion warnings
due to usage of switch_true when parsing config
2016-06-10 23:32:21 +02:00
Anthony Minessale 27e4615c8c FS-9244 #resolve [RFC2833 payload_type offered is ignored] 2016-06-10 15:48:01 -05:00
Anthony Minessale d4daa8a051 FS-9246 #resolve [No Audio after Call transfer ] 2016-06-10 15:01:37 -05:00
Mike Jerris 047731584b Merge pull request #874 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9142-avmd-dynamic-settings-reopened to master
* commit '54d7c13a11f8bb49298bf30b89b0f59e99ed9320':
  FS-9142 [avmd] Dynamic settings
2016-06-09 17:01:58 -05:00
Italo Rossi 0f3204feb3 FS-9248 [mod_callcenter] Adding truncate-tiers-on-load and truncate-agents-on-load options. 2016-06-09 16:53:21 -03:00
Anthony Minessale e7758cb724 FS-9247 #resolve [Table with message type names not updated when enum was updated by sangoma patch] 2016-06-09 13:33:38 -05:00
Anthony Minessale 718142bb12 FS-9144 #resolve [Implement video-mute-exit-canvas and recording in personal-canvas mode.] 2016-06-09 13:02:52 -04:00
Seven Du 3910dab95a FS-8979 #comment fire event when done 2016-06-09 06:58:40 +08:00
Di-Shi Sun dd8695457d FS-9238: [mod_osp] Updated for OSP Toolkit 4.11.3.
Updated for OSP Toolkit API.
Updated sample configuration file.
Updated documentation.
2016-06-07 23:37:14 -04:00
Anthony Minessale 18331dd241 FS-9219 #resolve [Re-INVITE with no SDP ] #comment use bypass_media_after_bridge_oldschool=true to enable back-compat bypass media after bridge 2016-06-07 17:39:35 -05:00
Michael Jerris 2409c20c73 FS-7397: fix segfault due to memory corruption on using mod_translate app. The session pool was being freed incorrectly after using the app instead of when the session pool was destroyed 2016-06-07 12:25:30 -05:00
Anthony Minessale b9d31dc9b7 FS-9214: fix 3pcc behavior
Fix callflow issues with  3pcc=true and 3pcc=proxy and interactions with sip_wait_for_aleg_ack
removes passthrough of 183 on 3pcc=proxy (that was previously not functioning)
2016-06-07 11:43:08 -05:00
Giacomo Vacca 79b214a1e5 FS-9235: Fix sending RTCP in switch_core_media 2016-06-07 17:04:33 +02:00
Michael Jerris 9d7fe2430e swigall 2016-06-06 10:09:02 -05:00
Piotr Gregor 54d7c13a11 FS-9142 [avmd] Dynamic settings
Add check of per session settings
in avmd_callback and init_avmd_session
2016-06-05 15:56:06 +01:00
Michael Jerris 15d250ed7c FS-9136: update other modules to match api change 2016-06-03 18:21:08 -05:00
Michael Jerris 4a536dd23c FS-9136: remove unused vars 2016-06-03 17:00:50 -05:00
Anthony Minessale 50d7a80fa3 FS-9136: allow multiple instances of same video codec with different fmtp 2016-06-03 16:16:32 -05:00
Sergey Khripchenko 2766eaf49e FS-9225: [mod_sofia] Allow to force SIP REGISTER Expires: to be within configured range.
Allow to force SIP REGISTER Expires: to be within MIN and MAX values.
Not just to force it to one specific value using "sip-force-expires".

New profile parameters:
  "sip-force-expires-min"
  "sip-force-expires-max"
2016-06-03 05:30:01 -07:00
Anthony Minessale 46b9ace417 FS-9197 2016-06-02 19:13:22 -05:00
Anthony Minessale 79229cdb8a FS-9197 2016-06-02 15:53:38 -05:00
Mike Jerris cfd2931782 Merge pull request #866 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9142-avmd-dynamic-settings to master
* commit 'eb369130d97802e3e739cebace38d76887cdf450':
  FS-9142 [avmd] Dynamic settings
2016-06-02 15:34:45 -05:00
Anthony Minessale 885fe3b25c FS-9197 2016-06-02 13:14:26 -05:00
Ken Rice 9ca13303f4 FS-9222 small tweak to freeswitch console to strip leading spaces from commands 2016-06-02 12:21:11 -05:00
William King d5e390aba5 Merge pull request #852 in FS/freeswitch from ~MZAKA/freeswitch:bugfix/FS-9156-increments-when-call-limit-reached-improve to master
* commit 'f8b3140fed1650828d13349a7f9a63a73b29542e':
  FS-9156: Code Improvement for the non-interval increment when limit reached
2016-06-02 11:44:51 -05:00
Muhammad Zaka f8b3140fed FS-9156: Code Improvement for the non-interval increment when limit reached 2016-06-02 09:57:17 +01:00
Jose Fco. Irles b36cef731c FS-9216: [mod_sofia] Add Cisco SPA30X and Grandstream GXP user agents to send UPDATE 2016-06-01 16:58:40 +02:00
Anthony Minessale c0d9901b8b FS-9150 #resolve ["video-mute-exit-canvas" param combined with "video-bridge-first-two" causes video feed to flip back and forth between feeds when users video-mute] 2016-05-31 20:35:00 -05:00
Mike Jerris e4b141c5f8 Merge pull request #860 in FS/freeswitch from ~SJTHOMASON/freeswitch:feature/FS-9184-allow-show-calls-to-be-filtered-by to master
* commit '800655f774f12d76883f3a07ee35782006fb4c03':
  FS-9184: Allow show calls to be filtered by accountcode
2016-05-31 13:43:09 -05:00
Michael Jerris 0421052b14 FS-9212: [mod_conference] fix conference recording api when using default canvas number 2016-05-31 12:37:58 -04:00
Piotr Gregor eb369130d9 FS-9142 [avmd] Dynamic settings
Add checking of per session settings
with locking synced on avmd session mutex
2016-05-30 23:23:16 +02:00
Anthony Minessale 57aa22638c FS-9207 #resolve [Add ignore_sdp_ice=true to ignore ICE when parsing an SDP] 2016-05-27 14:52:51 -05:00
Mike Jerris a838c29e41 Merge pull request #862 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9188 to master
* commit '08199210c1f548a1aa9a302c32eb89fabbf90301':
  [mod_sofia] [FS-9188] added channel var to suppress auto-answer notify
2016-05-26 16:28:07 -05:00
nneul at mst.edu 68892535ca FS-9199 easier memory allocation debugging and analysis 2016-05-26 16:08:21 -05:00
Anthony Minessale 67e1db09d3 FS-9198 #resolve [Small memory leaks in mod_skinny] 2016-05-26 10:10:05 -05:00
nneul at mst.edu ae8e5cb118 FS-9202 [mod_skinny] fix leak in speed dial 2016-05-25 14:14:03 -05:00
nneul at mst.edu 8339c1f980 FS-9201 [mod_skinny] fix leak in api call to list devices 2016-05-25 13:57:46 -05:00
Anthony Minessale 0151b8eddd FS-9106 followup and tweaks on this patch after some testing 2016-05-25 10:59:15 -05:00
nneul at mst.edu e26dbafa6a FS-9198 [mod_skinny] fix small memory leaks 2016-05-25 10:40:28 -05:00
Seven Du 93e401e78b FS-8979 #resolve #comment please test 2016-05-24 17:36:39 +08:00
Mike Jerris d8164a95f2 Merge pull request #633 in FS/freeswitch from ~LAZEDO/freeswitch:FS-8652 to master
* commit 'dc7753f51667e235ec7171a697f14989c9759e6f':
  FS-8652 handle early-only param in replaces header
2016-05-23 14:27:27 -05:00
Luis Azedo dc7753f516 FS-8652 handle early-only param in replaces header 2016-05-23 18:59:42 +01:00
Spencer Thomason 800655f774 FS-9184: Allow show calls to be filtered by accountcode 2016-05-20 11:32:24 -07:00
karl anderson 08199210c1 [mod_sofia] [FS-9188] added channel var to suppress auto-answer notify 2016-05-20 10:49:40 +01:00
Spencer Thomason 585cccd940 FS-9185: fix format ifdefs for Solaris SPARC
Fix SWITCH_INT64_T_FMT and SWITCH_TIME_T_FMT definitions for Solaris/SPARC

FS-9185 #resolve
2016-05-19 18:43:05 -07:00
Michael Jerris 46f4fda018 remove extra condition code that can never be called 2016-05-19 15:31:03 -05:00
Ken Rice 2b10500231 FS-9160 #resolve tweak sip_invite_failure_* chan vars for properly reporting last outbound call failure when there are multiple bridge attempts on a single call 2016-05-18 15:29:59 -05:00
Anthony Minessale 969904bf46 FS-9153 #resolve [uuid_bridge issue on ESL] 2016-05-18 12:47:39 -05:00
Mike Jerris ae486fc7f7 Merge pull request #856 in FS/freeswitch from ~ANTONIO/fs-9034:master to master
* commit '465a0b6f1d3f229b4067c3db418b8f86c9fa2e47':
  FS-9034 revert commit in sofia.c that prevents register in new thread
2016-05-18 12:34:26 -05:00
Anthony Minessale 6300cd0773 FS-9167 #resolve [Playing file when all video feeds are vmuted does not show file] 2016-05-17 13:41:19 -05:00
Antonio 465a0b6f1d FS-9034 revert commit in sofia.c that prevents register in new thread 2016-05-17 18:40:27 +02:00
Michael Jerris 2c03025479 FS-9164: [core] add Session-Per-Sec-Last to heartbeat event 2016-05-16 14:48:46 -04:00
Anthony Minessale 1c9f6cc301 FS-9153 #resolve [uuid_bridge issue on ESL] 2016-05-16 12:23:11 -05:00
Mike Jerris 00a64734ed Merge pull request #850 in FS/freeswitch from ~VIPKILLA/fs-9148:bugfix/FS-9148 to master
* commit 'df4490a7dfcaa6a087ea436979292b38dc7a5072':
  FS-9148: add new voicemail.conf.xml param `send-full-vm-header`
2016-05-16 11:04:13 -05:00
Italo Rossi 8b6f40f967 FS-8584 - [mod_callcenter] Requesting agents and tiers when reloading queue
Before this callcenter_config queue reload [queuename] only reloads the queue
parameters and now it'll include a CC-Queue header with the queuename when using
mod_xml_curl and request a new config for updating agents and tiers related to the
queue.

If you are using mod_xml_curl please make sure to return the raw xml config file
with all the settings, queues, agents and tiers tags when we request the config
without a CC-Queue specified. If this header is present you can build the xml with
items only related to the queue requested.
2016-05-13 22:21:04 -03:00
Emmanuel Schmidbauer df4490a7df FS-9148: add new voicemail.conf.xml param `send-full-vm-header` 2016-05-12 15:44:39 -04:00
Michael Jerris 8a4ad0da03 Revert "FS-9148: add new voicemail.conf.xml param `send-full-vm-header`"
This reverts commit 98cb363f18.

This commit does not compile
2016-05-12 15:05:56 -04:00
Mike Jerris cafe1872e7 Merge pull request #845 in FS/freeswitch from ~VIPKILLA/fs-9148:bugfix/FS-9148 to master
* commit '98cb363f187a8ba5ad21b5a722a4f6dcaac21243':
  FS-9148: add new voicemail.conf.xml param `send-full-vm-header`  - if enabled, `Voice-Message` header sends urgent new and urgent saved
2016-05-12 13:22:28 -05:00
Emmanuel Schmidbauer 98cb363f18 FS-9148: add new voicemail.conf.xml param `send-full-vm-header`
- if enabled, `Voice-Message` header sends urgent new and urgent saved
2016-05-12 14:14:10 -04:00
Piotr Gregor 1ea32d4009 FS-9010 [avmd] Dynamic passing of parameters
Add dynamic passing of parameters, initialize
session to dynamically passed arguments
or to default global config if dynamic init fails
2016-05-12 18:07:26 +01:00
Piotr Gregor 0a5145133b FS-9152 [avmd] #fix warnings on FreeBSD
Use function __isnan to avoid __Generic
type extension on FreeBSD. Clang 3.4.1 complains
about -Wc++11-extensions even when it has them
defined.
2016-05-12 02:24:14 +01:00
Seven Du ce1b7c5857 FS-9151 #resolve 2016-05-11 14:49:21 +08:00
Hesaam Farhang 8153b6fdee FS-9132: [mod_kazoo] remove whitespaces 2016-05-06 10:47:51 -07:00
Hesaam Farhang b5169e770c FS-9132: [mod_kazoo] Add more vars to default filter 2016-05-06 10:46:55 -07:00
Peter Wu 69d643b53f Properly handle NULL var_name for switch_play_and_get_digits
Do not set "_invalid" in case var_name is empty or unset. While at it,
clear the "foo_invalid" variable before doing anything else when a regex
is passed, this ensures that the variable really reflects the current
run.

Fixes an issue in original FS-7783 feature.
2016-05-06 18:33:32 +02:00
Michael Jerris a8288ec1a9 FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string 2016-05-05 11:33:09 -04:00
Michael Jerris 002079d0e7 FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string 2016-05-05 11:30:41 -04:00
Michael Jerris 23a1d37ae7 FS-9131: improve validation of ice candidates 2016-05-04 13:34:40 -04:00
Mike Jerris d9af043dde Merge pull request #836 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9124-avmd-extend-xml-config to master
* commit '9415487ae97bca42a3829a96459ded681560db16':
  FS-9124 [avmd] Extend XML config
2016-05-03 11:47:09 -05:00
Piotr Gregor 9415487ae9 FS-9124 [avmd] Extend XML config
Add number of continuous streak samples.
2016-05-03 16:55:02 +01:00
Moishe Grunstein 3779c7d571 FS-9070 Update config.sub and config.guess
Older versions of automake created files that were unaware of newer system architectures, tested with Debian 8.4 and Centos 7
2016-05-03 11:12:11 -04:00
Seven Du 6fc6efa0fd FS-8795 #resolve #comment trying support audio only call in mod_png, please test 2016-05-03 10:03:34 +08:00
Seven Du 5a45c863b5 FS-9115 #resolve #comment trying to support audio only mp4 recording, please test 2016-05-03 09:23:36 +08:00
Italo Rossi 8e112294bf Merge pull request #816 in FS/freeswitch from ~FLOKR/freeswitch:feature/FS-9079-adding-new-strategy-to-mod_callcenter to master
* commit '8b42c77c3b63abd0f75819cc183150663cc58a1d':
  FS-9079: [mod_callcenter] Add ring-progressively strategy
2016-05-02 12:42:10 -05:00
Florent Krieg 8b42c77c3b FS-9079: [mod_callcenter] Add ring-progressively strategy
A new strategy is now available through mod_callcenter, which aim
is to provide a mix between top-down and ring-all strategies.

If set to ring-progressively, the strategy will call an agent, and
then a second agent, and then a third agent, without cancelling
previous calls.

The delay between each call is 10 sec by default, but it can be
changed using the queue variable ring-progressively-delay.
2016-05-02 10:26:20 +02:00
Italo Rossi 96e963d3eb Merge pull request #691 in FS/freeswitch from ~RAJESH.VAYA/freeswitch:feature/mod_callcenter-json-api to master
* commit '23e53df7211aaaa8168b185411c85d0a35be2d33':
  FS-8799 [mod_callcenter] Add JSON API interface for mod_callcenter
2016-05-01 20:40:35 -05:00
Piotr Gregor f476e23c00 FS-9117 [avmd] #fix build on Windows 2016-04-29 19:27:55 +01:00
Anthony Minessale db4693b570 FS-9100 #resolve [Recording Fails if There Are Zero Webcams] 2016-04-28 14:32:24 -05:00
Mike Jerris 94d3f62aef Merge pull request #824 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:feature/FS-9011-avmd-add-configuration-file to master
* commit 'bf140e9b68a68ff1da2546012524350a5e504ae5':
  FS-9011 [avmd] Add XML config
2016-04-28 13:11:40 -05:00
Piotr Gregor bf140e9b68 FS-9011 [avmd] Add XML config
Add XML configuration file.
Bind reloadxml callback.
Add safe parsers of user's input.
Add show/set/load/reload API commands.
2016-04-28 14:22:51 +01:00
Anthony Minessale 8bd56deb4e FS-9086 #resolve [Video files playing in mod_conference do not count in totals for calculating layout] 2016-04-27 12:23:10 -05:00
Brian West ff169d8133 Revert "FS-8704: Add min-members, wait-min-members-timeout, wait-mod-timeout, wait-min-members-timeout-message, wait-mod-timeout-message, endconf-mod-exit-message, and endconf-message parameters and functionality to mod_conference."
This reverts commit c39fbb295f.
2016-04-27 11:00:29 -05:00
Anthony Minessale 0685a073ed FS-9106 up default FPS to 30 2016-04-26 23:19:25 -05:00