Hello,
Via the routing file i am trying to find access two items:
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:
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:
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:
Thank you; I will take a look.
On Wed, May 23, 2018 at 7:13 PM, Julien Chavanton jchavanton@gmail.com wrote: