[SR-Users] kamctl get number of subscribers

Jon Bonilla (Manwe) manwe at aholab.ehu.es
Wed Nov 24 11:49:07 CET 2010


El Wed, 24 Nov 2010 05:03:11 -0500
Alex Balashov <abalashov at evaristesys.com> escribió:

> > Looks like there's a stupid-trivial bug:
> >
> > test3:~# kamctl fifo get_statistics usrloc::location-contacts
> > dialog:location-contacts = 0
> 
> Hmmm... not for me:
> 
> diminuendo-1:/u/home/sasha# kamctl fifo get_statistics 
> usrloc::registered_users
> usrloc:registered_users = 0
> 
> (Running git master HEAD ad7f00d840082989132f335914aa0db223a0e46e)
> 

I'm running 3.0.4 stable. Anyways I think it started after retrieving stats
from dialog module. I'll try to catch how to reproduce it. Anyways it's trivial.

> > Is there any exported function or statistics to count the total number of
> > users (not only registered ones)?
> 
> Can't you just do a SELECT count(*) FROM your 'subscriber' table?
> 

Sure. I was just wondering if kamailio had that feature.


Thanks Alex.




More information about the sr-users mailing list