Hello Daniel
i had the call rate for some minutes actually.
maybe 4-5min and all the time the behaviour was like that. it's true
that in that kamailio there wa no any other traffic, only those test
calls i set with a sipp to simulate the load
best regards
david
Hello,
for how long you got this 20req/second?
The module is not counting like continuous time, but more like traffic
on each second, iirc.
Cheers,
Daniel
On 23/05/16 11:24, david escartin wrote:
Hello all
i have a quick question about using module ratelimit on kamailio 4.2
or 4.4.
on tests made before running it on production, i set the RED
algorithm with a limit of 10 calls per second, but i saw the call
limitation was not done until we got more than 20 calls per second or
so on the queue. we didnt get any INVITE discarded.
after surpassing around 20 INV/sec, it's true the algorithm starts to
work fine and only 10INV/sec are passed more or less
on production i have no easy way to check this behaviour, besides it's
a feature barely used.
so i only want to know if this behaviour is known, or if i'm missing
soemthing
my config is like this
modparam("ratelimit", "timer_interval", 5)
modparam("ratelimit", "queue", "4:INVITE")
modparam("ratelimit", "pipe", "4:RED:10")
route[RATE_LIMIT] {
$var(limitation)="4";
if (!rl_check("$var(limitation)")) {
send_reply("505","Limiting");
xlog("L_INFO","Call $ci / Call-ID $ci: ratelimit was reached,
rejecting with 505\n");
route(CLEAR);
exit;
}
}
thanks a lot and regards
david escartin
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at
lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com -
http://www.kamailio.org
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda