Hello,
On 03/07/14 13:37, Olle E. Johansson wrote:
Hi!
Have you implemented a per-customer rate limit in Calls per second? If so - how?
I've played with ratelimit/pipelimit and it seems like I can define a database
with one pipe per customer - but have to restart Kamailio to add customers.
There are warnings for low timer settings, like 1 second, but I don't know how
up-to-date those warnings are.
I guess I could play with hash tables and implement something pike-like there,
but it seems like a workaround for something pretty common.
So the question remains - how are you limiting on a cps per customer?
pipelimit from devel branch has this option to create pipes on demand
with dynamic name. Would be good to get some feedback if works fine, as
I did limited testing at the time of development. The module should just
work if placed over 4.1 source code.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users