Commit Graph

393 Commits

Author SHA1 Message Date
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
Anthony Minessale 1cbc3c58a5 FS-7502: add record_concat_video=true to show split video recordings with session record 2015-05-28 12:47:15 -05:00
Anthony Minessale 216850c1a0 FS-7502: set video flag on record session 2015-05-28 12:47:14 -05:00
Anthony Minessale 7c294f242f FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec 2015-05-28 12:47:13 -05:00
Anthony Minessale a63dab7a4a FS-7503 FS-7514: A bunch of stuff:
Get filehandles working with video in some cases (if using vlc://):
    mod_conference for play and record video (will record the canvas in mix mode or floor holder in non-mix mode)
    regular playback app should be able to play vlc streams

Add no-minimize-encoding member flag so particilar memebers can opt out of that setting and still get their own encoded stream (for bw related needs)

TODO:

  mod_vlc is a mess.  Find a way to merge video_context and file_context.  They are very similar and they are intertwined and messy.
  Find out why vlc creates messed up mp4 files that don't play everywhere
  Get VLC so it can record aac, mp4x webm
2015-05-28 12:47:06 -05:00
Anthony Minessale c584bf5511 FS-7500: reverse default for CF_VIDEO_ECHO to false and now it must be enabled when desired instead of disabled when not needed 2015-05-28 12:46:47 -05:00
Anthony Minessale 4dc155f164 FS-7500: add switch_core_session_raw_read to put session into raw read mode without needing a local codec var (WE SHOULD REFACTOR MUCH OF switch_ivr_* to use this...) and add echo_decode_audio option to echo app 2015-05-28 12:46:47 -05:00
Anthony Minessale 6822994d25 FS-7500: video_decoded_echo to echo_decode_video 2015-05-28 12:46:45 -05:00
Anthony Minessale ec9b7c0499 FS-7500: add video_decoded_echo var to make the echo app decode and re-encode video frames for testing 2015-05-28 12:46:45 -05:00
Seven Du dcca71d97d FS-7502: refresh video on video record or eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du b23ba52807 FS-7502: video eavesdrop 2015-05-28 12:46:41 -05:00
Seven Du 90b654e923 FS-7502: add simple video media bug implementation, should work with .fsv, be sure to set enable_file_write_buffering=false
Conflicts:
	src/include/switch_types.h
2015-05-28 12:46:41 -05:00
Anthony Minessale d413bcd7b3 FS-7567 #resolve #comment additional occurrences beyond the initial patch discovered 2015-05-21 09:50:49 -05:00
Anthony Minessale 5045864672 FS-7541 use switch_time_now for more accurate timestamps and wait for 3 consecutive missing packets to write silence into native recordings 2015-05-18 14:29:39 -05:00
Anthony Minessale II 50edd26068 Merge pull request #199 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7307-native-recording-buffering to master
* commit '8e72fafb2c11d6fc8532f0de8d9d5d26200376fd':
  FS-7307: When recording a call in native format, buffering does not work
2015-04-28 13:14:41 -05:00
Chris Rienzo 3c2afc6a2c FS-7406 #resolve #comment Added DTMF-Source header to DTMF event.
DTMF-Source may have the following values:
   APP : injected by application (send_dtmf, etc)
   ENDPOINT : detected by endpoint signaling (like SIP INFO)
   INBAND_AUDIO : detected by start_dtmf, spandsp_start_dtmf, etc
   RTP : detected as 2833/4733 telephone event
   UNKNOWN : unknown source

One possible use of this header is to determine telephone events
are being received, and if so, disable inband detection.
2015-04-01 11:00:43 -04:00