2009/1/16 Aleksander Morgado <sofia-sip-de...@aleksander.es>:
> 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())?

> 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().

-- 
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