04-16-2008 10:36 AM - edited 03-15-2019 10:06 AM
hello all
i have to set up call barring on an fxs card on a ccme sytem. The numbers it is allowed to dial are complicated so i decided to do it using translation rules. But a simple test fails to stop it dialling. To get an outside line on my system the users dial 0. Here is the basic config i used can someone see where i have gone wrong?
voice translation-rule 20
rule 1 reject /^0/
voice translation-profile callbarred1
translate calling 20
translate called 20
dial-peer voice 9899 pots
description security phone
translation-profile incoming callbarred1
translation-profile outgoing callbarred1
destination-pattern 9899
incoming called-number .
fax rate disable
port 0/0/3
regards colin
04-22-2008 10:58 AM
The translation rule is incorrectly configured:
You can refer this doc for translation rule configuration
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a0080094681.shtml
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml
04-23-2008 01:31 AM
Thanks for the links, i realised i applied the rule to peer and it should have been the voice port.
thanks for your help
Colin
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: