[Serusers] reuse of existing tcp connection

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Thu Oct 16 14:17:29 CEST 2003


On Oct 16, 2003 at 17:01, Juha Heinanen <jh at tutpro.com> wrote:
> i'm behind gprs service that doesn't allow any incoming udp packets or
> establishment of inbound tcp connections.  when i register, a tcp
> connection is established between my sip ua and ser.
> 
> if there is an existing tcp connection open between sip ua and ser, is
> ser supposed to reuse it for all incoming sip traffic, such as
> subscribes and notifies?

Yes, ser will try first to reuse existing connection, but if for example
you connect from foo:33001 to ser and then someone sends a message to
foo or to foo:5060 ser will not find any match in its open connection
list, so it will be forced to open a new one.
Also all tcp connection will be closed (by ser) after some inactivity period 
(3 min).

Andrei




More information about the sr-users mailing list