[asterisk-users] Blacklist
Nitesh Divecha
nitesh at vipernetworks.com
Thu May 17 11:37:43 MST 2007
Hello All,
I was wondering where does Asterisk stores the blacklist numbers?
I looked into the dialplan and it shows that it
*"Set(DB(blacklist/${blacknr})=1)"* the number... Does it save in MySQL DB?
hyperion*CLI> show dialplan app-blacklist-add
[ Context 'app-blacklist-add' created by 'pbx_config' ]
'1' => 1. *Set(DB(blacklist/${blacknr})=1)*
[pbx_config]
2. Playback(num-was-successfully)
[pbx_config]
3. Playback(added)
[pbx_config]
4. Wait(1)
[pbx_config]
5. Hangup()
[pbx_config]
's' => 1. Answer()
[pbx_config]
2. Wait(1)
[pbx_config]
3. Playback(enter-num-blacklist)
[pbx_config]
4. Set(TIMEOUT(digit)=5)
[pbx_config]
5. Set(TIMEOUT(response)=60)
[pbx_config]
6. Read(blacknr|then-press-pound||||)
[pbx_config]
7. SayDigits(${blacknr})
[pbx_config]
8. Playback(if-correct-press)
[pbx_config]
9. Playback(digits/1)
[pbx_config]
[end] 10. Noop(Waiting for input)
[pbx_config]
Include => 'app-blacklist-add-custom'
[pbx_config]
hyperion*CLI>
Thanks,
Nitesh
More information about the asterisk-users
mailing list