[SR-Users] kamctl get number of subscribers

Jon Bonilla (Manwe) manwe at aholab.ehu.es
Wed Nov 24 13:57:43 CET 2010


El Wed, 24 Nov 2010 13:14:52 +0100
Iñaki Baz Castillo <ibc at aliax.net> escribió:

> 
> If the problem occurs after retrieving dialog module status then it
> could be not so trivial.
> 


Some more info:

I looked at my history and looks like I was right about dialog module:

test3:~# kamctl fifo get_statistics usrloc::registered_users
usrloc:registered_users = 2

test3:~# kamctl fifo get_statistics :dialog::active_dialogs
dialog:active_dialogs = 0

test3:~# kamctl fifo get_statistics usrloc:
usrloc:registered_users = 1
usrloc:location-users = 1
usrloc:location-contacts = 1
usrloc:location-expires = 1

test3:~# kamctl fifo get_statistics usrloc::location-contacts
dialog:location-contacts = 1

It started after retrieving stats from dialog.

If I restart kamailio I still get the wrong output:

test3:~# kamctl fifo get_statistics usrloc::location-users
dialog:location-users = 1

test3:~# /etc/init.d/kamailio restart
Restarting kamailio: kamailioloading modules
under /usr/lib/kamailio/modules_k:/usr/lib/kamailio/modules Listening on 
             udp: 77.77.77.77 [77.77.77.77]:5060
             udp: 127.0.0.1:5060
             tcp: 77.77.77.77 [77.77.77.77]:5060
Aliases: 

.
test3:~# kamctl fifo get_statistics usrloc::location-users
dialog:location-users = 1




More information about the sr-users mailing list