<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hello Bogdan,<br><br>I should have specified earlier that I want to limit the <b>concurrent </b>calls per destination.<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I don't think ratelimit can be used for that.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I want to have calls get dropped with a 503 at the dispatcher server if a defined concurrent call limit is met; not traversing any nodes deeper down the network.<br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 24, 2016 at 2:22 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@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">
Hi Owais,<br>
<br>
The dispatcher module is just dispatching traffic between multiple
destinations. The restrict (CPS limitation) traffic use the
ratelimit module:<br>
<a href="http://www.opensips.org/html/docs/modules/2.2.x/ratelimit.html" target="_blank">http://www.opensips.org/html/d<wbr>ocs/modules/2.2.x/ratelimit.ht<wbr>ml</a><br>
<br>
Regards,<br>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre><div><div>
<div>On 24.08.2016 08:16, Owais Ahmad wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<div dir="ltr">
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi guys,<br>
<br>
</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Can we use dispatcher module to restrict the
number of INVITEs relayed to a specific destination?<br>
</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Regards,<br>
</div>
<div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Owais<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div>