[Freeswitch-users] mod_limit
David Ponzone
david.ponzone at gmail.com
Thu May 13 08:36:47 PDT 2010
Todd,
it would be something like:
<action application="limit_hash" data="whatever ${caller_id_number}
20/300" />
For "whatever", you can use a fixed string, if you want your limit to
be global, or else you can use another variable you think is valid (if
you want the limit to be specific for one peer for instance, you can
use network_addr).
David Ponzone Direction Technique
email: david.ponzone at ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis
à l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autorisée est interdite. Tout message électronique est
susceptible d'altération. IPeva décline toute responsabilité au
titre de ce message s'il a été altéré, déformé ou falsifié. Si
vous n'êtes pas destinataire de ce message, merci de le détruire
immédiatement et d'avertir l'expéditeur.
Le 13/05/2010 à 15:11, Todd a écrit :
> Hey list, could someone please help me out with the syntax for
> mod_limit? I want to use it to block any CID that call us more than
> 20 time in 5 mintues. I found this in the wiki:
>
> <action application="limit_hash" data="${sip_received_ip} $
> {destination_number} 5/600" />
>
> And I am sure it’s close, but I need some help with the variable
> names and exact syntax to block inbound caller ID numbers that
> violate the threshold parameters of 20 times in 5 minutes. Thanks
> List!
>
> _______________________________________________
> 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/20100513/d3a9660f/attachment-0001.html
More information about the FreeSWITCH-users
mailing list