[asterisk-dev] [Code Review] dsp.c: dtmf_detect, Fix multiple issues when no-interdigit delay is present.

Alec Davis reviewboard at asterisk.org
Mon Aug 27 03:51:26 CDT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2085/
-----------------------------------------------------------

(Updated Aug. 27, 2012, 3:51 a.m.)


Review request for Asterisk Developers.


Changes
-------

reduce indentation, and refactor due to duplicated code from previous version.


Summary
-------

Document DTMF events for different sequences.

* Fix extra hit required when new DIGIT is sent without any interdigit delay.
* Fix when DTMF_HITS_TO_BEGIN = 2, and no interdigit gap, that BEGIN is posted. 
* Fix situation where a flakey detect, would clear the current_hit (indicating an END), which may not have been the case.


Diffs (updated)
-----

  trunk/main/dsp.c 371689 

Diff: https://reviewboard.asterisk.org/r/2085/diff


Testing
-------


Thanks,

Alec

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120827/9b2e5437/attachment.htm>


More information about the asterisk-dev mailing list