Commit Graph

46 Commits

Author SHA1 Message Date
Andrey Volk d45e9df883 FS-12025: [mod_spandsp] FreeSWITCH crashes on reloadxml when spandsp tone detection is running. 2019-08-30 02:20:18 +04:00
Chris Rienzo 8ac4ddd5bb FS-11785 [mod_spandsp] fix dead assignments 2019-07-17 21:49:23 +04:00
Hunyadvári Péter 434baefcd0 FS-10827 [mod_spandsp] Make thread safe and xmlreload do not affect already started detection 2018-09-05 22:48:21 +00:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale 9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Chris Rienzo 841e2025a8 FS-9287 Add channel variable to make spandsp_start_tone_detect easier to use from dialplan / embedded scripts.
The following variables are added:

execute_on_spandsp_tone_detect_<TONE NAME> : executes APP when tone is detected.  For example, if you have a tone
    named "SIT" defined in spandsp.conf.xml, the variable would be "execute_on_spandsp_tone_detect_SIT"

api_on_spandsp_tone_detect_<TONE NAME> : similar to execute_on except that it executes an API.

spandsp_tone_detect_stop_on_tone : default is false.  If true, detector will stop once the first matching tone is detected.
2016-06-21 09:48:55 -04:00
Anthony Minessale bd31d60ee9 FS-7891 should be bytes not samples 2015-07-24 11:43:34 -05:00
Anthony Minessale 7898c60282 FS-7891 #resolve #comment Resample audio to 8k before feeding it to spandsp dtmf detector 2015-07-24 01:11:04 -05:00
Anthony Minessale d697acb281 tabify
fix emacs tabs mode
2015-05-28 12:47:22 -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
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Chris Rienzo 8d2805fc42 FS-5659 --resolve Add logging for spandsp dtmf detector when dtmf_verbose channel variable is set to true 2013-08-01 13:56:30 -04:00
Steve Underwood c741332dcd Spandsp tweaks 2013-07-23 20:44:46 +08:00
Steve Underwood 20531a097a Added a "nation" parameter to v18_init(), in preparation for automoding. 2013-07-03 02:39:09 +08:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale 7818c3c9ed add SMBF_ONE_ONLY flag and use it on dtmf detectors 2013-03-27 17:19:40 -05:00
Anthony Minessale a2e46d558f FS-4984 --resolve 2013-01-07 11:06:55 -06:00
Christopher Rienzo 0ac014da6e use SWITCH_CHANNEL_SESSION_LOG in mod_spandsp call progress detector 2012-07-19 00:17:26 +00:00
Christopher Rienzo 913b39830f replace spaces with tabs in mod_spandsp 2012-07-19 00:03:47 +00:00
Anthony Minessale 6a85ad31d2 fix regression in spandsp_tone_detect caused by some recent core changes (part 2) 2012-07-17 17:32:46 -05:00
Anthony Minessale 70c6e65e60 fix regression in spandsp_tone_detect caused by some revent core changes 2012-07-17 17:19:28 -05:00
Anthony Minessale 02f4aa8590 change default 2012-07-03 13:53:29 -05:00
Anthony Minessale e941a61ff7 add v18_mode var 2012-07-03 13:35:08 -05:00
Anthony Minessale e06bf26e65 add tdd data also as a header for even lazier parsers 2012-07-02 11:05:56 -05:00
Anthony Minessale 158f96651f add trailing newlines for lazy parsers 2012-07-02 11:04:10 -05:00
Travis Cross f1183ef970 Fix use of switch_event_add_body
On some compilers this fixes the build.

gcc reports:

  error: format not a string literal and no format arguments

clang reports:

  error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
2012-06-24 07:38:08 +00:00
Anthony Minessale 1465ba90e6 tweaks 2012-06-23 19:00:53 -05:00
Anthony Minessale 0f6647d278 add some inital v18 interface points 2012-06-23 18:48:26 -05:00
Christopher Rienzo 187fe4e14e update name/e-mail address 2012-06-11 13:05:29 +00:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale a76a252514 FS-4109 --resolve 2012-04-13 08:57:34 -05:00
Anthony Minessale f9aec85b76 FS-4105 --resolve 2012-04-12 10:00:37 -05:00
Anthony Minessale d91f67d0e3 Add T31 modem support to mod_spandsp - similar to iaxmodem only wired into FS. Also merge configs into single spandsp.conf.xml --see in tree example-- 2011-12-06 17:51:36 -06:00
Anthony Minessale f2099bf999 FS-3529 please try this revision I suspect its related to some uninitilized memory causing flags to be set that are not in the dtmf structure in certian cases 2011-09-08 08:12:16 -05:00
Anthony Minessale b426ec0bfa FS-2217 --resolve this looks ok and is probably useful 2011-08-25 09:27:39 -05:00
Anthony Minessale 0128bce4ac missed an = 2011-06-17 15:56:27 -05:00
Anthony Minessale 8793c2ed37 fix memory issue in spandsp_tone_detect 2011-06-17 11:51:23 -05:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Brian West 6faa4c91c3 using the wrong api to remove media bug from crienzo on IRC, thanks. 2010-12-02 17:11:04 -06:00
Anthony Minessale c1d41dd989 only pause recording media bugs in fifo 2010-10-12 12:28:13 -05:00
Jeff Lenk 184f395553 fix several code analysis problems and mask several that are required 2010-09-20 09:25:14 -05:00
Brian West e80befba17 fix log messages on spandsp.conf loading or processing failure 2010-06-02 11:52:27 -05:00
Michael Jerris a6e6514799 mod_spandsp: add start_tone_detect/stop_tone_detect app and api commands for tone and cadence detection (MODAPP-378) 2010-05-31 08:41:07 -04:00
Michael Jerris eab4f24632 mod_spandsp: improve duplicate digit detection and add 'min_dup_digit_spacing_ms' channel variable for use with the dtmf detector (FSMOD-45) 2010-05-31 07:34:23 -04:00
Michael Jerris 65400642f7 rework of new mod_spandsp to have functions broken up into different c files 2010-05-31 06:04:12 -04:00