List Info

Thread: Re: Selecting the transport




Re: Selecting the transport
country flaguser name
Germany
2007-10-04 04:11:14
> The RFC 3261 tries to enforce "congestion
safe" transport for SIP. A
> request larger than 1300 bytes should be sent over TCP
instead of UDP
> in order to avoid fragmentation. (If the TCP connection
establishment
> fails, the stack should try to use UDP.)
> 
> The limit triggering switchover to TCP can be increased
with
> NTATAG_UDP_MTU(), given to
nta_agent_create()/nta_agent_set_params().
> The maximum value is 65507 (maximum length for the UDP
payload, 65535
> minus 28 bytes for UDP/IP headers).

Thanks for that explanation. I don't think that this is what
happened.
The request was quite small.

However, I found a solution in using the
"transport=udp" parameter at
NTA agent initialization time, in the 'contact_url' argument
of
nta_agent_create().

Regards
Stefan

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-s
ip-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )