Hi Pekka, >> In a stateful NTA, I am getting SIP SUBSCRIBE from a sip client using >> TCP connection, and I would like to send back the NOTIFY messages to >> the subscriber also using TCP, instead of UDP. I found that >> nta_outgoing_tcreate() uses UDP by default, and I didn't found any way >> to make it use TCP. I tried to put my own request_url in the >> nta_outgoing_tcreate function like >> "sip:u...@whatever.com;transport=TCP", and it correctly adds it to the >> outgoing message, but still it's sending it with UDP. > > Do you have route set in SUBSCRIBE (Record-Route headers) or outbound > proxy (NTATAG_DEFAULT_PROXY())?
No don't have that. > >> How can I make this work? > > One way is to take the tport_t from SUBSCRIBE and include that in > NTATAG_TPORT() of the nta_outgoing_tcreate(). This worked perfectly, thanks! -Aleksander ------------------------------------------------------------------------------ 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