<div dir="ltr">the idea is that I don't need to get the number of calls 30 times per second which would happens if I save to redis on each invite. scheduling the saving to redis every 10 seconds serves well my purpose but the timer_route doesn't seem to accept <span style="font-size:12.8px">get_profile_size()</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">any hints would be appreciated.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 10:39 PM, Khalil Khamlichi <span dir="ltr"><<a href="mailto:khamlichi.khalil@gmail.com" target="_blank">khamlichi.khalil@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,<div><br></div><div>I am trying to get call load information out of opensips at regular intervals to get some sort of realtime view of the load on the server.</div><div><br></div><div>After applying profiles on the the INVITEs, I have tried to call get_profile_size from a timer_route.</div><div>I am getting error : </div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">CRITICAL:core:yyerror: parse error in config file /usr/local//etc/opensips/<wbr>opensips.cfg, line 483, column 38-39: Command cannot be used in the block</span><br></span></div><div><br></div><div>Any alternative solutions ?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>kkh</div></div>
</blockquote></div><br></div>