[*] blacklist

John Lange john at johnlange.ca
Wed Nov 5 16:19:25 CST 2008


My guess is you would have to either set

priorityjumping=yes

or add a 'j' as the option of the command.

exten => 1,1,LookupBlackList(j)

-- 
John Lange
www.johnlange.ca


On Wed, 2008-11-05 at 16:02 -0600, Sandy Mackenzie wrote:
> I am trying to get the the blacklist feature to work, but I am having problems.  I have add a number to the blacklist database with
> 
> database put blacklist xxxxxxx 1.  When I call from that number while testing I can see that it recognizes the blacklist, however the dial plan just continues on and does not jump to the busy tone, as I am trying.
> 
> My systems answers all calls with a greeting, and callers can choose from two extensions.  I have only included 1 in this example.  I want it to detect the blacklisted number either before the greeting or after the greeting and send the blacklisted caller onto either another voicemail or just hang up.
> 
> I am using asterisk 1.4
> 
> 
> [from-pstn]
> exten => s,1,Answer( )
> exten => s,2,Background(Greeting)
> exten => 1,1,LookupBlackList( )
> exten => 1,102,Playback(tt-allbusy)
> exten => 1,2,Dial(${USER1},20)
> exten => 1,3,Voicemail(100)
> exten => 1,4,Playback(vm-goodbye)
> exten => 1,5,Hangup( )
> exten => 1,103,Playback(tt-allbusy)
> exten => 1,104,Hangup( )
> 
> 



More information about the Asterisk mailing list