[asterisk-bugs] [Asterisk 0015642]: [patch] Fix for Sonus DTMF issues

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 7 15:50:16 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15642 
====================================================================== 
Reported By:                jasonshugart
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15642
Category:                   Core/RTP
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-406 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-03 12:28 CDT
Last Modified:              2010-12-07 15:50 CST
====================================================================== 
Summary:                    [patch] Fix for Sonus DTMF issues
Description: 
In some cases when Asterisk sends DTMF to Sonus platforms as RFC2833, Sonus
will not recognize the DTMF.  Several articles have identified the problem
as being the gap in the audio prior to the DTMF packets being sent.  This
patch sends a single G.711 ulaw packet prior to the rfc2833 packets.  In
our testing across with two carriers (Level3 and 360 Networks) this patch
fixed our DTMF issues.  The rtp.c file seems very similar for the 1.4
branch, so minor changes could also be applied there.  I added an option to
the rtp.conf file to enable this fix, called rtpfixdtmf.  Attached are both
the rtp.c fix, and the rtp.conf change.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0016625 RFC2833 DTMF is not passed correctly wh...
====================================================================== 

---------------------------------------------------------------------- 
 (0129429) twilson (administrator) - 2010-12-07 15:50
 https://issues.asterisk.org/view.php?id=15642#c129429 
---------------------------------------------------------------------- 
The reason this happens when asterisk is in the middle of the dtmf (tT,
features.conf, etc.) is because while rfc2833 DTMF is being received from
one side, Asterisk does not send RTP to the other side until we get the end
of the dtmf event. Then Sonus sees the gap of > 100ms and freaks out. I
attached a patch long ago that generates silence in this case so we don't
have the gap, but never got much feedback on it. I'll try to update it
(fix_sonus_dtmf.patch.txt on this issue) and re-post if someone promises to
give me feedback. ;-) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-07 15:50 twilson        Note Added: 0129429                          
======================================================================




More information about the asterisk-bugs mailing list