[asterisk-bugs] [JIRA] (ASTERISK-17329) [branch] DTMF on outbound call leg does not match inbound DTMF duration

Olle Johansson (JIRA) noreply at issues.asterisk.org
Thu Sep 5 04:59:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-17329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209939#comment-209939 ] 

Olle Johansson commented on ASTERISK-17329:
-------------------------------------------

My code has been running in production for a long time on many servers. This is really something that should have been part of 12.
                
> [branch] DTMF on outbound call leg does not match inbound DTMF duration
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-17329
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17329
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/RTP
>            Reporter: Olle Johansson
>            Assignee: Olle Johansson
>            Severity: Minor
>         Attachments: dtmf-capture-1.pcap, dtmf.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list