[sr-dev] sr closes tcp connection before register expires

Klaus Darilion klaus.mailinglists at pernau.at
Mon Dec 7 22:34:15 CET 2009



Daniel-Constantin Mierla schrieb:
> Hello,
> 
> On 12/7/09 6:23 PM, Juha Heinanen wrote:
>> ua sets up tcp connection to sr and registers.  expires parameter of
>> contact header is 3600 and tcp_persistent_flag was set before save() was
>> called.
>>
>> after registering, ua sends some other requests and becomes idle 8
>> second later.  2 minutes 10 seconds after that, wireshark shows that sr
>> closes the tcp connection.
>>
>> why is tcp connection closed?  it looks like a bug to me, but perhaps i
>> am missing something?
>>    
> 
> check this info:
> http://sip-router.org/wiki/migration/kamailio-tips#tcp_connection_lifetime

Isn't it possible to implement tcp_persistent_flag on sr core? IMO it is 
a nice feature.

regards
klaus



More information about the sr-dev mailing list