jiang mingda wrote:
Hi Folks, I have a question about sip over TCP. How many connections should be established between two sip servers/proxies? Shall I create only one tcp connection between them?
You cannot use one connection for bi-directional requests because of the security risk identified in Section 9 of connect-reuse (http://tools.ietf.org/html/draft-ietf-sip-connect-reuse-07).
If yes, there comes the question, how much call rate could be supported on one tcp connection?
Generally speaking, it will be hard to quantify this to an exact number. It will depend on, among other things, your OS, how it is configured, memory installed, CPU speed, your role in the SIP ecosystem (proxy, UA, B2BUA) etc.
If not , shall I create one connection per call? One connection per call will easily cause sip server overload.... Seems to multiple connections is a better choice, definitely this is very difficult for implementation.
Clearly one connection per call is not tenable. You can get away with two if you use connect-reuse and a pair of proxies. You can get away with one if you use outbound between a proxy and a UA. See outbound http://tools.ietf.org/html/draft-ietf-sip-outbound-08 and connect-reuse. http://tools.ietf.org/html/draft-ietf-sip-connect-reuse-07 - vijay -- Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent 2701 Lucent Lane, Rm. 9F-546, Lisle, Illinois 60532 (USA) Email: [EMAIL PROTECTED],bell-labs.com,acm.org} WWW: http://www.alcatel-lucent.com/bell-labs _______________________________________________ Sip mailing list https://www1.ietf.org/mailman/listinfo/sip This list is for NEW development of the core SIP Protocol Use [EMAIL PROTECTED] for questions on current sip Use [EMAIL PROTECTED] for new developments on the application of sip
