<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Hi Andrei,<br>
      <br>
      Default is 60, but you can configured it
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.9.x/usrloc.html#id292976">http://www.opensips.org/html/docs/modules/1.9.x/usrloc.html#id292976</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>
    <br>
    On 04/18/2013 05:55 PM, Andrei Grav wrote:
    <blockquote
cite="mid:CALUe06_9rHRtF=rgZOR1PygdKuP8kgrMSidQdgnySn21XW1aBQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>I got it !<br>
        </div>
        <div>Can you tell me how often is the cache flushed to DB ?</div>
        <div><br>
        </div>
        <div>Thank you Bogdan</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Apr 18, 2013 at 5:24 PM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000"> <tt>Hello Andrei,<br>
                <br>
                Actually "opensipsctl online" is query (for online
                users) directly OpenSIPS (from cache) via an MI
                function: "opensipsctl fifo ul_dump" . DB content is
                usually not uptodate (cache is periodically flushed to
                DB), unless using DB mode 3.<br>
                <br>
                Regards,<br>
              </tt>
              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div class="h5"> <br>
                  On 04/18/2013 02:29 PM, Andrei Grav wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>Hi,<br>
                      </div>
                      <div><br>
                      </div>
                      <div>the command #opensipsctl online has the same
                        effect like mysql_querry("select username from
                        location") ?</div>
                      <div><br>
                      </div>
                      <div>thank you,</div>
                      <div>Andrei</div>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>