[asterisk-bugs] [Asterisk 0014815]: DTMF Appears to be broken from certain sources on asterisk 1.4.24 - double digit.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 28 15:50:22 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14815 
====================================================================== 
Reported By:                geoff2010
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14815
Category:                   Core/RTP
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Target Version:             1.4.25
Asterisk Version:           1.4.24 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-02 15:38 CDT
Last Modified:              2009-04-28 15:50 CDT
====================================================================== 
Summary:                    DTMF Appears to be broken from certain sources on
asterisk 1.4.24 - double digit.
Description: 
I am having some trouble with 1.4.24.  This appears to be a regression
since 1.4.21.1 as I have just recently upgraded and started to experience
the problem.

When calling my asterisk box from a cell phone the system detects double
DTMF digits.  When calling from a landline or pure SIP device DTMF
detection works fine.  I have determined that the cell phone is sending the
RTP DTMF payload about 2x more than the other devices, but as far as I can
tell it should still be considered a single digit as per the RFC.

Attached are two TXT files of pcap exports which show the dump for a
working DTMF interaction, and one for a failure situation.

Please let me know if I can provide any further information.

Thanks,
Geoff
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014460 Asterisk plays a continuous tone foreve...
====================================================================== 

---------------------------------------------------------------------- 
 (0103893) geoff2010 (reporter) - 2009-04-28 15:50
 http://bugs.digium.com/view.php?id=14815#c103893 
---------------------------------------------------------------------- 
@dimas - I believe the fact that the remote equipment is sending inband as
well as RFC2833 is not a problem.  My server is set to only do RFC2833, so
it will just ignore the inband audio.

The problem only occurs when the RFC2833 event is longer than 200ms
(approx).  When I generate DTMF data from my Aastra phone the event is
80ms, when I call from my land line into my asterisk over the PSTN the
event is 150ms.  Both of those scenarios work.  When I dial the asterisk
box from my cell phone through a Level3 DID the DTMF event is between 400ms
and 500ms... when the event is that long, the rfc2833 code will generate
multiple internal events for my single external event causing DTMF
duplication on read.

As a temporary workaround, I am preventing process_rfc2833() from ever
setting rtp->dtmfcount = 0.  I don't know what else that might break, but
it seems to have fixed the bug temporarily, and I have been able to
continue using 1.4.24 while waiting for a real fix.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-28 15:50 geoff2010      Note Added: 0103893                          
======================================================================




More information about the asterisk-bugs mailing list