[Serdev] TCP connection reuse

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Dec 15 09:21:57 UTC 2006


On Dec 14, 2006 at 10:26, John Bildøy <johnb at sipinfo.no> wrote:
> Hi,
> 
> I'm currently using SER 0.10 (Ottendorf) for SIP/TCP transport.
> 
> In my configuration I added the line tcp_accept_aliases=yes, to reuse tcp
> connections from UA to the proxy.
> 
> ---ser.cfg---------
> tcp_accept_aliases=yes
>                 if (method=="REGISTER") {
>                         force_tcp_alias();
>                 };
> 
> -------------------
> 
> This works until a UA reboots/re-registers using a new TCP connection.
> Until the first TCP connection times out at SER (~120 seconds), SER will
> not re-use the second TCP connection.

I'm not sure I understand. When the UA re-registers, does it use the
same port in Via as before?
If the UA reboots ser should get a reset on the old tcp connection the
first time it tries to send soemthing to the UA and the connection
should close.

Could you send me a more detailed description? Like UA connects to ser
, UA sends some sip msgs, UA reboots ...
A packet dump would also help a lot.


Andrei


More information about the Serdev mailing list