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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 13 03:43:32 CST 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-01-13 03:43 CST
====================================================================== 
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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0116553) oej (manager) - 2010-01-13 03:43
 https://issues.asterisk.org/view.php?id=15860#c116553 
---------------------------------------------------------------------- 
Btw, Asterisk now sends the same packet in order to open up NAT (that is,
in pinefrog). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-13 03:43 oej            Note Added: 0116553                          
======================================================================




More information about the asterisk-bugs mailing list