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

Daniel Grotti dgrotti at sipwise.com
Mon Apr 20 10:36:05 CEST 2015


Hi,
if the app crashes, it will just de-register the user after the
expiration time, since no re-register came in.


--
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
> 



More information about the sr-users mailing list