<div dir="ltr">Hi list,<div><br></div><div>A quick question,</div><div><br></div><div>What is the best way to limit the rate of the kamailio,</div><div>Say I want it to process only 200 INVITEs per second</div><div><br></div>

<div>I know this can be done using ratelimit module, but what if I want to change this rate dynamically? say, in an overload control scenario, I am getting a recommended rate piggybacked in my replies, and I read it, then how can I change the messge processing rate of kamailio in runtime inside my script?</div>

<div><br></div><div>Is there a way to change the rate using ratelimit but inside script as messages come? </div><div><br></div><div>The RPC function (rl.set_pipe) does it, but can I call it inside my script?</div><div><br>

</div><div>Thanks,</div><div>Alireza</div></div>