<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Alex,</p>
<p><br>
</p>
<p>I looked at the pipelimit module and apparently it relies on database, for performance reasons, I want to avoid DB looks and want to maintain</p>
<p>something in-memory, just like 'Pike' does for source-ip limiting.</p>
<p>Is there any way to do that in Kamailio?</p>
<p><br>
</p>
<p>Nitesh</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <sr-users-bounces@lists.sip-router.org> on behalf of Alex Balashov <abalashov@evaristesys.com><br>
<b>Sent:</b> Wednesday, July 13, 2016 3:47:32 PM<br>
<b>To:</b> sr-users@lists.sip-router.org<br>
<b>Subject:</b> Re: [SR-Users] Rate limiting</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">The pipelimit module is the solution to all your problems.<br>
<br>
On 07/13/2016 04:09 AM, NITESH BANSAL wrote:<br>
<br>
> Actually, I forgot to mention that, I'm looking for a Kamailio module<br>
> which can do that.<br>
><br>
> I want to avoid doing it on the application level (in perl/python).<br>
><br>
><br>
> Thanks,<br>
><br>
> Nitesh<br>
><br>
> ------------------------------------------------------------------------<br>
> *From:* sr-users <sr-users-bounces@lists.sip-router.org> on behalf of<br>
> NITESH BANSAL <nitesh.bansal@outlook.com><br>
> *Sent:* Tuesday, July 12, 2016 10:19:35 AM<br>
> *To:* sr-users@lists.sip-router.org<br>
> *Subject:* [SR-Users] Rate limiting<br>
><br>
> Hello,<br>
><br>
><br>
> I plan to add some rate limiting in the Kamailio. I'm already using<br>
> *Pike* to rate limit based on the source IP.<br>
><br>
> But in this case, i want to do the rate limiting per customer(regardless<br>
> of the source IP), I can identify the customer based on a custom<br>
><br>
> header in the INVITE, idea is to limit the customer to 'x' number of<br>
> requests per second.<br>
><br>
><br>
> Nitesh<br>
><br>
><br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
> sr-users@lists.sip-router.org<br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
<br>
<br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
1447 Peachtree Street NE, Suite 700<br>
Atlanta, GA 30309<br>
United States<br>
<br>
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)<br>
Web: <a href="http://www.evaristesys.com/">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/">
http://www.csrpswitch.com/</a><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
sr-users@lists.sip-router.org<br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</span></font>
</body>
</html>