summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAlec L Davis <sivad.a@paradise.net.nz>2012-10-04 20:21:36 +0000
committerAlec L Davis <sivad.a@paradise.net.nz>2012-10-04 20:21:36 +0000
commit90f8c90b10c483be3064920bc8839af516212561 (patch)
tree8f036b5540e1dc3b6b59da7b78c6d4d2bbdeb02f /configs
parent36405ae6598270f7a45a8f7cbb4efb11ed657eff (diff)
dsp.c User Configurable DTMF_HITS_TO_BEGIN and DTMF_MISSES_TO_END
Instead of a recompile, allow values to be adjusted in dsp.conf For binary distributions allows easy adjustment for wobbly GSM calls, and other reasons. Defaults to DTMF_HITS_TO_BEGIN=2 and DTMF_MISSES_TO_END=3 (closes issue ASTERISK-17493) Reported by: alecdavis Tested by: alecdavis alecdavis (license 585) Review https://reviewboard.asterisk.org/r/2144/ ........ Merged revisions 374479 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 374481 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 374485 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/dsp.conf.sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/dsp.conf.sample b/configs/dsp.conf.sample
index 95cb9796e..08c5a5715 100644
--- a/configs/dsp.conf.sample
+++ b/configs/dsp.conf.sample
@@ -36,3 +36,8 @@
;dtmf_reverse_twist=2.51
;relax_dtmf_normal_twist=6.31
;relax_dtmf_reverse_twist=3.98
+
+;successive number hits/misses of 12.75ms before a digit/nodigit is considered valid
+;dtmf_hits_to_begin=2
+;dtmf_misses_to_end=3
+