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
This commit is contained in:
Alec L Davis
2012-10-04 20:21:36 +00:00
parent 36405ae659
commit 90f8c90b10
3 changed files with 40 additions and 14 deletions

View File

@@ -1551,8 +1551,9 @@ Miscellaneous
rate changes during translation are now avoided unless absolutely necessary.
* The addition of the res_stun_monitor module for monitoring and reacting to network
changes while behind a NAT.
* The DTMF Normal and Reverse Twist acceptance values can be set in dsp.conf.
This allows support for any Administration. Default is AT&T values.
* DTMF: Normal and Reverse Twist acceptance values can be set in dsp.conf.
DTMF Valid/Invalid number of hits/misses can be set in dsp.conf.
These allow support for any Administration. Default is AT&T values.
CLI Changes
-----------