Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see registered users in kamailio server?

Tags:

sip

kamailio

I am very much new to Kamailio server . I found out that the command to add users is "./kamctl add ". But how can we find out the number of registered users or how can we know the number of authenticated users ?

like image 658
user2139084 Avatar asked May 29 '13 13:05

user2139084


2 Answers

Just to see list of all online users you can run command:

kamctl online

If you want details of online users such as Expires, Callid, User-Agent, Last-KeepAlive, Last-Modified then use:

kamctl ul show
like image 145
Shiv Buyya Avatar answered Nov 20 '22 20:11

Shiv Buyya


If you look for active users (i.e., those registered with a SIP phone at that moment):

kamctl ul show

The above command will print the list of records in user location table from Kamailio memory.

If you look for provisioned users (i.e., users having a subscriber profile):

kamctl db show subscriber

The above command will print the content of database table subscriber where user profiles are stored.

like image 24
miconda Avatar answered Nov 20 '22 20:11

miconda