Cisco Systems VR-561 Doll User Manual


 
Cisco IOS Voice, Video, and Fax Commands: R Through Sh
rule
VR-588
Cisco IOS Voice, Video, Fax Command Reference
rule
To apply a translation rule to a calling party number or a called party number for both incoming and
outgoing calls, use the rule command in translation-rule configuration mode. To remove the translation
rule, use the no form of this command.
rule name-tag input-matched-pattern substituted-pattern [match-type substituted-type]
no rule name-tag input-matched-pattern substituted-pattern [match-type substituted-type]
Syntax Description
Note In the syntax description above, the square brackets indicate optional values. When using this
command, do not include these square brackets as part of the syntax. They are not valid parameters
in the rule command. The square brackets can only be used in actual syntax for such commands as
the destination-pattern and incoming called-number commands, where the syntax specifically
allows this delimiter.
Defaults No default behavior or values.
Command Modes Translation-rule configuration
Command History
name-tag The tag number by which the rule set will be referenced. This is an
arbitrarily chosen number. Range is from 1 through 2147483647.
input-matched-pattern The input string of digits for which pattern matching is performed.
substituted-pattern The replacement digit string that results after pattern matching is
performed. Regular expressions are used to carry out this process.
match-type (Optional) The choices for this field are international, national,
subscriber, abbreviated, unknown, and any, as defined by the
International Telecommunication Union Telecommunication
Standardization Sector (ITU-T) Q.931 specification. If you enter the
match-type value, then you must also enter the substituted-type value.
substituted-type (Optional) The choices for this field are international, national,
subscriber, abbreviated and unknown, as defined by the ITU Q.931
specification.
Release Modification
12.0(7)XR1 This command was introduced for Voice over IP on the Cisco AS5300
universal access server.
12.0(7)XKs This command was first supported for Voice over IP on the following
platforms: Cisco 2600 and 3600 series routers and Cisco MC3810
multiservice concentrators.