[OpenSIPS-Users] opensips performance

Aqs Younas aqsyounas at gmail.com
Thu Apr 6 07:17:17 EDT 2017


You could use ratelimit module.
http://www.opensips.org/html/docs/modules/2.2.x/ratelimit.html
This is how I am doing in my configuration.


{
...
        $var(user) = "system";
        set_dlg_profile($var(user));
        rl_check("$var(user)", "99999", "TAILDROP");
        get_profile_size("system", "$var(size)");
        xlog("The System has CPS: $rl_count($var(user)) and CC:
$var(size)");
        route(relay);
...
}
Hope it helps.


On 6 April 2017 at 02:06, deizeppe <ricardo.deizeppe at gmail.com> wrote:

> Hi, is there any command that shows the value of CPS?
>
> Thanks in advance
>
>
>
> --
> View this message in context: http://opensips-open-sip-
> server.1449251.n2.nabble.com/opensips-performance-tp7605389p7606871.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170406/37e3cc0b/attachment-0001.html>


More information about the Users mailing list