[asterisk-bugs] [Asterisk 0018723]: [branch] DTMF on outbound call leg does not match inbound DTMF duration

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 14 08:42:10 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18723 
====================================================================== 
Reported By:                oej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18723
Category:                   Core/RTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.39.1 
JIRA:                       SWP-3041 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-01 05:41 CST
Last Modified:              2011-02-14 08:42 CST
====================================================================== 
Summary:                    [branch] DTMF on outbound call leg does not match
inbound DTMF duration
Description: 
If two SIP phones is bridged over Asterisk, Asterisk will always have the
wrong length to the DTMF audio. The primary causes are:

 - DTMF duration is added with 160 ms for each BEGIN packet. The DTMF
Begin is transmitted three times and should have the same duration
 - One extra DTMF continue packet is generated directly after the BEGIN
packets and adds another 160 ms
 - The END packet shows the actual inbound duration + 160 since the CONT
code adds 160 after sending
 - For longer DTMF, we actually cut DTMF short since we cut DTMF off as
soon as we received the DTMF END on the inbound channel.

The attached patch solves these issues. 

This seems to affect all released versions of Asterisk

Branch:
http://svn.digium.com/svn/asterisk/team/oej/rana-dtmf-rtp-duration-1.6.0
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018100 Dial with use of feature options corrup...
====================================================================== 

---------------------------------------------------------------------- 
 (0131932) aragon (reporter) - 2011-02-14 08:42
 https://issues.asterisk.org/view.php?id=18723#c131932 
---------------------------------------------------------------------- 
DTMF on 1.4 is a mess.  I tested oej's patch on today's subversion to see
if it would have any effect on a bug report of mine
https://issues.asterisk.org/view.php?id=18764
Unfortunately it had no effect on my bug report. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-14 08:42 aragon         Note Added: 0131932                          
======================================================================




More information about the asterisk-bugs mailing list