<div dir="ltr">You could use ratelimit module. <br><a href="http://www.opensips.org/html/docs/modules/2.2.x/ratelimit.html">http://www.opensips.org/html/docs/modules/2.2.x/ratelimit.html</a><br>This is how I am doing in my configuration. <div><br></div><div><br></div><div><div>{</div><div>...</div><div>        $var(user) = "system";</div><div>        set_dlg_profile($var(user));</div><div>        rl_check("$var(user)", "99999", "TAILDROP");</div><div>        get_profile_size("system", "$var(size)");</div><div>        xlog("The System has CPS: $rl_count($var(user)) and CC: $var(size)");</div><div>        route(relay);</div><div>...</div><div>}</div><div>Hope it helps. </div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 April 2017 at 02:06, deizeppe <span dir="ltr"><<a href="mailto:ricardo.deizeppe@gmail.com" target="_blank">ricardo.deizeppe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, is there any command that shows the value of CPS?<br>
<br>
Thanks in advance<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/opensips-performance-tp7605389p7606871.html" rel="noreferrer" target="_blank">http://opensips-open-sip-<wbr>server.1449251.n2.nabble.com/<wbr>opensips-performance-<wbr>tp7605389p7606871.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>