[SR-Users] rate limit module

2011-12-02 Thread Fabian Borot
Hello, I am trying to use the rate limit module using Kamailio 1.5.2. I feel that I got it but I would like some pointers and recommendations. These are my settings: (this is a lab of course), I used 1 on the timer_interval because I am generating the calls manually and wanted to see it

Re: [SR-Users] rate limit module

2011-12-02 Thread Ovidiu Sas
Take a look at theĀ rl_set_dbg command: http://www.kamailio.org/docs/modules/1.5.x/ratelimit.html#id2506196 Enable debug mode and you will see in the logs what ratelimit is doing internally. Regards, Ovidiu Sas -- VoIP Embedded, Inc. http://www.voipembedded.com On Fri, Dec 2, 2011 at 2:56 PM,

Re: [SR-Users] rate limit module

2011-12-02 Thread Fabian Borot
thank you Ovidiu, the debug it really helps. please help me out with these questions though: modparam(ratelimit, timer_interval, 30) modparam(ratelimit, pipe, 0:TAILDROP:50) does this mean allow up to 50 calls/sec or allow up to 50 calls/30sec or is the logic similar to: every 30 seconds

Re: [SR-Users] rate limit module

2011-12-02 Thread Ovidiu Sas
It is allow up to 50 calls/30sec. You can verify that by observing the debug logs. Regards, Ovidiu Sas On Fri, Dec 2, 2011 at 4:11 PM, Fabian Borot fbo...@hotmail.com wrote: thank you Ovidiu, the debug it really helps. please help me out with these questions though: modparam(ratelimit,