<div dir="ltr"><div><div><div><div><div>Hi, users.<br><br></div>I am new to opensips, just started playing with it. Please pardon me for my naive question, but I want cps in opensips. <br><br></div>I have tried the following snippet, but still calls went on.<br><br>if (is_method(&quot;INVITE&quot;)) {<br>                if (!rl_check(&quot;$si&quot;, &quot;3&quot;, &quot;RED&quot;)) {<br>                xlog(&quot;L_ERR&quot;,&quot;Cps limit reached [$fu/$tu/$ru/$ci]&quot;);<br>                sl_send_reply(&quot;403&quot;, &quot;CPS Limit Exceeded&quot;);<br>                exit;<br>        };      <br>                setflag(ACC_DO); # do accounting<br>        }<br><br>Found at the following thread.<br><a href="http://opensips.org/pipermail/users/2012-April/021478.html">http://opensips.org/pipermail/users/2012-April/021478.html</a><br><br></div>Though this snippet is limiting the cps.(does not work for me) But I want is cps on over all opensips.<br><br></div>Can anybody please tell me why this snippet is not working and how can i get overall cps on my box.I am using sipp for seding calls.<br><br></div>Thanks for your help.<br><br><div><div><div><br></div></div></div></div>