Hi, >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On >Behalf Of ext Jerry Richards >Sent: Friday, March 07, 2008 8:26 PM >To: sofia-sip-devel@lists.sourceforge.net >Subject: [Sofia-sip-devel] Transport Controls > >Hello All, > >Firstly, my application needs to specify the transport as UDP >or TCP (and >eventually TLS). The default transport appears to be UDP. >How can I force >the transport to be TCP? I saw earlier mailings about setting >"transport=xxx" in the Contact header. However, up until now >I have let the >stack generate the Contact header, because I have one user agent and >multiple registrations that go by unique AORs. I hope I don't >have to add a >SIPTAG_CONTACT_STR() tag to every API call.
Use NUTAG_URL, e.g. NUTAG_URL("sip:*:*;transport=tcp") We used to do it in NUTAG_M_PARAMS, but it doesn't quite do the job. Best regards, Mikhail ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel