[SR-Users] Local Registration Cache

Linux Vince linuxv at gmail.com
Tue Apr 26 05:58:44 CEST 2022


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 at 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
>
> https://lists.kamailio.org/pipermail/sr-users/2020-October/110782.html
>
>
>
> On Mon, Apr 25, 2022 at 4:34 PM Linux Vince <linuxv at 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 at 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.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Online
>   * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220426/3503698c/attachment.htm>


More information about the sr-users mailing list