576 Commits

Author SHA1 Message Date
Hunyadvári Péter
74f47cb0ed FS-11046: [mod_dptools] Better logging for rename_function 2018-04-03 10:15:33 +02:00
Marc Olivier Chouinard
348c2c42bb FS-10608: Change 60 second timeout value to a global #define SWITCH_DEFAULT_TIMEOUT 2017-08-29 13:54:34 -04:00
Anthony Minessale
db47792558 FS-10447: [freeswitch-core] Manual video refresh mode #resolve 2017-06-29 16:57:18 -05:00
Anthony Minessale
35865bd90c FS-10118: [freeswitch-core] Race conditions from lack of error checking in switch_core_session_read_lock #resolve 2017-03-09 13:22:25 -06:00
Mike Jerris
25bbb42ec2 FS-10001: [core] Fix Buffer overflow collecting digits 2017-03-06 12:51:29 -06:00
Armen Babikyan
6ed86abf9f FS-9300: Add support for disabling sofia's 100 Trying via configuration, and sending 100 Trying from dialplan 2017-02-13 14:49:05 -08:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Brian West
5ec6248dff Merge pull request #1086 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9794 to master
* commit 'ac14496c73c8f15e1b433189fe6bf78e31b772ec':
  FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause
2016-12-02 11:36:33 -06:00
romana
c20fa5e8f7 FS-9734: updated keys to be set in memory on att_xfer execution 2016-11-30 17:37:59 -05:00
Brian West
a39b862e1d FS-9734: fix this so we don't allocate memory using switch_channel_get_variable on every digit, Only do it once. 2016-11-30 15:20:29 -06:00
Marc Olivier Chouinard
ac14496c73 FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause 2016-11-30 15:19:43 -05:00
romana
aadd81d6d3 FS-9734: added new channel vars in att_xfer which allow cancel, hangup and conf keys to be changed 2016-11-21 17:39:27 -05:00
Mike Jerris
6393832c7c Merge pull request #1043 in FS/freeswitch from ~PERRO/freeswitch:feature/FS-9325 to master
* commit 'b5266ed6b44a8219be55a3f81726dbde69e8994a':
  FS-9325 [mod_dptools] Priority flag for faster bind_digit_action matches
2016-11-11 15:37:43 -06:00
Mike Jerris
b0b6db050a Merge pull request #1041 in FS/freeswitch from ~PERRO/freeswitch:bugfix/FS-9323 to master
* commit '8d8543d0c822d7f2dffa84913b869b539eb341d0':
  FS-9323 [mod_dptools] raise bind_digit_action event on correct leg
2016-11-11 15:37:14 -06:00
Mike Jerris
76b990a503 Merge pull request #1040 in FS/freeswitch from ~PERRO/freeswitch:FS-9319 to master
* commit '6e8508f2a078963594129a83b15b4f919c496d61':
  FS-9319 [mod_dptools] Support "both" in clear_digit_action
2016-11-11 15:36:36 -06:00
Anthony Minessale
9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06: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
Chris Rienzo
dd17a57c8a FS-9694 [mod_dptools] Add origination_uuid support to pickup endpoint 2016-11-03 16:35:03 -04:00
Brian West
20b5bd675d FS-9629: add isfocus to replies, and add is_conference support to pre_answer 2016-10-31 10:45:29 -05:00
Anthony Minessale
c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Anthony Minessale
c591a212e8 FS-9538 #resolve [segfault while reading local ringback file] 2016-09-19 13:11:11 -05: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
2cf9962f61 FS-8914 2016-03-09 00:02:59 -06:00
Anthony Minessale
550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Anthony Minessale
66fe6e5a46 FS-8811 #comment please test 2016-03-03 18:37:42 -06:00
Anthony Minessale
2fce618f63 FS-8234 #resolve 2015-10-09 13:00:15 -05:00
Anthony Minessale
a53659c086 FS-7929 #resolve [ignore_early_media=true behaviour] 2015-10-08 13:17:39 -05:00
Anthony Minessale
f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Mike Jerris
5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -04:00
Michael Jerris
164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Michael Giagnocavo
5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Michael Jerris
e0ef31930d FS-7846: [mod_dptools] add eavesdrop_whisper_aleg=true and eavesdrop_whisper_bleg=true channel variables to allow you to start eavesdrop in whisper mode of specific call leg 2015-07-17 16:28:50 -05:00
Anthony Minessale
f726cb9a53 FS-7769: [mod_conference] Add new multi-canvas and telepresence features
mod_conference new features:
add conference layout "1x1+2x1" and add to layout group grid
add conference flag video-bridge-first-two conference flag
add conference flag video-required-for-canvas to only use avatars for members with video
add conference flag video-muxing-personal-canvas
add conf_verto_ prefix for variables to pass on live array subscription notice
add api command conference foo vid-canvas <member_id|all|last|non_moderator> [<newval>]
add api command conference foo vid-layer <member_id|all|last|non_moderator> [<newval>]
add api command conference foo vid-watching-canvas <member_id|all|last|non_moderator> [<newval>]
changed api command conference foo vid-layout, args are now "<layout name>|group <group name> [<canvas_id>]"
add channel vars you can set before entering conference video_initial_canvas and video_initial_watching_canvas
add many new output status vars to conference list api
add new conference member flag "second-screen"
add config param video-canvas-count
add config param video-super-canvas-label-layers
add config param video-super-canvas-show-all-layers
add config param video-super-canvas-bgcolor

verto client:
add google login
add hipchat js file
conf_verto_hipchatURL= to control what hipchat server appears if any
global device init and overrides
allow passing sessid
add confMan.canvasCount
add handling of multiple canvases and launching them, and controlling all of their layouts
re-layout moderator controls and add support for changing the watching and input canvas and layers
when launching another canvas, watch subscriptions for the original call so we can automatically close the additional window
maintain camera settings on call recovery
2015-07-13 18:03:16 -04:00
Mike Jerris
dde04772f7 Merge pull request #283 in FS/freeswitch from bugfix/FS-7572-broadcasting-multiple-wav-files-using to master
* commit '9049c004b70207a43b73c7b2b31d19410fc2c4bf':
  FS-7572: add some events for file open/close/fail when using file_string
2015-07-03 17:57:52 -05:00
Chris Rienzo
06f7040e21 FS-7720 improve play_and_detect_speech to set current_application_response channel variable as follows:
"USAGE ERROR": bad application arguments
    "GRAMMAR ERROR": speech recognizer failed to load grammar
    "ASR INIT ERROR": speech recognizer failed to allocate a session
    "ERROR": any other errors

  This is useful for determining that play_and_detect_speech failed because the recognizer is out of licenses
  giving the developer a chance to fall back to traditional DTMF menu navigation.
2015-06-24 11:50:53 -04:00
Michael Giagnocavo
f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Michael Jerris
9049c004b7 FS-7572: add some events for file open/close/fail when using file_string 2015-06-15 02:27:12 -04:00
Jeff Lenk
345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Anthony Minessale
81ef7703bd FS-7500: add video_write_overlay and stop_video_write_overlay
Use it to add an image to the write stream to see a recording banner on video echoed back to you during recording.
ARGS: <file> [<position>] [<opacity 0-255>]

POSITIONS:
left-top
left-mid
left-bot
center-top
center-mid
center-bot
right-top
right-mid
right-bot

<extension name="example">
  <condition field="destination_number" expression="^overlay$">
    <action application="answer"/>
    <action application="video_write_overlay" data="/path/to/img.png"/>
    <action application="record" data="/data/file.mp4"/>
    <action application="stop_video_write_overlay"/>
   </condition>
</extension>
2015-05-28 12:47:32 -05:00
Brian
40441413e0 Typo from previous convenience app commit 2015-04-16 07:50:07 -05:00
Brian
6a4c2b3406 convenience app 2015-04-15 17:01:12 -05:00
Chris Rienzo
c6ef0558ff FS-7406 added deduplicate_dtmf application 2015-04-01 14:08:49 -04:00
Chris Rienzo
21d1e6fc4b FS-7378 play_and_detect_speech: protect against NULL result 2015-03-18 15:30:12 -04:00
Dave Olszewski
2890afc918 FS-7285 allow eavesdrop to bridge only one leg
Add channel variables eavesdrop_bridge_aleg and eavesdrop_bridge_bleg,
and if one is set to true on the eavesdrop channel, bridge that leg from
the target.  If neither is specified, bridge both.
2015-02-14 14:45:15 -08:00
Tamas Cseke
83acda0413 file_string write failover FS-4930 2014-10-02 09:16:01 +02:00
Anthony Minessale
52ed525b97 fix channel count in embedded file formats 2014-08-06 00:25:04 +05:00
Michael Jerris
386000d877 CID:1024418 Unintentional integer overflow 2014-05-16 20:07:58 +00:00