Commit Graph

408 Commits

Author SHA1 Message Date
lazedo 168a3c068b FS-10968 [core] create recording vars
* moves channel vars starting with Recording-Variable- to record_helper
* uses record_helper variables for RECORD_START/STOP events
2019-03-26 22:28:13 +00:00
Mariah Yang 6ac8105944 FS-11601: Fix some core function prototype 2019-01-09 08:44:41 -05:00
Andrey Volk 82452988e2 FS-11547: [core] Fix broken record_sample_rate variable. 2018-12-21 02:17:27 +04:00
Dragos Oancea ef123b6c2e FS-11532: fix crash (87d4a6a0) 2018-12-10 14:38:46 -05:00
lazedo 0e0d588144 FS-11312 [core] prevent double firing record_start event 2018-10-16 07:27:40 +00:00
Seven Du b77f8444c6 FS-11406 #resolve allow displace session replace both read and write audio
uuid_displace cannot replace audio on both direction at the same time,
this patch add a w mux flag so when both rw used at the same time,
it will displace both directions, then both sides can hear the same audio.
2018-09-24 18:56:37 +00:00
Mike Jerris b96b109501 FS-11393: [core] set record_trimmed_ms at the end of record_session if the file interface has this info available 2018-09-19 17:13:00 +00:00
Mike Jerris 8cd4b16451 Merge pull request #1453 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-10826-fix-sample-rate to master
* commit '87d4a6a0c8efcd1104875a972573cb489d179bd7':
  FS-10826 [core] Fix file handler sample rate after transfer
2018-09-05 22:29:03 +00:00
Seven Du 9056af8785 FS-11320 #resolve pass json string as param to ASR module 2018-08-13 19:00:39 +00:00
Mariah Yang 16c39d874e FS-11110 fix for resume detect on next detect 2018-08-13 18:58:47 +00:00
Anthony Minessale bf6b61f911 FS-11264: [freeswitch-core] Remove old speech handle when asr failure happens #resolve 2018-07-24 07:21:58 +00:00
Anthony Minessale 611e38e8cb FS-11165: [freeswitch-core] Add more regex handling to dmachine -- squashme #resolve 2018-07-24 07:21:53 +00:00
Anthony Minessale 13e77721bc FS-11165: [freeswitch-core] Add more regex handling to dmachine #resolve 2018-07-24 07:21:53 +00:00
Seven Du d48db7c979 FS-11110 #resolve resume detect on next detect 2018-07-24 07:21:50 +00:00
Hunyadvári Péter 87d4a6a0c8 FS-10826 [core] Fix file handler sample rate after transfer 2017-12-06 12:51:10 +01:00
Anthony Minessale 4e5219cd27 FS-10503: [mod_av] mod_av split audio to two channels #resolve 2017-08-11 13:23:15 -05:00
Anthony Minessale d3937624c4 FS-10573: [freeswitch-core] Native recording causes segfault #resolve 2017-08-11 13:05:11 -05:00
Anthony Minessale 513b9f522a FS-10249: [mod_av] Audio gradually falls behind video in recordings 2017-05-19 18:23:42 -05:00
Anthony Minessale e76ccc3955 FS-10249: [mod_av] Audio gradually falls behind video in recordings 2017-05-19 17:38:08 -05:00
Anthony Minessale de8c37975b FS-10131: [freeswitch-core] Incorrect video decode flags in some places #resolve 2017-03-13 14:50:50 -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
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale 9dba32410f FS-10015: [freeswitch-core] Add variable to allow firing of text events #resolve 2017-02-06 16:37:59 -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
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Michael Jerris 9a63a9731e FS-9042: [core] fix assert when recording native file 2016-04-08 12:40:15 -05:00
Ken Rice e18c12b609 FS-8953 [core] white space clean up. 2016-03-17 08:55:00 -05:00
Anthony Minessale f39c9e009b FS-8909 FS-8914 2016-03-09 18:01:13 -06:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Anthony Minessale 135f04e64a FS-8851 #resolve [Codec for recording is negotiated before call answered] 2016-03-04 12:22:33 -06:00
Anthony Minessale 070b59916a FS-8770 #resolve [media_bug_answer_req=true results in a file being created for unanswered calls] 2016-01-26 11:00:41 -06:00
Anthony Minessale ba9a480912 FS-8588 remove debug 2015-12-01 14:22:52 -06:00
Anthony Minessale 95a4bbc152 FS-8588 fix deadlock in error condition 2015-12-01 13:54:20 -06:00
Anthony Minessale f563760604 FS-8588 #resolve [Unreliable digit collection] 2015-12-01 13:21:34 -06:00
Anthony Minessale b40454209b FS-8154 #resolve [Segmentation fault occurs while eavesdropping on video call] 2015-10-29 15:30:59 -05:00
Corey Burke 3a9e7f08b4 FS-8286: Minor debug log level tweaks
Adjust some DEBUG and INFO log lines, reducing log verbosity at the INFO level while increasing call debugging info.
2015-10-02 08:41:41 -07:00
Anthony Minessale f1c61f6f24 FS-8216 #comment please test 2015-09-30 22:03:33 -05:00
Anthony Minessale beb1521e88 revert 2015-09-30 22:02:50 -05:00
Anthony Minessale 8401e716b1 FS-8240 #comment please test 2015-09-30 22:00:47 -05:00
Anthony Minessale 359c0cbcaa FS-8169 #resolve [uuid_displace on stereo channels can lead to memory corruption causing a crash] 2015-09-15 22:19:12 -05:00
Stanislav Sinyagin 0cf60f6c24 FS-7927 typo in variable name: eavesdrop_annnounce_macro 2015-07-31 17:49:17 +02:00
Anthony Minessale 34fd0e9ad8 FS-7769 More features
add var=val member lookup usable wherver member_id is valid in api commands
add bgimg to layouts with api command or config for global setting
fix bug with overlap layouts combined with odd sized layers
improve switch_img_fit to take a modifier for fit, streach or both at once
2015-07-28 19:43:04 -05:00
Anthony Minessale 9e0272f63e FS-7654 part 3 2015-07-23 20:22:23 -05:00
Anthony Minessale 17f8002936 FS-7654 regression on eavesdropping on channels with unlike rates 2015-07-22 00:37:41 -05:00
Anthony Minessale 95d4f18e52 FS-7654 regression on eavesdropping on channels playing a file because of channel count of 0 on write frame from stream_file 2015-07-22 00:29:56 -05:00
Bradley Jokinen 208c3cfe42 FS-7722 fixed issue with record_session including params when creating path 2015-06-24 12:25:48 -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
Anthony Minessale d6a0abf1db FS-7654 #resolve 2015-06-12 23:55:29 -05:00
Anthony Minessale 9d40e1397d FS-7641 2015-06-12 15:59:02 -05: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