Re: [SR-Users] count of registered users or count of tls connections

2018-05-23 Thread Karthik Srinivasan
Thank you; I will take a look. On Wed, May 23, 2018 at 7:13 PM, Julien Chavanton wrote: > 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

Re: [SR-Users] count of registered users or count of tls connections

2018-05-23 Thread Julien Chavanton
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

Re: [SR-Users] count of registered users or count of tls connections

2018-05-23 Thread Karthik Srinivasan
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 wrote: > Hi Karthik, > > You can retrieve this

Re: [SR-Users] count of registered users or count of tls connections

2018-05-23 Thread Julien Chavanton
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 wrote: > sorry, i hit the send key a bit

Re: [SR-Users] count of registered users or count of tls connections

2018-05-23 Thread Karthik Srinivasan
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

[SR-Users] count of registered users or count of tls connections

2018-05-23 Thread Karthik Srinivasan
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