<div dir="ltr">You can use limit_execute to execute any application you wish. The best way to wrap your head around how simple and useful the limit application is to use is to play with it a little while. Everything should click into place. </div>
<div class="gmail_extra"><br clear="all"><div><div>Thank You,</div>Matthew Williams<br>IKN Network Operations<div><div><br></div></div></div>
<br><br><div class="gmail_quote">On Tue, Oct 22, 2013 at 11:21 AM, Andre Demattia <span dir="ltr">&lt;<a href="mailto:andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>
<div>
<div style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Can I use limit_execute for a outbound gateway in place of the loop back option?</div></div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">From: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:matt@williamsmjw.com" target="_blank">Matt Williams</a></span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Sent: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">10/22/2013 12:01 PM</span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">To: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a></span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Subject: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Re: [Freeswitch-users] Limit help</span><br><br></div><div><div class="h5">

<div dir="ltr">You need to set your CPS and port limits separately. You can set limits per gateway the same way you would limit any application. It is not bound to any specific application. The values you use are completely arbitrary. That said here is an example from the Wiki <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> 
<div class="gmail_extra"><br clear="all">
<div>
<div><br></div></div><br><br>
<div class="gmail_quote">On Tue, Oct 22, 2013 at 10:40 AM, Andre Demattia <span dir="ltr">&lt;<a href="mailto:andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
<div>
<div>
<div style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">Hi, how do I set the CPS and Port limits on a bridge<br><br>Can I set both on one application or do I need to set 2 limits?<br><br>5 ports<br>&lt;action application=&quot;limit&quot; data=&quot;hash outbound customerxxx 5<br>
!NORMAL_TEMPORARY_FAILURE&quot; /&gt;<br><br>5 cps<br>&lt;action application=&quot;limit&quot; data=&quot;hash outbound customerxxx  5/1<br>!NORMAL_TEMPORARY_FAILURE&quot; /&gt;<br><br>Can I do this for both 5 ports and 5 cps?<br>
<br>&lt;action application=&quot;limit&quot; data=&quot;hash outbound customerxxx 5  5/1<br>!NORMAL_TEMPORARY_FAILURE&quot; /&gt;<br><br>Also how do I do the same on a gateway? I need to make sure I don&#39;t send too many calls to the provider.<br>
</div></div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>