No, it is not possible.
However, it's not really an issue since sending an INVITE to the invalid location will result on a timeout which you can keep short (see the fr_timer) and then you can catch the timeout and behave as if there was no active registration.
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Filip Malenka Sent: Monday, April 20, 2015 11:34 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Expect the kamailio's sip account is unregistered state when the client app is shutdown
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@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@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@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users