<div dir="ltr"><div>I see, never done it, but mayne this article can help  <br><br><a href="http://blog.miconda.eu/2014/12/kamailio-42-tips-12-execute-rpc.html">http://blog.miconda.eu/2014/12/kamailio-42-tips-12-execute-rpc.html</a><br><br>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.
            </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 5:20 PM, Karthik Srinivasan <span dir="ltr"><<a href="mailto:ksriniva2002@gmail.com" target="_blank">ksriniva2002@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Julien,<div><br></div><div>The routing file i am referring to is the kamailio.cfg configuration file.</div><div><br></div><div>I am trying to find a way to access this information within that file.</div><div><br></div><div>Thanks,</div><div><br></div><div>Karthik</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 3:35 PM, Julien Chavanton <span dir="ltr"><<a href="mailto:jchavanton@gmail.com" target="_blank">jchavanton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Karthik,<div><br><div><div>You can retrieve this information using kamcmd </div><div><br></div><div>kamcmd stats.get_statistics all | grep usrloc<br></div><div>kamcmd <a href="http://tls.info" target="_blank">tls.info</a><br></div><div><br></div></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Not sure what you meant by "<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">via the routing file</span>"</div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 10:32 AM, Karthik Srinivasan <span dir="ltr"><<a href="mailto:ksriniva2002@gmail.com" target="_blank">ksriniva2002@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">sorry, i hit the send key a bit too quickly. <div><br></div><div>i am trying to access two items via the routing file:  a.) number of registered users.   b.) number of active TLS connections.  </div><div><br></div><div>I am not pushing the registrations to the database.  usrloc is stored in memory.</div><div><br></div><div>any ideas?<span><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 12:30 PM, Karthik Srinivasan <span dir="ltr"><<a href="mailto:ksriniva2002@gmail.com" target="_blank">ksriniva2002@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Via the routing file i am trying to find access two items:</div><div><br></div><div><br></div></div>
</blockquote></div><br></div></span></div></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>