<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>ANY_ROUTE is used as an alias for all types of routes -- it is
somehow propagated from C code to docs.</p>
<p>Good to know that it solves it.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 26.04.22 05:58, Linux Vince wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACBj1kahE5NEdTUgoF9sEvqn5GCsnUaapFoOpphR2cKHhnt5Eg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Thank you for the help.</div>
<div><br>
</div>
<div>I was reading documentation and it did not mention REPLY
ROUTE has access to unregister().</div>
<div><br>
</div>
<div>I was able to use it and that solved the problem.</div>
<div><br>
</div>
<div>Thank you.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Apr 25, 2022 at 5:18
PM Daniel-Constantin Mierla <<a
href="mailto:miconda@gmail.com" moz-do-not-send="true"
class="moz-txt-link-freetext">miconda@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hello,</p>
<p>at least in v5.5.x, the unregister() is exported for use
in any route block.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div>On 25.04.22 13:08, Linux Vince wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div>I forgot to add URL in previous email</div>
<div><br>
</div>
<div><a
href="https://lists.kamailio.org/pipermail/sr-users/2020-October/110782.html"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.kamailio.org/pipermail/sr-users/2020-October/110782.html</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Apr 25,
2022 at 4:34 PM Linux Vince <<a
href="mailto:linuxv@gmail.com" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">linuxv@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am trying to implement scenario
described in this thread
by Daniel-Constantin Mierla.</div>
<div><br>
</div>
<div>I am able to cache registration using
save but i am not able to handle
unregistration.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Is there any workaround to fix this?</div>
<div><br>
</div>
<div>Thanks,</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre cols="72">--
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
* <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>