I have a client that wants to block all but one inbound calling number to a specific DID. Is there a way to exclude a number from a translation rule? For example. Could I do a rule that said:
voice translation-rule 1
rule 1 /5555551234/ /5555551234/
rule 2 reject /.*/
voice translation-profile BLOCK
translate calling 1
Dial-peer voice 100 voip
call-block translation-profile incoming BLOCK
I know the above does not work, but hopefully it helps get across what I am trying to accomplish. In short I want to block all calling numbers except for one that are destined for a specific dial-pattern.
Thank you in advance.