My user has been getting nuisance incoming calls from 1 particular number and has requested for it to be blocked. I've tried the following configuration but it did not seem to work. Can anyone advise? What am I missing?
voice translation-rule 1
rule 1 // /9/
voice translation-rule 50
rule 1 reject /98351112/
voice translation-profile PSTN-to-Office
translate calling 1
voice translation-profile blockIncoming
translate calling 50
dial-peer voice 1 pots
description Incoming Calls from ISDN
translation-profile incoming PSTN-to-Office
incoming called-number .
dial-peer voice 33 pots
description Block Incoming Calls
incoming called number .
call-block translation-profile incoming blockIncoming
call-block disconnect-cause incoming call-reject