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

Vitaliy Aleksandrov vitalik.voip at gmail.com
Tue Apr 28 09:48:01 CEST 2015


Hi,

You can take a look at this option:
http://kamailio.org/docs/modules/4.2.x/modules/usrloc.html#usrloc.p.handle_lost_tcp

It's a bit limited and doesn't work for:
- usrloc db only mode
- if you have separated edge proxy and registrar

> 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