[asterisk-bugs] [Asterisk 0015860]: wrong parsing of received RTCP packets

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 2 12:18:51 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15860 
====================================================================== 
Reported By:                klaus3000
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15860
Category:                   Core/RTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-09 06:12 CDT
Last Modified:              2010-06-02 12:18 CDT
====================================================================== 
Summary:                    wrong parsing of received RTCP packets
Description: 
The code for parsing the RTCP packets is buggy. When an RTCP RR/SR frame is
handled, it expects some fields present although they are optional.

E.g. take a look at the RTCP packets in the attached pcap dump. The first
RTCP packet contains a RR without any RTP statistics data. Nevertheless
Asterisk sets the statistics, reading wrong data from the RTCP packet (the
following SDS).
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015819 [patch] buggy output in "sip show ...
====================================================================== 

---------------------------------------------------------------------- 
 (0122805) oej (manager) - 2010-06-02 12:18
 https://issues.asterisk.org/view.php?id=15860#c122805 
---------------------------------------------------------------------- 
I fixed that in trunk as a result of my work with pinefrog...
I'll check how we handle SRs too.

/O 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-02 12:18 oej            Note Added: 0122805                          
======================================================================




More information about the asterisk-bugs mailing list