[Kamailio-Users] lifetime and TCP connection timeout
Aymeric Moizard
jack at atosc.org
Fri Oct 23 18:25:07 CEST 2009
Some additionnal information:
I tried several value for tcp_connection_lifetime!
tcp_connection_lifetime = 120 -> close TCP conn after 50 seconds
tcp_connection_lifetime = 300 -> close TCP conn after 90 seconds
tcp_connection_lifetime = 600 -> close TCP conn after 160 seconds
Do I have "tick" issue? Any idea?
I think I'm close to find either a bug or an issue with my kernel?
I got a timer running a route[] for statistics computation, in
case that would change something?
I'm using rtimer module: could this have an impact?
Aymeric MOIZARD / ANTISIP
amsip - http://www.antisip.com
osip2 - http://www.osip.org
eXosip2 - http://savannah.nongnu.org/projects/exosip/
On Fri, 23 Oct 2009, Klaus Darilion wrote:
> Hi Aymeric!
>
> Kamailio does not support SIP outbound. It should close TCP connection after
> the timeout. The timeout can be specified with
> http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:1.5.x#tcp_connection_lifetime
>
> So, do I get it right that this does not work (TCP connection closed after 50
> seconds by Kamailio although the default value is 120 seconds)?
>
> (For outbound support probably the default value should be increased).
>
> Further, usually the lifetime should be extended to the value of the
> registration expiration. This can be done by using
> http://www.kamailio.org/docs/modules/1.5.x/registrar.html#id2477171
>
> regards
> klaus
>
> Aymeric Moizard schrieb:
>>
>>
>> On Fri, 23 Oct 2009, Iñaki Baz Castillo wrote:
>>
>>> El Viernes, 23 de Octubre de 2009, Aymeric Moizard escribió:
>>>> Hi all,
>>>>
>>>> I'm working on improving my TCP support and go some issue
>>>> related to TCP connections and lifetime/persistence.
>>>
>>> Are you doing that in Kamailio's TM module?
>>> Please take into account that for Kamailio next version SIP-Router TM
>>> module
>>> will be used, which has received LOT of love for TCP (i.e: non blocking).
>>
>> Sorry that I missed to put the version of kamailio: I'm using branch 1.5
>> svnversion gives 5868M
>> ChangeLog last line is:
>> ===================== 2009-04-29 Kamailio v1.5.1 released
>> =====================
>>
>> Seems like you are misunderstooding me: I'm working on my SIP stacks
>> against kamailio with no change. I'm not working "on" the tm module.
>>
>> Tks,
>> Aymeric MOIZARD / ANTISIP
>> amsip - http://www.antisip.com
>> osip2 - http://www.osip.org
>> eXosip2 - http://savannah.nongnu.org/projects/exosip/
>>
>>
>>> --
>>> Iñaki Baz Castillo <ibc at aliax.net>
>>>
>>> _______________________________________________
>>> Kamailio (OpenSER) - Users mailing list
>>> Users at lists.kamailio.org
>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list