Commit Graph

346 Commits

Author SHA1 Message Date
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
Chris Rienzo 35558993c9 FS-5816 #resolve #comment re-add completion cause to session record stop event 2014-12-02 15:00:54 -05:00
Brian West 2a7b022733 FS-6980 #resolve don't crash when using native recording on recordstop the redo 2014-12-02 10:51:48 -06:00
Anthony Minessale 72c3df5ed3 FS-6891 FS-6713 #comment revert 1b612fecb6 2014-12-02 16:46:08 -06:00
Brian West 34cf3b9069 FS-6980 #resolve don't crash when using native recording on recordstop 2014-11-11 07:45:50 -06:00
Chris Rienzo b25ae6ab6c FS-5816 #resolve #comment Record-Completion-Cause added to session recording RECORD_STOP event and record_completion_cause channel variable added. 2014-10-27 13:17:38 -04:00
Anthony Minessale 1b612fecb6 FS-6757 FS-6713 #comment please try latest master that has a new patch in it to address this issue 2014-09-02 23:56:46 +05:00
Anthony Minessale b2162142f3 FS-6667 #comment block sending audio when dmachine is reading 2014-08-06 01:21:34 +05:00
Anthony Minessale 1960533260 FS-6713 #resolve 2014-08-04 23:50:31 +05:00
Brian West a79a9ea9ed FS-6373 2014-07-09 08:25:54 -05:00
Anthony Minessale 4ffbf23ffa stereo refactoring 2014-06-13 01:49:16 -04:00
Chris Rienzo bb6869b7ab FS-6535 --resolve mod_rayo: allow multiple grammars (including dtmf) when using unimrcp 2014-06-12 22:56:34 -04:00
Anthony Minessale 579a051867 add channels param the the silence generator function 2014-06-13 04:49:44 +05:00
Anthony Minessale 928a989de1 first pass of stereo support 2014-06-12 22:06:33 +05:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 0b1ac40a15 revert 2013-10-28 10:20:42 -05:00
Anthony Minessale 7d89ca45b6 clear before calling callback 2013-10-28 10:14:05 -05:00
Anthony Minessale 96b66ad015 FS-5840 --resolve 2013-10-05 18:07:10 -05:00
Anthony Minessale 60f5dec57e FS-5793 --resolve 2013-09-14 13:06:06 -05:00
Anthony Minessale ea0653689f FS-5791 --resolve 2013-09-14 10:07:25 -05:00
Anthony Minessale c811580626 doh 2013-09-06 05:55:50 +05:00
Anthony Minessale af85dcc5c0 FS-5757 2013-09-06 04:48:56 +05:00
Anthony Minessale 75bdc43d82 FS-5573 --resolve 2013-07-19 14:05:03 -05:00
Anthony Minessale 70d78f1665 FS-5583 --resolve 2013-07-19 14:02:58 -05:00
Ken Rice 3f84fc99e9 --resolve FS-4461
Add record_seconds, record_ms and record_samples variables done recording.
original patch not used due to refactor in code.
2013-07-03 14:13:06 -05:00
Travis Cross 02046950be Fix uninitialized use of length variable
Bad things must have been happening when this was hit.

This was introduced in commit 5cb4cd9d9c
2013-07-03 16:05:07 +00:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Jeff Lenk f8122e39c5 fix trivial compiler warning 2013-06-21 21:43:22 -05:00
Anthony Minessale 1e9ab89bbb sniffing glue 2013-06-20 22:25:25 -05:00
Anthony Minessale 5cb4cd9d9c fill the opposite file to keep data in sync 2013-06-20 21:51:31 -05:00
Jeff Lenk b4ba31dad6 more trivial compiler warnings for windows 2013-06-19 10:44:31 -05:00
Anthony Minessale bd2862080c FS-4969 --resolve 2013-06-18 21:19:24 -05:00
Anthony Minessale 2fac3a8e83 refactor some of the video passthru code 2013-06-17 19:52:37 -05:00
Anthony Minessale 6c5de69b18 getting read_impl too soon here 2013-05-20 11:22:37 -05:00
Jeff Lenk a4f3629773 trivial fix compiler warning 2013-05-15 11:51:55 -05:00
Anthony Minessale d5ad021720 FS-5208 --resolve 2013-05-15 07:36:56 -05:00