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.


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to