Hey list, I have a question: Can mod_limit be used to limit the number of incoming call from a specific caller ID in a certain time interval? Limit the calls per second by source ip + destination number: <action application="limit_hash" data="${sip_received_ip} ${destination_number} ${calls_per_second}/1" /> I found this in the wiki and I was wondering how you would change the action to limit an incoming caller id to 5 calls per minute. Still pretty noo, so any help in the right direction would be great. thx
<action application="limit_hash" data="cidlimit ${caller_id_number} $ {calls_per_second}/1" />
5 calls per min would be 5/60. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 2010-04-06, at 3:51 PM, Todd wrote:
Hey list, I have a question: Can mod_limit be used to limit the number of incoming call from a specific caller ID in a certain time interval?
Limit the calls per second by source ip + destination number: <action application="limit_hash" data="${sip_received_ip} $ {destination_number} ${calls_per_second}/1" />
I found this in the wiki and I was wondering how you would change the action to limit an incoming caller id to 5 calls per minute. Still pretty noo, so any help in the right direction would be great. thx _______________________________________________ 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
participants (2)
-
Mathieu Rene
-
Todd