[Serusers] reuse of existing tcp connection

Olle E. Johansson oej at edvina.net
Thu Oct 16 14:25:52 CEST 2003


Andrei Pelinescu-Onciul wrote:

> 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).
Is there a way to keep the connection open for a longer period? Could
I force the SER proxy to send something, like an OPTIONS request, or do
I have to minimize the registration timeout on the client to keep
registrations coming, keeping the TCP session open?

/O




More information about the sr-users mailing list