Update: The code below does not work in Asterisk 2.0b4 or newer. I will update with instructions on how to get it to work in those versions. Thanks to Dan for pointing this out.
Update: I have changed the code to the removed part. It now requires a key press to accept the number to delete.
I have added a blacklist function to my Asterisk@Home server and thought that I’d share it here if someone is interested. There are two ways to add a number to the blacklist. The easiest is to dial *32. Then you get a voice telling you the number of the last incoming call. To add it to the blacklist, press 1. Great use against pesky telemarketers and If you want to add it manually, press *30. Then you can enter the phone number directly on your telephone. To remove an entry from the blacklist, press *31 and enter the phone number. If you don’t like the codes I use, change them. [Read more…]