From: "Fortinsky Michael" <[EMAIL PROTECTED]> (i) should it continue using TCP for all subsequent requests/responses in the dialog (even if the messages are small)?
It is not required to, but since TCP has superior congestion control properties, once the TCP connection has been set up, the agent should use it. does it matter whether the dialog started using udp and this tcp message is not the first in the dialog? In principle, it does not matter by which transport a particular SIP message arrives. (There are probably certain minor parameters which would need to be adjusted.) (ii) should the SIP device put "tcp" in the Contact of the message that it sends so that the other side will use TCP also? IIRC, it can use "transport=tcp" when establishing the dialog to force all traffic in the dialog to use TCP. But changing the Contact can only be done by specific mechanisms at specific times, which might not obtain "in case a specific request or response is large". Dale _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
