This is what we did to block callers.
1st, the basic function of the AA can't be changed.
The prompts were changed, but the caller still can enter 1, 2 or 3.
If 2 is entered the AA will expect an outbound number to be entered.
The DigitMap was changed to reject any number entered and the outbound route rules were removed for additional security.
The following will only allow an 11 digit number to be entered and the number will be routed out SP1.
Voice Services -> Auto Attendant
DigitMap: (1xxxxxxxxxx)
OutboundCallRoute: {(1xxxxxxxxxx):sp1}
X_InboundCallRoute:
{12223334444:aa},{(?):},{(MBlockSpam):aa},{ph}
Replace 222333444 with the callerid you want routed to the AA.
Remove the "1" prefix if you get a 10 digit callerid.
You don't need this change. You can just add your callerid to BlockSpam.
You will get the same prompt as the spammers.
Enter "2"
We deleted the next prompt, so you will hear silence.
Wait a couple of seconds then enter an 11 digit number followed by a #