Commit Graph

382 Commits

Author SHA1 Message Date
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
Chris Rienzo 21d1e6fc4b FS-7378 play_and_detect_speech: protect against NULL result 2015-03-18 15:30:12 -04:00
Chris Rienzo ab3d967115 FS-7378 #resolve #comment play_and_detect_speech can now detect DTMF if you set the playback_terminators channel variable to any or specific DTMF. The result will be stored in speech_detect_result and in playback_terminator_used. Also added channel variable play_and_detect_speech_close_asr which will release the speech recognition port when the detection is completed. This will prevent speech licenses from being held the entire call. 2015-03-18 15:06:14 -04:00
Artur Zaprzała 8e72fafb2c FS-7307: When recording a call in native format, buffering does not work 2015-02-19 17:46:30 +01: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
Mike Jerris 5afdffb661 FS-7262: #resolve #comment fix regression in native recording using record thread from FS-7083 326289c 2015-02-11 10:59:04 -06:00
Anthony Minessale fc93895624 FS-7173 #comment please test 2015-01-23 17:03:30 -06:00
Anthony Minessale b74448462d FS-7173 #resolve #comment please verify fix in master 2015-01-20 19:55:50 -06:00
Anthony Minessale 403d32ce90 FS-7148 #resolve #comment declinatio mortuus obfirmo! 2015-01-12 23:20:39 -06:00
Anthony Minessale 326289caf9 FS-7083 #resolve #comment this should do it. The problem is linked to side-effects from the read thread being delayed by writing to the file handle. It was so much worse on mp3 because the shout encoder blocks while its churning the data and delays it more. This patch adds a dedicated thread for writing to the file and the channel_variable RECORD_USE_THREAD=false will disable it and sync may still be maintained at the cost of dropping more data from the audio signal. 2014-12-20 00:25:59 -06:00
Anthony Minessale 06c241a233 FS-6891 FS-7002 FS-7059 FS-7072 FS-7073 FS-7076 #close #comment All of these bugs are invalidated due to a botched revert -- commit 72c3df5ed3 was supposed to revert commit 1b612fecb6 but it only reverted part of it. commit 158c1f23da from the other day was erroneously created to work around the result of the botched revert so it is reverted. The result of this commit should be to bring it back to effectively properly revert 1b612fecb6 and now you can test and open new bugs if necessary. This includes the segfault in eavesdrop, and any media bug releated reports. Consider working together and only reporting one new bug if you still encounter any more problems and be sure to include details and make sure the jitter buffer is being used. 2014-12-11 20:57:55 -06:00
Anthony Minessale 158c1f23da FS-7002 #resolve #comment please verify 2014-12-05 19:18:28 -06:00