<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Actually, I forgot to mention that, I'm looking for a Kamailio module which can do that.</p>
<p>I want to avoid doing it on the application level (in perl/python).</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Nitesh</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> sr-users <sr-users-bounces@lists.sip-router.org> on behalf of NITESH BANSAL <nitesh.bansal@outlook.com><br>
<b>Sent:</b> Tuesday, July 12, 2016 10:19:35 AM<br>
<b>To:</b> sr-users@lists.sip-router.org<br>
<b>Subject:</b> [SR-Users] Rate limiting</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>I plan to add some rate limiting in the Kamailio. I'm already using <b>Pike</b> to rate limit based on the source IP.</p>
<p>But in this case, i want to do the rate limiting per customer(regardless of the source IP), I can identify the customer based on a custom</p>
<p>header in the INVITE, idea is to limit the customer to 'x' number of requests per second.</p>
<p><br>
</p>
<p>Nitesh</p>
</div>
</div>
</body>
</html>