[Freeswitch-users] question about latest version of mod_limit

Michael Collins msc at freeswitch.org
Mon Aug 10 15:56:14 PDT 2009


Possibly the calls are being disconnected too quickly? Try adding a sleep
for 1000ms on each one and see what happens.
-MC

On Thu, Aug 6, 2009 at 4:26 AM, mark morreny <markmorreny at gmail.com> wrote:

> Hello,
>
> I have the following setup in the dialplan.  Then, I fire up sipp to send
> 5calls/s and I expect to get limit-pass=false in most of the INFO output.
> However, I am getting all "limit-pass=pass".
>
> Does anyone know what is wrong with my dialplan?
>
>
>  <context name="internal">
>
>   <extension name="test-limit">
>
>     <condition field="destination_number" expression="^9(.*)$">
>
>         <action application="limit_hash_execute" data="192.168.1.102 6000
> 1/1 transfer to-next" />
>         <action application="set" data="limit-pass=false"/>
>         <action application="info" />
>         <action application="hangup" />
>
>     </condition>
>
>   </extension>
>     <extension name="to-next">
>         <condition field="destination_number" expression="^to-next$">
>         <action application="set" data="limit-pass=true"/>
>         <action application="info" />
>         <action application="hangup" />
>
>
>
>     </condition>
>     </extension>
> </context>
>
> _______________________________________________
> 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/20090810/a58cf354/attachment-0002.html 


More information about the FreeSWITCH-users mailing list