It is not a bug. From the docs:

3.20. db_mode (integer)

...

3 - DB-Only scheme. No memory cache is kept, all operations being directly
performed with the database...

<snip>

...The lack of memory caching also disable the statistics exports.
On 19 Mar 2015 15:38, "mading087" <notifications@github.com> wrote:

> Running latest 4.2 with usrloc in db_mode=3. It seems "kamctl stats
> usrloc" or "kamctl ul show" always shows 0 registered users even when there
> are registered users (location table has entries).
> This looks like a bug?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/kamailio/kamailio/issues/113>.
>
> _______________________________________________
> sr-dev mailing list
> sr-dev@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>

--
www.sipcentric.com

Follow us on twitter @sipcentric <http://twitter.com/sipcentric>

Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street,
Birmingham Science Park, Birmingham B7 4BB.


Reply to this email directly or view it on GitHub.