In addition, you should use different tags to pass SDP body when NUTAG_MEDIA_ENABLE is set to 0 or 1.
When default SDP/SOA handling is enabled, SOATAG_USER_SDP_STR() should be used. Otherwise SIPTAG_PAYLOAD_STR along with SIPTAG_CONTENT_TYPE_STR should be used. You can get more details here: http://sofia-sip.sourceforge.net/refdocs/nua/nua_8h.html#8f166e3352161a8bcbf50964481cc3dbf205b61e8b5960d31fbb6b0dbc350387 On Wed, Sep 17, 2008 at 1:23 PM, Tan Miaoqing <[EMAIL PROTECTED]> wrote: > Hi, > > You will probably need to include NUTAG_MEDIA_ENABLE(0) tag in order > to disable default SDP of the media engine and use your own SDP > parameters, for instance: > > char const *your_sdp_body = "your sdp parameters here"; > > nua_invite(op_handle, > NUTAG_AUTOACK(0), > NUTAG_MEDIA_ENABLE(0), > SIPTAG_CONTENT_TYPE_STR("application/sdp"), > SIPTAG_PAYLOAD_STR(your_sdp_body), > TAG_END()); > > BR > > Tan > > On Tue, Sep 16, 2008 at 2:57 PM, vijay raju <[EMAIL PROTECTED]> wrote: >> >> Hi All, >> >> I am running Sofia SIP stack on IP address say x.x.x.x and i would like >> to set >> INVITE message SDP's C line address as y.y.y.y. >> >> I had tried using SOATAG_USER_SDP_STR(), but it does not reflect in the >> SDP. >> >> Is this is a bug in the Sofia SIP stack functionality ? >> >> Regards, >> Vijay >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Sofia-sip-devel mailing list >> Sofia-sip-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel >> >> > > > > -- > Best Regards > Tan Miaoqing > Software engineer, Maemo Software > Nokia Devices R&D > http://users.tkk.fi/~mitan > -- Best Regards Tan Miaoqing Software engineer, Maemo Software Nokia Devices R&D http://users.tkk.fi/~mitan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel