Hello,

Thank you for the help.

I was reading documentation and it did not mention REPLY ROUTE has access to unregister().

I was able to use it and that solved the problem.

Thank you.

On Mon, Apr 25, 2022 at 5:18 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

at least in v5.5.x, the unregister() is exported for use in any route block.

Cheers,
Daniel

On 25.04.22 13:08, Linux Vince wrote:
I forgot to add URL in previous email




On Mon, Apr 25, 2022 at 4:34 PM Linux Vince <linuxv@gmail.com> wrote:
Hello,

I am trying to implement scenario described in this thread by Daniel-Constantin Mierla.

I am able to cache registration using save but i am not able to handle unregistration.

Unregister function of registrar module is not available in onreply routes and I cannot unregister until upstream registrar returns 200 OK on Expire 0 message.

Is there any workaround to fix this?

Thanks,

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
  * https://www.asipto.com/sw/kamailio-advanced-training-online/