Actually, I forgot to mention that, I'm looking for a Kamailio module which can do that.

I want to avoid doing it on the application level (in perl/python).


Thanks,

Nitesh


From: sr-users <sr-users-bounces@lists.sip-router.org> on behalf of NITESH BANSAL <nitesh.bansal@outlook.com>
Sent: Tuesday, July 12, 2016 10:19:35 AM
To: sr-users@lists.sip-router.org
Subject: [SR-Users] Rate limiting
 

Hello,


I plan to add some rate limiting in the Kamailio. I'm already using Pike to rate limit based on the source IP.

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

header in the INVITE, idea is to limit the customer to 'x' number of requests per second.


Nitesh