<div dir="ltr">Greetings,<div><br></div><div>I've been using the pipelimit module and the pl_check function to control users rates in my proxy. </div><div><br></div><div>if (!pl_check("$var(UserID)", "TAILDROP", "$var(UserRate)")) {<br></div><div>     pl_drop();</div><div>     exit; </div><div>}<br></div><div><br></div><div>In this case  $var(UserID) is the pipe and  $var(UserRate) is the maximum rate.</div><div>The value of the rate is retrieved on every call via query to a DB. </div><div><br></div><div>If I change the UserRate value to 0 CPS on the DB calls are not rejected unless they go over 1 CPS. However, if I restart Kamailio all calls are correctly rejected. </div><div><br></div><div>Why does this happen? Can I change this behaviour?</div><div><br></div><div>Cheers,</div><div><br></div><div>Duarte </div><div class="gmail-yj6qo"></div><div class="gmail-adL"><br></div></div>