<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Husnain,<br>
      <br>
      Are you using db_mode=3 for usrloc module ?<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>
    <div class="moz-cite-prefix">On 12.01.2016 12:09, Husnain Taseer
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALkA4hK_DDg_WmMHPPAnEcb1wuvcKFSV6x0MJcuM6d2m2v0xPw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear Users,
        <div><br>
        </div>
        <div>I am using Server:: OpenSIPS (2.1.1 (x86_64/linux)) as a
          registrar server where more than 20 users are registered and I
          can see their entries in location table. but when I run fifo
          commands to see the statistics it shows me 0 registered users:<br>
          <br>
          <br>
          <div>[root@opensips ]# opensipsctl fifo get_statistics
            'usrloc:'</div>
          <div>usrloc:registered_users:: 0</div>
          <div>usrloc:location-users:: 0</div>
          <div>usrloc:location-contacts:: 0</div>
          <div>usrloc:location-expires:: 0</div>
        </div>
        <div><br>
          <br>
          and the output of "opensipsctl  monitor" is : </div>
        <div>
          <div><br>
          </div>
          <div>[cycle #: 5; if constant make sure server lives]</div>
          <div>Server:: OpenSIPS (2.1.1 (x86_64/linux))</div>
          <div>Now:: Tue Jan 12 16:13:14 2016</div>
          <div>Up since:: Mon Jan 11 20:17:19 2016</div>
          <div>Up time:: 71755 [sec]</div>
          <div><br>
          </div>
          <div>Transaction Statistics:</div>
          <div>tm:UAS_transactions:: 2011</div>
          <div>tm:UAC_transactions:: 14222</div>
          <div>tm:inuse_transactions:: 0</div>
          <div><br>
          </div>
          <div>Stateless Server Statistics:</div>
          <div>sl:sent_replies:: 258651</div>
          <div>sl:sent_err_replies:: 15</div>
          <div>sl:received_ACKs:: 979</div>
          <div><br>
          </div>
          <div>UsrLoc Stats:</div>
          <div>usrloc:registered_users:: 0</div>
          <div>usrloc:location-users:: 0</div>
          <div>usrloc:location-contacts:: 0</div>
          <div>usrloc:location-expires:: 0</div>
          <div><br>
          </div>
        </div>
        <div><br>
        </div>
        <div>Please advise</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Husnain Taseer</div>
        <div>VoIP Developer</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>