[Freeswitch-users] Mod Limit

Andrew aademattia at comcast.net
Fri Mar 28 17:41:33 MSK 2014


Hi,
I am trying to set a limit to one channel on leg A.  For some reason this is
not causing the call to fail and disconnect.
Anyone have any ideas?


  leg_A.Execute("limit", string.Format("hash outbound gw_{0}
{1}!NORMAL_TEMPORARY_FAILURE", 1,1));

            leg_A.Execute("limit", string.Format("hash outbound gw_{0}
{1}/1!NORMAL_TEMPORARY_FAILURE", 1, 1));
            leg_A.SetVariable("limit_ignore_transfer", "true");


<transfer_history>1396017461%3A39603950-fee8-4194-8420-7d259a0cd498%3Abl_xfe
r%3Alimit_exceeded/public/XML</transfer_history>
 
<transfer_source>1396017461%3A39603950-fee8-4194-8420-7d259a0cd498%3Abl_xfer
%3Alimit_exceeded/public/XML</transfer_source>
    <limit_usage>2</limit_usage>
    <limit_usage_outbound_gw_1>2</limit_usage_outbound_gw_1>
    <limit_rate>1</limit_rate>
    <limit_rate_outbound_gw_1>1</limit_rate_outbound_gw_1>
    <limit_ignore_transfer>true</limit_ignore_transfer>




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