[SR-Users] Expect the kamailio's sip account is unregistered state when the client app is shutdown

Mickael Marrache mickaelmarrache at gmail.com
Mon Apr 20 10:46:48 CEST 2015


Didn't know about that, it's interesting.

I'm curious about the load impact of this feature, since keepalives are
generally sent every 30 sec. 

-----Original Message-----
From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of
Daniel Grotti
Sent: Monday, April 20, 2015 11:40 AM
To: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] Expect the kamailio's sip account is unregistered
state when the client app is shutdown

Hi,
you may want to use:

http://www.kamailio.org/docs/modules/4.2.x/modules/nathelper.html#nathelper.
p.keepalive_timeout


--
Daniel Grotti
VoIP Engineer


Sipwise GmbH
Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com

On 04/20/2015 10:34 AM, Filip Malenka wrote:
> Thank you for information..
> What can Kamailio do about clients, that exit abnormally (e.g. crash, turn
off, ..) which do unregister properly? Can Kamailio send this "expire=0" on
behalf of these clients?
> Can Kamailio determine that a client got offline based on e.g. TLS
connection or other "heartbeats"?
> On 20.04.2015 10:16, Daniel Grotti wrote:
>> Hi,
>> here you are:
>>
>> https://tools.ietf.org/html/rfc3665#section-2.4
>>
>>
>>
>> --
>> Daniel Grotti
>> VoIP Engineer
>>
>>
>> Sipwise GmbH
>> Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com
>>
>> On 04/20/2015 10:10 AM, Mickael Marrache wrote:
>>> Hi,
>>>
>>>  
>>>
>>> You need to configure your client to un register when the app is closed.
>>>
>>>  
>>>
>>> For that, your client must send a REGISTER with Expires: 0.
>>>
>>>  
>>>
>>> Mickael
>>>
>>>  
>>>
>>> *From:*sr-users [mailto:sr-users-bounces at lists.sip-router.org] *On 
>>> Behalf Of *xuefeng zhang
>>> *Sent:* Monday, April 20, 2015 10:58 AM
>>> *To:* Daniel-Constantin Mierla; Kamailio (SER) - Users Mailing List
>>> *Subject:* [SR-Users] Expect the kamailio's sip account is 
>>> unregistered state when the client app is shutdown
>>>
>>>  
>>>
>>> Hi Daniel,
>>>
>>>  
>>>
>>> When the client's app is closed,the sip account may be registered 
>>> state,because the expired time may have some rest time.I want to 
>>> implement when the client's app is closed,the account also unregister.
>>>
>>>  
>>>
>>> How can I implement this function?Would you give me some advices?
>>>
>>>  
>>>
>>> Thanks!
>>>
>>>  
>>>
>>> Xuefeng Zhang
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
>>> list sr-users at lists.sip-router.org 
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
>> list sr-users at lists.sip-router.org 
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
> 
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
> list sr-users at lists.sip-router.org 
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list