[asterisk-bugs] [Asterisk 0017849]: Asterisk does not properly align SDP "m=" lines when answering an SDP offer (provoking a T.38 negociation issue)

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 12 18:10:25 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17849 
====================================================================== 
Reported By:                frawd
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17849
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
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:             2010-08-12 10:23 CDT
Last Modified:              2010-08-12 18:10 CDT
====================================================================== 
Summary:                    Asterisk does not properly align SDP "m=" lines when
answering an SDP offer (provoking a T.38 negociation issue)
Description: 
It appears that Asterisk generates SDP replies with "m=" lines always
aligned in the same order:
1. m=audio
2. m=video
3. m=text
4. m=image

When it should reply with the same order that was in the initial offer per
RFC-3264 (page 8):

[QUOTE]For each "m=" line in the offer, there MUST be a corresponding "m="
line in the answer. The answer MUST contain exactly the same number of "m="
lines as the offer. This allows for streams to be matched up based on their
order. This implies that if the offer contained zero "m=" lines, the answer
MUST contain zero "m=" lines.[/QUOTE]

This could potentially provoke many interoperability issues, one of which
is presented below.
====================================================================== 

---------------------------------------------------------------------- 
 (0125932) frawd (reporter) - 2010-08-12 18:10
 https://issues.asterisk.org/view.php?id=17849#c125932 
---------------------------------------------------------------------- 
I just lost hope. Similarities exist with issue
https://issues.asterisk.org/view.php?id=15407, raised 1 year and 2
months ago...

Anyone brave willing to help in making a patch attempt to support proper
'm=' alignments (help me obiwan mnicholson, you're my only hope)?

The patch would imply a better tracking of media stream info throughout
the dialog to check for changes in types, ... This would probably make it
easier to add support for multiple media stream per type (at least the part
to make Asterisk able to reject them properly), thus closing
https://issues.asterisk.org/view.php?id=15407 as
well.

François.

PS: Hello to you man from the future reading this message. Have you guys
invented flying cars yet in 2011? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-12 18:10 frawd          Note Added: 0125932                          
======================================================================




More information about the asterisk-bugs mailing list