[asterisk-users] Blacklist
Jonathan Creasy
jcreasy at netlogic.net
Thu May 17 13:45:22 MST 2007
Looks to me like you are saving it to the Asterisk DB.
http://www.asteriskguru.com/tutorials/dbget_function.html
-Jonathan
Nitesh Divecha wrote:
> 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
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list