> 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-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to