diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-24 20:24:05 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-24 20:24:05 +0000 |
commit | e2ef0ef534c65c166215b4b2ca79b0301adc059b (patch) | |
tree | 2d5043bc0fb431243cae7af63bc5222426655f35 /channels/chan_iax2.c | |
parent | 125e7323609bf6499e0b38cbdd5cc1d798ff9cce (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@80820 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
0 files changed, 0 insertions, 0 deletions