Merged revisions 80820 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 24 Aug 2007 20:25:39 +0000 (20:25 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 24 Aug 2007 20:25:39 +0000 (20:25 +0000)
commit7ddccc897f1b87747b4109a50540818ec1023b9c
treea40334444271d13b3d69549954fd5f40bf65a790
parenteb0e0ec33f2b563e9f3c3973f731e8898134f78a
Merged revisions 80820 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80820 | russell | 2007-08-24 15:24:05 -0500 (Fri, 24 Aug 2007) | 7 lines

Improve the debouncing logic in the DTMF detector to fix some reliability
issues.  Previously, this code used a shift register of hits and non-hits.
However, if the start of the digit isn't clean, it is possible for the
leading edge detector to miss the digit.  These changes replace the flawed
shift register logic and also does the debouncing on the trailing edge as well.
(closes issue #10535, many thanks to softins for the patch)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/dsp.c