[asterisk-bugs] [JIRA] Commented: (ASTERISK-20295) Asterisk is not incrementing the sequence numbers for the retransmission of the DTMF end packets(RTPEvent packet with end bit set to 1)

i2045 (JIRA) noreply at issues.asterisk.org
Tue Aug 28 10:23:07 CDT 2012


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

i2045 commented on ASTERISK-20295:
----------------------------------

"Moreover, there is another major violation of basic RTP RFC in the current code of asterisk, it does not even increment the Sequence number of a regular audio packet followed by the DTMF packet, first regular audio packet followed by a DTMF packet carries the same RTP sequence number as that of last DTMF packet sent."

The behaviour of invalid RTP sequence numbers is something i also noticed when Asterisk is "injecting" RTP DTMF events in between RTP audio packets. See ASTERISK-19821 for a packet capture of this.

> Asterisk is not incrementing the sequence numbers for the retransmission of the DTMF end packets(RTPEvent packet with end bit set to 1) 
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20295
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20295
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 1.8.15.0, 10.7.0, 11.0.0-beta1
>         Environment: OS: Debian squeeze distribution x86_64 architecture
>            Reporter: NITESH BANSAL
>            Assignee: Michael L. Young
>            Severity: Minor
>         Attachments: 01_rtp_event_seq_num.patch, asterisk-20295-dtmf-fix-cleanup.diff
>
>
> Issue: 
> All 3 retransmitted ending packets share the same sequence number, which does not comply with RFC 4733 Sect. 2.5.1.6. RTP Sequence Number
> The RTP sequence number MUST be incremented by one in each successive RTP packet sent. Incrementing applies to retransmitted as well as
> initial instances of event reports, to permit the receiver to detect lost packets for RTP Control Protocol (RTCP) receiver reports.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list