Commit Graph

338 Commits

Author SHA1 Message Date
Andrey Volk 56b6e954cf [Core] Fix dead nested assignments 2022-08-09 23:29:31 +03:00
Dragos Oancea 92a336a07d [core] fix loglevel - switch_ivr_phrase_macro_event() 2022-06-08 13:25:35 +03:00
Marc Olivier Chouinard de487b0ada [core] Add support to phrase play-file to set a volume attribute 2022-01-25 20:07:39 -05:00
Chris Rienzo cada5c37dc [core] Fix regression in play_and_collect_input and play_and_detect_speech - read_frame_callback and user_data from input args was not preserved. 2021-10-23 22:01:11 +03:00
Chris Rienzo 594963a3ca [core] Add switch_ivr_record_file_event() and handle execute_on_record_start/execute_on_record_stop 2021-10-23 22:00:39 +03:00
Andrey Volk e51bbea7ca [mod_dptools]: wait_for_silence does not allow the listen_hits parameter to be a value of 0 2021-10-23 21:59:49 +03:00
Seven Du 623fecd599 [Core] Add partial Asr support 2021-10-23 21:59:49 +03:00
nrensen 01fe8b36fa
[Core] Fix portability for logging last_digit_time in switch_ivr_play_say.c 2021-10-21 19:36:59 +03:00
Kevin Garabedian f8d8e740cc [core] play_and_collect_input() - suppress digit timer if start of speech is detected 2021-10-14 23:45:38 +03:00
Andrey Volk 2ca0d02531 [Core] Fix leaking codec, timer and abuf in switch_ivr_play_file() in the case of failing switch_ivr_phrase_macro() or switch_ivr_speak_text() 2021-03-17 19:43:14 +03:00
Dragos Oancea 786f6f8a08 [core] scan-build: Value stored to 'last_speed' is never read - switch_ivr_play_file() 2020-02-13 20:10:32 +00:00
Dragos Oancea 8df26b480f [core] fix memory leak on playback, in certain error conditions (eg: native file related) 2020-01-30 15:17:33 +00:00
Sergey Khripchenko 200a76b2ae FS-9264 Add more logging to wait_for_silence, detect_audio and detect_silence api calls 2019-07-26 00:37:15 +04:00
Anthony Minessale 1c80a83d57 fix teletone gen on multichannel 2019-07-25 23:31:08 +04:00
Seven Du 7d6c90e531 FS-11754 [core] Make sure audio sync works while playing tts 2019-07-17 23:06:21 +04:00
Mike Jerris 2f415a64e2 FS-11785: [core] fix scan-build dead assignments 2019-07-17 21:50:20 +04:00
Chris Rienzo c796723dd7 FS-11728 [core] add switch_ivr_play_and_collect_input(). This function plays a prompt while looking for DTMF or speech and returns whatever was heard. 2019-07-17 19:58:45 +04:00
Andrey Volk a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
joshebosh e972499e4f FS-11775 [core] wait_for_silence debug messages showing as ERR 2019-06-06 11:57:41 -04:00
Mariah Yang 463eb7294e FS-11671 fix potential devided by zero error 2019-06-06 11:39:05 -04:00
Brian West 6569a44d85 FS-11496: [core] fix crash with four channel sound file 2019-06-06 11:13:06 -04:00
Mike Jerris 159cc300f8 Merge pull request #1425 in FS/freeswitch from ~HARI/freeswitch:bugfix/FS-10720-playback_stop-event-not-sent-in to master
* commit '6e661cc2a3229cb9411676b7fcc42e2a7774d008':
  FS-10720: [core] exit playback when eof reached and speed is set #resolve
2019-03-04 09:43:32 -06:00
Mariah Yang 6ac8105944 FS-11601: Fix some core function prototype 2019-01-09 08:44:41 -05:00
Dragos Oancea 15051696d1 FS-11559: check file name null ptr (crashfix CoreSession:recordFile) 2018-12-17 04:30:51 -05:00
Mike Jerris 1d6f53a19e FS-11393: [core] set record_record_trimmed_ms at the end of record app if the file interface has this info available 2018-09-20 04:50:02 +00:00
Seven Du 9d0ad92d10 FS-11237 #resolve speak text with colon 2018-07-24 07:21:58 +00:00
Seven Du 91f781d811 FS-10859 #resolve 2017-12-24 10:23:13 +08:00
hari 6e661cc2a3 FS-10720: [core] exit playback when eof reached and speed is set #resolve 2017-10-18 18:00:37 +02:00
Trever L. Adams c57c740c68 FS-9785: Fix src/switch_ivr_play_say.c:1668:48: error: ‘*’ in boolean context, suggest ‘&&’ instead [-Werror=int-in-bool-context] 2017-06-29 21:35:38 -06:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale 794a6f4aa1 FS-9933: [freeswitch-core] Fallback from native file failure to alternate ext #resolve 2017-01-10 17:00:18 -06:00
Anthony Minessale bb199aabde FS-9860 2017-01-03 13:15:03 -06:00
Anthony Minessale 697be5d515 FS-9860 2017-01-03 13:06:20 -06:00
Anthony Minessale a788715bb3 FS-9870: [freeswitch-core] playback_timeout_sec does not stop a delimited playback #resolve 2016-12-21 15:36:03 -06:00
Brian West efc2ed2a49 FS-9632 remove SWITCH_FILE_FLAG_VIDEO flag if we fail to receive video so we fall thru and record the audio only. Previously it would just fail to function as expected. 2016-10-19 12:57:01 -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
Peter Wu 69d643b53f Properly handle NULL var_name for switch_play_and_get_digits
Do not set "_invalid" in case var_name is empty or unset. While at it,
clear the "foo_invalid" variable before doing anything else when a regex
is passed, this ensures that the variable really reflects the current
run.

Fixes an issue in original FS-7783 feature.
2016-05-06 18:33:32 +02:00
Anthony Minessale bdf84bb58b FS-8909 FS-8914 refactoring 2016-03-09 18:01:13 -06:00
Anthony Minessale f39c9e009b FS-8909 FS-8914 2016-03-09 18:01:13 -06:00
Anthony Minessale 5db985d117 FS-8909 add record_indication variable/param with path to beep sound etc 2016-03-09 10:56:07 -06:00
Anthony Minessale 2cf9962f61 FS-8914 2016-03-09 00:02:59 -06:00
Anthony Minessale 68588e811f FS-8914 #resolve [recording mp4 cuts off the end in some cases] 2016-03-08 18:53:55 -06:00
Anthony Minessale ee7a298f40 FS-8868 #resolve [recording app to respect bandwidth set in SDP] 2016-03-07 21:56:13 -06:00
Anthony Minessale b7227465b6 FS-8909 #resolve [Add feature to play background video while recording inbound video] 2016-03-07 19:59:10 -06:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Anthony Minessale f563760604 FS-8588 #resolve [Unreliable digit collection] 2015-12-01 13:21:34 -06:00
Anthony Minessale 785a5851d0 FS-8338 a few regressions that were relying on this bug to function properly in stereo situations 2015-10-20 11:00:12 -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
William King eed386bc8d FS-7783 Add channel variable for capturing DTMF input when using play_and_get_digits when the response does not match 2015-07-06 14:13:12 -07:00
karl anderson c4bd342bda FS-7771 #resolve
set a channel var if the recording is terminated due to silence hits
2015-07-03 10:36:58 +01:00