Depends, what are you trying to block? ALL calls from the outside world? Don't see that being the case. If you are trying to block calls on certain circuits, why not configure the trunks to be made outbound only?
Need to double check, but you should be able to do so by dial peers and pots. Look at the configuration on the GW, and you should find the relevant dial-peers for all of your other calls. In there, you should be able to specify the CLI, and if you don't map that CLI to any dial-peers, the call will be dropped.
here is the voice translation-rule for all incoming calls:
voice translation-rule 1
rule 1 // /0/ type subscriber subscriber
rule 2 // /00/ type national national
rule 3 // /000/ type international international
rule 4 reject /^0123456789/
voice translation-profile 1
translate calling 1
translate called 2
but the roule4 (rule 4 reject /^0123456789/) does not match!
I think what you have there is for outgoing. mind if I ask which GW you are using? Is it 6508 / CMM or AS GW? I don't think the translation part is what you are looking for. There should be some pots that you need to configure. Let me try to dig out something and see whether I could provide more info. Sorry for the vague information, but as you know, voice GW is one of those things that once configured, you don't touch for years....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.