<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><tt>Hello, Jeff!</tt></p>
    <p><tt>Looks like a bug - let me try to reproduce it first, then
        I'll return with some findings.</tt></p>
    <p><tt>Cheers,</tt><br>
    </p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 19.03.2019 03:12, Jeff Pyle wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPhW+0+f733Y9YE7X51tx1gTCF=bLBt4xk47X5cUg-6Xwod0aw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>This is on OpenSIPS 2.4.5 from the <a
            href="http://apt.opensips.org" moz-do-not-send="true">apt.opensips.org</a>
          repo.<br>
        </div>
        <div><br>
        </div>
        <div>I'm running mid_registrar in mode=0 with all parameters
          default.  The REGISTER message comes from the client towards
          OpenSIPS with an expires=3600 in the Contact.  I run
          mid_registrar_save("location") and relay the REGISTER upstream
          to the main registrar with the same expires=3600.  The main
          registrar responds with a 200 OK, with an expires=600.  When
          OpenSIPS relays the 200 OK to the client, it rewrites the
          expires to 3600.  OpenSIPS hangs onto the registration in
          usrloc for 3600, but the main registrar only for 600.</div>
        <div><br>
        </div>
        <div>Am I missing something with mid_registrar's operation, or
          is this a bug?  How do I set OpenSIPS to honor the main
          registrar's expires value for its own usrloc entry and relay
          that back to the client?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>- Jeff</div>
        <div><br>
        </div>
      </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>
  </body>
</html>