Most of us have used voice translations rules for digit manipulation to modify both ANI and DNIS. Did you know that you can also block calls based on ANI?

To block a call based on calling number (ANI):

1. Create a voice translation rule and add the numbers you want to block.

BR1(config)#voice translation-rule 1
BR1(cfg-translation-rule)#rule 1 reject /3234441234/
BR1(cfg-translation-rule)#rule 2 reject /3234442345/
BR1(cfg-translation-rule)#rule 3 reject /5155556*/

2. Create a voice translation profile.

BR1(config)#voice translation-profile reject_ANI
BR1(cfg-translation-profile)#translate calling 1

3. Apply the translation profile to your inbound dial-peer.

dial-peer voice 1 pots
Incoming called-number .
port 0/2/0:23
call-block translation-profile incoming reject_ANI

Voice translation rules are a very powerful tool and can seem intimidating at first, but once you understand them and become comfortable with using them, they are an invaluable tool for any Cisco Voice Engineer.

Be Sociable, Share!