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());
In the above sample code, NUTAG_AUTOACK(0) tag is totally irrelevant to your case. I just copied these code from my old project and modified a little to explain how to disable default SOA handling and instead use your own SDP parameters. I forgot to delete NUTAG_AUTOACK(0), which might mislead you. So I am saying it clearly here. -- 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