[asterisk-dev] [Code Review] DTMF CallerID detection problems

rmudgett at digium.com rmudgett at digium.com
Thu Apr 29 11:30:49 CDT 2010


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

Review request for Asterisk Developers.


Summary
-------

The code handling DTMF CallerID drops digits on long CallerID numbers and
may timeout waiting for the first ring with shorter numbers.

The DTMF emulation mode was not turned off when processing DTMF CallerID.
When the emulation code gets behind in processing the DTMF digits it can
skip a digit.

For shorter numbers, the timeout may have been too short.  I increased it
from 2 seconds to 4 seconds.  Four seconds is a typical time between rings
for many countries.


This addresses bugs 16460 and AST-334.
    https://issues.asterisk.org/view.php?id=16460
    https://issues.asterisk.org/view.php?id=AST-334


Diffs
-----

  /branches/1.4/channels/chan_dahdi.c 260067 

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


Testing
-------

I had some recordings of a customer DTMF CID for a similar issue.  I hacked a version of Asterisk to send the recording during the Caller ID.  Without the patch the recorded Caller ID lost digits.  With the patch the digits were no longer lost.

The issue reporter tested the v1.6.2 version of the patch with success.


Thanks,

rmudgett




More information about the asterisk-dev mailing list