<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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 class="moz-cite-prefix">On 25.04.22 13:08, Linux Vince wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACBj1ka1taNngW9NgEHtvC+KDE-zbU6DqZtQXgJ=UCz17Eo8Wg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
              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"
                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 class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">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 class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </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>