I need to intentionally put a specific incoming DDI number "out of service" such that a caller from the PSTN hears a generic message from their carrier/exchange and believes the number is invalid.
Currently my H.323 gateway translates the called CLID to a potentially valid 4 digit extension number. I have a "catch-all" translation-rule which, if no specific match is found, will translate to the switchboard number. This has the affect of catching all calls to currently unassigned numbers.
Can I configure a specific called CLI to fail ? as my catch-all provision is working against me here.
you can use call reject to achive this...Below is an example of how to ocnfigure call reject
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 .
call-block translation-profile incoming reject_ANI
HTH, pls rate useful posts