<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY>
<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">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">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 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&nbsp;<A href="http://wiki.freeswitch.org/wiki/Limit#Using_limit_with_per-gateway_or_per-user_channel_limits">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="limit" data="hash outbound customerxxx 5<BR>!NORMAL_TEMPORARY_FAILURE" /&gt;<BR><BR>5 cps<BR>&lt;action application="limit" data="hash outbound customerxxx&nbsp; 5/1<BR>!NORMAL_TEMPORARY_FAILURE" /&gt;<BR><BR>Can I do this for both 5 ports and 5 cps?<BR><BR>&lt;action application="limit" data="hash outbound customerxxx 5&nbsp; 5/1<BR>!NORMAL_TEMPORARY_FAILURE" /&gt;<BR><BR>Also how do I do the same on a gateway? I need to make sure I don'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">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></DIV></BODY></HTML>