<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Pavel,<br>
      <br>
      OK, I will ask Liviu to take a deeper look into this, thanks for
      the report.<br>
      <br>
      Best regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
    <div class="moz-cite-prefix">On 1/3/22 7:47 PM, Pavel Eremin wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAF3UBt18kt7aWUbWjkuYYqPVvbFd=_4c3Wf8iX02yYuAMpWeSA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Thanks for your answer I suppose there is some
        little mistake in the code of mid_registrar due to this error
        easylly reproducing on the new opensips installation. 
        <div>Conditions are simple: centos 7 or debian 10, opensips 3.2
          ver, use mid_registrar (mode=2 or 1) and registrar in the same
          script. </div>
        <div>For example for REGISTER with tU like 1000 we will make
          mid_registrar_save and for 20000 we will do save(). <br>
          In case of save() we will get those errors in logs. </div>
        <div><br>
        </div>
        <div>I have created an issue(<a
            href="https://github.com/OpenSIPS/opensips/issues/2716"
            moz-do-not-send="true">https://github.com/OpenSIPS/opensips/issues/2716</a>)
          on github about that. </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">пн, 3 янв. 2022 г. в 21:34,
          Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org"
            moz-do-not-send="true">bogdan@opensips.org</a>>:<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> <font face="monospace">Hi Alexey,<br>
              <br>
              What the errors say is that mid-registrar, upon
              deleting/expiring a registered AOR, it is not able to push
              forward the un-register to the main registrar. This
              happens as some internal key (attached to the AOR) is not
              found by the mid-registrar. <br>
              <br>
              Not sure how this may be related to the changing of the
              IPs, but I guess this issue went away after some time,
              right? if not, you may stop opensips mid-registrar, purge
              the "location" table (or how you named it) and start
              opensips back. This will flush all the pending (potential
              bogus records) and give you a fresh start. Note that your
              device will have to re-register in order to have the
              calling working again.<br>
              <br>
              Regards,<br>
            </font>
            <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/" target="_blank" moz-do-not-send="true">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
            <div>On 12/27/21 10:15 AM, Alexey Kazantsev via Users wrote:<br>
            </div>
            <blockquote type="cite">
              <div>Hi list.</div>
              <div> </div>
              <div>What do these errors mean?</div>
              <div>This started after migrating the virtual machine and
                changing IP addresses.</div>
              <div>Everything else remain unchanged.</div>
              <div> </div>
              <div>Version 3.2.2</div>
              <div> </div>
              <div>
                <div>
                  <div>ERROR:mid_registrar:unregister_record: 'from' key
                    not found, skipping De-REGISTER</div>
                  <div>ERROR:mid_registrar:mid_reg_aor_event: failed to
                    unregister contact</div>
                  <div> </div>
                </div>
              </div>
              <div> </div>
              <div>
                <div>
                  <div>-----------------------------------------------<br>
                    <span style="font-size:15px">BR, Alexey</span><br
                      style="font-size:15px">
                    <span style="font-size:15px"><a
                        href="https://alexeyka.zantsev.com/"
                        target="_blank" moz-do-not-send="true">https://alexeyka.zantsev.com/</a></span></div>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            moz-do-not-send="true">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>