Okay.  Just to wrap-up this issue, I decided to disable the sofia-sip SOA
engine using the NUTAG_MEDIA_ENABLE(0) tag.  I may re-enable it again later,
if I find it necessary.

Best Regards,
Jerry
 

-----Original Message-----
From: Pekka Pessi [mailto:ppe...@gmail.com] 
Sent: Thursday, May 14, 2009 5:10 AM
To: Jerry Richards
Subject: Re: [Sofia-sip-devel] Ordering of SDP Fields

2009/4/14 Jerry Richards <jer...@tonecommander.com>:
> Do you know why SOATAG_ORDERED_USER(1) is not working for me?  I tried 
> adding it to the nua_create(), nua_invite(), and nua_register() calls, 
> but any outbound INVITE does not preserve the order of my (a) SDP lines.

That sounds weird. Does it happen with re-INVITE or with initial INVITE,
too?

The SOATAG_ORDERED_USER() means that if you first get offer

m=audio
m=video

and you have only m=audio 5004, the answer  would look like

m=audio 5004
m=video 0

and if then you do re-INVITE with m=image 1024, the offer in re-INVITE would
look like

m=image 1024
m=video 0

Without SOATAG_ORDERED_USER() you would get

m=audio 0
m=video 0
m=image 1024

--Pekka


> -----Original Message-----
> From: Pekka Pessi [mailto:ppe...@gmail.com]
> Sent: Monday, March 02, 2009 8:30 AM
> To: Jerry Richards
> Cc: sofia-sip-devel@lists.sourceforge.net
> Subject: Re: [Sofia-sip-devel] Ordering of SDP Fields
>
> 2009/2/27 Jerry Richards <jer...@tonecommander.com>:
>> When my application specifies the SDP in the SOATAG_USER_SDP(), I 
>> noticed sofia-sip sometimes reorders the lines of the SDP in the 
>> message that is actually transmitted.  Do you know why this is?  Does 
>> the
> order matter?
>
> The order matters - the order of m= lines should be same in answer as 
> it is in offer. Sofia SIP tries to reorder your user SDP so that the 
> m= lines on answer match those on offer, like, if you support audio 
> and video, but offer contains
>
> m=image
> m=video
> m=audio
>
> dummy image line is generated and your video line is before the audio
line.
> You can change the behaviour with SOATAG_ORDERED_USER().
>
> --
> Pekka.Pessi mail at nokia.com
>
>



--
Pekka.Pessi mail at nokia.com


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to