very simple way to hang up on telemarketers while adding them to the blacklist.
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
madhatt, thank you for the info.
As soon as I press the # key I can hear the "transfer" melody, and than something like "I'm sorry. Thats not a valid extension".
When I press # 4 the caller gets a message that all circits are busy now.
Presssing ##4 will put the caller in a "welcome to the directory" message!
All I did was adding your 1st post code to the extensions_custom.conf, and restaring trixbox.
I've added your code just below the [from-internal-custom] line.
I'm sure I did something wrong, but what.
Also.. Where can I find the blacklist module. Do I still need to install this 1st?
If so. I did not see it in the "package" area.


Member Since:
2007-10-31