It is not a bug. From the docs:<br>
<br>
3.20. db_mode (integer)<br>
<br>
...<br>
<br>
3 - DB-Only scheme. No memory cache is kept, all operations being directly<br>
performed with the database...<br>
<br>
<snip><br>
<br>
...The lack of memory caching also disable the statistics exports.<br>
On 19 Mar 2015 15:38, "mading087" <notifications@github.com> wrote:<br>
<br>
> Running latest 4.2 with usrloc in db_mode=3. It seems "kamctl stats<br>
> usrloc" or "kamctl ul show" always shows 0 registered users even when there<br>
> are registered users (location table has entries).<br>
> This looks like a bug?<br>
><br>
> —<br>
> Reply to this email directly or view it on GitHub<br>
> <https://github.com/kamailio/kamailio/issues/113>.<br>
><br>
> _______________________________________________<br>
> sr-dev mailing list<br>
> sr-dev@lists.sip-router.org<br>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev<br>
><br>
><br>
<br>
-- <br>
www.sipcentric.com<br>
<br>
Follow us on twitter @sipcentric <http://twitter.com/sipcentric><br>
<br>
Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered <br>
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, <br>
Birmingham Science Park, Birmingham B7 4BB.<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/113#issuecomment-83641974">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zb8OFElanvpw0cHNsNKyJabSd2kSks5n2ujXgaJpZM4Dxach.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/113#issuecomment-83641974"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>