Search:
Asterisk func BLACKLIST
Synopsis:
Check if the callerid is on the blacklistDescription:
BLACKLIST()Uses astdb to check if the Caller*ID is in family 'blacklist'.
Notes
- *CLI> core show function BLACKLIST
Return value
Returns 1 or 0.Examples
exten => s,1,GotoIf(${BLACKLIST()}?blacklisted)exten => s,n,Dial(SIP/123)
exten => s,n(blacklisted),Hangup()
You can add entries from the CLI as follows
- *CLI> database put blacklist 1234 "Blacklisted for testing"
You can remove entries from the CLI as follows
- *CLI> database del blacklist 1234
See also
Created by: dant,Last modification on Thu 15 of Oct, 2009 [09:06 UTC]

Page Changes
