If you answer the phone and there's someone you want to blacklist on the other side wouldn't it be nice hang up on them and add them to the blacklist at the same time?
Here's how I do it.
I added this to extensions_custom.conf
exten => 4,1,Answer
exten => 4,n,Set(DB(blacklist/${CALLERID(number)})=1)
exten => 4,n,Playback(your)
exten => 4,n,Playback(num-was-successfully&added)
exten => 4,n,Wait(1)
exten => 4,n,Hangup
Then I just transfer the offending party to ext 4 and they hear that there number was added, then their hung up on and can't call back.
It's very simple and probably has been done a zillion times before but I wanted to do my part.
Thanks
Member Since:
2007-10-31