Re: [SR-Users] Rate limiting

2016-09-01 Thread Daniel-Constantin Mierla
Hello, the pipelimit aims to be more dynamic, while dropping the queues concepts of ratelimit, given those can be done with IF conditions inside kamailio.cfg. In ratelimit, the pipes are defined as parameters, with some limits in the number of pipes as well as constrained to integer ids for pipes

Re: [SR-Users] Rate limiting

2016-08-30 Thread Andreas Granig
Hi Alex, http://www.kamailio.org/docs/modules/4.4.x/modules/ratelimit.html is another approach here. Tried it as a proof of concept recently and it seems to do its job. Seems like pipelimit is derived from ratelimit. What's the main difference from ratelimit, other than named pipes and DB support

Re: [SR-Users] Rate limiting

2016-08-29 Thread Alex Balashov
On 08/29/2016 11:37 AM, NITESH BANSAL wrote: Finally I got it working. The issue was that I was trying to use pikelimit with Kamailio version 4.1, 4.1 version doesn't allow for dynamic pipe creation. In the end, I backported pipelimit code from Kamailio version 4.2 and used pl_check function to

Re: [SR-Users] Rate limiting

2016-08-29 Thread NITESH BANSAL
pipes. From: sr-users on behalf of NITESH BANSAL Sent: Wednesday, August 24, 2016 10:22:14 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Rate limiting What I really want is something similar to the Pike module, which dynamically controls the traffic based o

Re: [SR-Users] Rate limiting

2016-08-24 Thread NITESH BANSAL
the LOGINs just like dynamic source addresses. From: sr-users on behalf of NITESH BANSAL Sent: Wednesday, August 24, 2016 10:16:20 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Rate limiting Hello, I tried calling the function pl_check

Re: [SR-Users] Rate limiting

2016-08-24 Thread NITESH BANSAL
io 4.1, could that be the difference? Thanks, Nitesh From: sr-users on behalf of Alex Balashov Sent: Friday, July 15, 2016 1:54:49 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Rate limiting I have never used pipelimit with a database. The essence

Re: [SR-Users] Rate limiting

2016-07-15 Thread Alex Balashov
r-users on behalf of >Alex Balashov >Sent: Wednesday, July 13, 2016 3:47:32 PM >To: sr-users@lists.sip-router.org >Subject: Re: [SR-Users] Rate limiting > >The pipelimit module is the solution to all your problems. > >On 07/13/2016 04:09 AM, NITESH BANSAL wrote: > >&g

Re: [SR-Users] Rate limiting

2016-07-15 Thread NITESH BANSAL
? Nitesh From: sr-users on behalf of Alex Balashov Sent: Wednesday, July 13, 2016 3:47:32 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Rate limiting The pipelimit module is the solution to all your problems. On 07/13/2016 04:09 AM, NITESH BANSAL wrote: > Actually

Re: [SR-Users] Rate limiting

2016-07-13 Thread Alex Balashov
itesh *From:* sr-users on behalf of NITESH BANSAL *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 alr

Re: [SR-Users] Rate limiting

2016-07-13 Thread NITESH BANSAL
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 ca

[SR-Users] Rate limiting

2016-07-12 Thread NITESH BANSAL
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 limi

Re: [SR-Users] Rate Limiting with Kamailio

2014-08-15 Thread AliReza Khoshgoftar Monfared
Thanks Daniel and Alex, I will submit a request for it. It will definitely be a helpful addition as it helps people implement various overload control mechanism where many of them require tuning the rate. In the meantime I will do as Alex suggested to use my own counters to keep track of messages

Re: [SR-Users] Rate Limiting with Kamailio

2014-08-15 Thread Daniel-Constantin Mierla
Hello, On 14/08/14 18:49, AliReza Khoshgoftar Monfared wrote: Hi list, A quick question, What is the best way to limit the rate of the kamailio, Say I want it to process only 200 INVITEs per second I know this can be done using ratelimit module, but what if I want to change this rate dynamic

Re: [SR-Users] Rate Limiting with Kamailio

2014-08-14 Thread Alex Balashov
On 08/14/2014 12:49 PM, AliReza Khoshgoftar Monfared wrote: Hi list, A quick question, What is the best way to limit the rate of the kamailio, Say I want it to process only 200 INVITEs per second I know this can be done using ratelimit module, but what if I want to change this rate dynamicall

[SR-Users] Rate Limiting with Kamailio

2014-08-14 Thread AliReza Khoshgoftar Monfared
Hi list, A quick question, What is the best way to limit the rate of the kamailio, Say I want it to process only 200 INVITEs per second 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 recomme