Try changing "gateway" to something like "gateway_dialplan1" and "gateway_dialplan2". You are just querying the same limit data otherwise. 


On Thu, Mar 28, 2013 at 3:02 PM, Tomasz Szuster <tomasz.szuster@gmail.com> wrote:
Hello,

I've set up limit for outgoing calls using http://wiki.freeswitch.org/wiki/FS_weekly_2010_12_01, especially by adding:

limit hash fraud_protection calls_max_intl 32 !NORMAL_TEMPORARY_FAILURE to the dialplan.

When I created second dialplan with different call_max_intl value freeswitch did not get it.
It has still remember call_max_intl 32 from first dialplan.

At console I've got:

Usage for fraud_protection_calls_max_intl is already at max value (32)

I've also try with:

<action application="limit_execute" data="hash outbound gateway 12 bridge sofia/gateway/gateway/$1" />

Result was the same as for limit hash.

My goal is to create dialplans with different calls max where calls max value are treated separately. 

Can you please advice how to proceed, where to look ?
--
Regards.
Tom

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org