2009/1/12 Bernhard Suttner <bernhard.sutt...@comdasys.com>:
> My application does generate a SDP (the o= line ) like this:
>
> o=APPL 98971 2774 IN IP4 10.42.1.27
>
> Then I use the "SOATAG_USER_SDP_STR" to set the SDP. Afterwards I see on
> the network a SDP (the o= line) like that:
>
> o=APPL 98971 2774 IN IP4 82.192.78.111
>
> The 82.192.78.111 address is the IP of another interface where the
> application does not listen. So, why does sofia-sip change this IP
> address?

The address on o= line is just required by SDP syntax, it is not used
for anything, so it is considered stale and replaced. It would
probably be better to check if it is local address and use that
instead.

>Can I somehow disable that?

You can force Sofia-sip to use certain address in SDP with SOATAG_ADDRESS().

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to