[OpenSIPS-Users] rl_check, limit parameter as a variable
Alexey Kazantsev
kurgan-rus at inbox.ru
Fri May 10 03:10:44 EDT 2019
Hi Bogdan,
that would be nice, thank you!
Tell me please where can I find some more info
about the output of 'fifo rl_list', besides
https://opensips.org/html/docs/modules/2.4.x/ratelimit.html#mi_rl_list ?
root at deb-osips1:# opensipsctl fifo rl_list
PIPE:: id=pipe_111 algorithm=SBT limit=5 counter=15
PIPE:: id=pipe_222 algorithm=SBT limit=5 counter=3
PIPE:: drop_rate=173
... some minutes later:
root at deb-osips1:# opensipsctl fifo rl_list
PIPE:: id=pipe_111 algorithm=SBT limit=5 counter=0
PIPE:: id=pipe_222 algorithm=SBT limit=5 counter=0
PIPE:: drop_rate=176
Does the 'drop_rate' show the total amount of dropped requests
from the moment of OpenSIPS start?
And the 'counter' value is an amount of dropped requests for
the certain pipe during the 'window_size' ("ban timeout")?
>Hi,
>
>Such issues, like (1) the confusion about the type of the value (string
>versus int) and (2) the ability to use variables for the function
>parameters, were all addressed with 3.0, hopefully making life easier
>for people writing OpenSIPS cfgs :).
>
>Regards,
>
>Bogdan-Andrei Iancu
>
>OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
>OpenSIPS Summit 2019
> https://www.opensips.org/events/Summit-2019Amsterdam/
-----------------------------------------------
BR, Alexey
http://alexeyka.zantsev.com/
More information about the Users
mailing list