<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Yes, RED seems to be what you need.</tt></p>
<p><tt>Best regards,</tt><br>
</p>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 06/03/2016 12:15 PM, John Nash
wrote:<br>
</div>
<blockquote
cite="mid:CAA4rGPxn+AK3f7kK7oZ2HYGM-q3z2jXfzM8NZ8L--LszV7Yojg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Thank you for detailed reply. I will choose to implement on
Opensips. I would also prefer performance over accuracy as my
objective is to stop customers from flooding with too many
calls so I can select RED?<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jun 3, 2016 at 12:47 PM, Răzvan
Crainea <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p><tt>Hi, John!</tt></p>
<p><tt>It depends on the logic of your platform. If you
have multiple FreeSWITCH servers behind OpenSIPS, and
you want to have a "global" limit, then you must do it
on OpenSIPS side. It is also recommended to do it
there because for example if the threashold is
reached, you don't have to load FreeSWITCH with
traffic that's about to be denied. However, if you
have local (per FreeSWITCH) limits, then you can do it
on the FreeSWITCH side (with the earlier
observations).</tt></p>
<p><tt>Regarding the algorithm, it depends on what you
want to limit. If you want to do CPS, then TAILDROP or
RED is more suitable. If you want to do a limitation
based on the network load, then use NETWORK.</tt></p>
<p><tt>Also take into account that the way RED and
TAILDROP algorithm work, they are not so accurate.
That's why in OpenSIPS 2.2 we added a new algorithm,
SBT[1], which is very accurate and custamizable.</tt></p>
<p><tt>[1] <a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/2.2.x/ratelimit.html#id293435"
target="_blank">http://www.opensips.org/html/docs/modules/2.2.x/ratelimit.html#id293435</a></tt></p>
<p><tt>Best regards,<br>
</tt></p>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div>On 06/02/2016 08:49 AM, John Nash wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Also how can I decide which Rate
limit algorithm should I choose ? Like RED or
TAILDROP or NETWORK</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jun 2, 2016 at
9:37 AM, John Nash <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:john.nash778@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:john.nash778@gmail.com">john.nash778@gmail.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">I am using opensips(2,1) +
freeswitch. At opensips doing auth and
drouting. Now i plan to test rate limit but
should I be checking CPS at opensips or at
freeswitch?...as Rate limit uses timers
would it be more appropriate to check at
freeswitch?
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>