-----Original Message-----
From: Benoit Panizzon via sr-users <sr-users(a)lists.kamailio.org>
Sent: Donnerstag, 30. November 2023 15:20
To: sr-users(a)lists.kamailio.org
Cc: Benoit Panizzon <benoit.panizzon(a)imp.ch>
Subject: [SR-Users] How to use: kamcmd ul.db_users?
Hi List
I want to find a way to check how many users are regsitered.
https://www.kamailio.org/docs/modules/devel/modules/usrloc.html#usrloc.
r.db_users
But no matter how I try, I get a 500 error...
# kamcmd ul.db_users location
And yes, the table is called 'location'.
I did try to find out how kamctl ul show --brief pulls that information, but did
not succeed. Also that command takes way too long how that we have several
thousand registered users.
Or would I need to query this directly from the database?
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web
http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe
send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!
Edit mailing list options or unsubscribe: