I see, never done it, but mayne this article can help
http://blog.miconda.eu/2014/12/kamailio-42-tips-12-execute-rpc.html
The parameter has to be a valid full JSON-RPC document. It can be a dynamic string with variables. The result of the command can be accessed via $jsonrpl(key) pseudo variables.
On Wed, May 23, 2018 at 5:20 PM, Karthik Srinivasan ksriniva2002@gmail.com wrote:
Hi Julien,
The routing file i am referring to is the kamailio.cfg configuration file.
I am trying to find a way to access this information within that file.
Thanks,
Karthik
On Wed, May 23, 2018 at 3:35 PM, Julien Chavanton jchavanton@gmail.com wrote:
Hi Karthik,
You can retrieve this information using kamcmd
kamcmd stats.get_statistics all | grep usrloc kamcmd tls.info
Not sure what you meant by "via the routing file"
On Wed, May 23, 2018 at 10:32 AM, Karthik Srinivasan < ksriniva2002@gmail.com> wrote:
sorry, i hit the send key a bit too quickly.
i am trying to access two items via the routing file: a.) number of registered users. b.) number of active TLS connections.
I am not pushing the registrations to the database. usrloc is stored in memory.
any ideas?
On Wed, May 23, 2018 at 12:30 PM, Karthik Srinivasan < ksriniva2002@gmail.com> wrote:
Hello,
Via the routing file i am trying to find access two items:
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users