[asterisk-users] Automating blacklists

Jared Smith jsmith at digium.com
Thu Oct 18 08:21:48 CDT 2007


On Thu, 2007-10-18 at 16:02 +0300, Brian Hutchinson wrote:
> I would like to automatically blacklist a incoming number based on
> timestamp and count information. 
> 
> For example, if I get a prank call from the same number 5 times within
> 15 minutes, I want my dialplan to automatically blacklist this number.
> 
> Should I be looking at AGI to do something like this?

You could do it with an AGI, or with dialplan logic and the AstDB
database.  If you use the AstDB database to store blacklisted numbers,
you can also use the BLACKLIST dialplan function to check to see if a
given number is blacklisted or not.


-- 
Jared Smith
Community Relations Manager
Digium, Inc.




More information about the asterisk-users mailing list