[SR-Users] Local Registration Cache

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 26 08:33:36 CEST 2022


Hello,

ANY_ROUTE is used as an alias for all types of routes -- it is somehow
propagated from C code to docs.

Good to know that it solves it.

Cheers,
Daniel

On 26.04.22 05:58, Linux Vince wrote:
> 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.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Kamailio Advanced Training - Online
>       * https://www.asipto.com/sw/kamailio-advanced-training-online/
>
-- 
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220426/090c743d/attachment.htm>


More information about the sr-users mailing list