<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">I've implemented this in default.xml hoping to limit each of my two gateways to 150. </span><div style="font-family:arial,sans-serif;font-size:13px">
Based on what's in <a href="http://wiki.freeswitch.org/wiki/Limit#Using_limit_with_per-gateway_or_per-user_channel_limits" target="_blank">http://wiki.freeswitch.org/wiki/Limit#Using_limit_with_per-gateway_or_per-user_channel_limits</a> so hopefully that works.<div>
<div><br></div><div><div> <extension name="zetta-cisco-1"></div><div> <condition field="destination_number" expression="zetta-cisco-1"></div><div> <action application="limit" data="db outgoing zetta-cisco-1 150" /></div>
<div> <action application="bridge" data="sofia/gateway/zetta-cisco-1/${destnum}" /></div><div> </condition></div><div> </extension></div><div> <extension name="zetta-cisco-2"></div>
<div> <condition field="destination_number" expression="zetta-cisco-2"></div><div> <action application="limit" data="db outgoing zetta-cisco-2 150" /></div>
<div> <action application="bridge" data="sofia/gateway/zetta-cisco-2/${destnum}" /></div><div> </condition></div><div> </extension></div></div></div></div></div>
<div class="gmail_extra"><br clear="all"><div><br><div><div><span style="border-collapse:collapse"><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><b>Alex Ynema</b></font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><b> </b>| </font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999">IT Consultant</font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><br>
</font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><a href="mailto:alex@opensystems.net.au" target="_blank">alex@opensystems.net.au</a><br></font></font></span></span></div>
<div><br></div><font face="'times new roman', serif"><font color="#999999">Level 1, 409-411 Oxford Street, Mount Hawthorne WA 6016</font></font></div><div><font face="'times new roman', serif"><font color="#999999">Office: +61 8 9427 2500<br>
Mobile: +61 404 796 894<br></font></font><div><a href="http://www.ynema.net/" target="_blank"></a><font color="#999999" face="'times new roman', serif"><br></font><div><a href="http://www.ynema.net/" target="_blank"></a><font color="#999999" face="'times new roman', serif">IT Consultant for Open Systems Support<br>
</font><div><font face="'times new roman', serif"><font color="#999999"><a href="http://www.opensystems.net.au/" target="_blank">www.opensystems.net.au</a></font></font></div></div></div></div></div>
<br><br><div class="gmail_quote">On 29 May 2013 13:59, Alex Ynema <span dir="ltr"><<a href="mailto:alex@opensystems.net.au" target="_blank">alex@opensystems.net.au</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">Hi,<div>I'm trying to figure out how to limit the number of calls a Gateway is allowed to use. Our Sip provider has provided up with 200 which I need to set within the system somehow.</div><div>What's the best way to handle it for an outgoing only system.</div>
<div>I've been trying to figure out how how to configure '<span style="line-height:19.046875px;font-size:13px;font-family:sans-serif">Rate limiting concurrent outgoing calls via a provider</span>' which is mentioned in the wiki a bit but nothing specific on what to actually do.</div>
<div><div><br><div><div><span style="border-collapse:collapse"><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><b>Alex Ynema</b></font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><b> </b>| </font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999">IT Consultant</font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><br>
</font></font></span><span lang="EN-US"><font face="'times new roman', serif"><font color="#999999"><a href="mailto:alex@opensystems.net.au" target="_blank">alex@opensystems.net.au</a><br></font></font></span></span></div>
<div><br></div><font face="'times new roman', serif"><font color="#999999">Level 1, 409-411 Oxford Street, Mount Hawthorne WA 6016</font></font></div><div><font face="'times new roman', serif"><font color="#999999">Office: +61 8 9427 2500<br>
Mobile: +61 404 796 894<br></font></font><div><a href="http://www.ynema.net/" target="_blank"></a><font color="#999999" face="'times new roman', serif"><br></font><div><a href="http://www.ynema.net/" target="_blank"></a><font color="#999999" face="'times new roman', serif">IT Consultant for Open Systems Support<br>
</font><div><font face="'times new roman', serif"><font color="#999999"><a href="http://www.opensystems.net.au/" target="_blank">www.opensystems.net.au</a></font></font></div></div></div></div></div>
</div></div>
</blockquote></div><br></div>