[Freeswitch-users] Limit help

Matt Williams matt at williamsmjw.com
Wed Oct 23 02:05:45 MSD 2013


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.

Thank You,
Matthew Williams
IKN Network Operations



On Tue, Oct 22, 2013 at 11:21 AM, Andre Demattia <andretodd at verizon.net>wrote:

>  Can I use limit_execute for a outbound gateway in place of the loop back
> option?
>  ------------------------------
> From: Matt Williams <matt at williamsmjw.com>
> Sent: 10/22/2013 12:01 PM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Subject: Re: [Freeswitch-users] Limit help
>
> 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
> http://wiki.freeswitch.org/wiki/Limit#Using_limit_with_per-gateway_or_per-user_channel_limits
>
>
>
>
> On Tue, Oct 22, 2013 at 10:40 AM, Andre Demattia <andretodd at verizon.net>wrote:
>
>>  Hi, how do I set the CPS and Port limits on a bridge
>>
>> Can I set both on one application or do I need to set 2 limits?
>>
>> 5 ports
>> <action application="limit" data="hash outbound customerxxx 5
>> !NORMAL_TEMPORARY_FAILURE" />
>>
>> 5 cps
>> <action application="limit" data="hash outbound customerxxx  5/1
>> !NORMAL_TEMPORARY_FAILURE" />
>>
>> Can I do this for both 5 ports and 5 cps?
>>
>> <action application="limit" data="hash outbound customerxxx 5  5/1
>> !NORMAL_TEMPORARY_FAILURE" />
>>
>> 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.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131022/6f49a877/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list