<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        How do you get the registrations "replicated" on the backup
        server ? (the in memory data)<br>
        <br>
        Take a look at the "m" flag for "save()" function:<br>
           
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id294034">http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id294034</a><br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 27.08.2014 20:14, Schneur Rosenberg wrote:<br>
    </div>
    <blockquote
cite="mid:CANvjR0VtkuQEdGNT_tV6UEyOww93Gm64z9Rd-xmKZDdigzh3Wg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi
        <div><br>
        </div>
        <div>I'm using <span class="" id=":sj.2" tabindex="-1">usrloc</span>
          with db_mode set to 2, I'm using a backup server which is
          always running and is using the same database, my problem is
          that the second server constantly removes records from the
          location table, is it possible to  disable the <span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">expired
            contacts timer? would setting timer_interval to 0 disable
            the timer? I can write a <span class="" id=":sj.4"
              tabindex="-1">cron</span> that would delete expired
            contacts. is there any downside to this? does the timer do
            anything else? the documentation says "</span><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">The
            timer deletes all expired contacts and flushes all modified
            or new contacts to database" I'm not exactly what they mean
            by flushing the modified or new contacts.</span></div>
        <div><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br>
          </span></div>
        <div style="text-align:justify"><font color="#000000"
            face="Helvetica, Arial"><span style="font-size:12px">Both
              servers have exact same system time so that's not the
              issue.</span></font></div>
        <div style="text-align:justify"><font color="#000000"
            face="Helvetica, Arial"><span style="font-size:12px"><br>
            </span></font></div>
        <div style="text-align:justify"><font color="#000000"
            face="Helvetica, Arial"><span style="font-size:12px">If
              there is a better way please let me know.</span></font></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>