R2511-HP MSR Router Series Voice Command Reference(V5)
173
Default command level
2: System level
Parameters
called: Applies the number substitution rule to a called number.
calling: Applies the number substitution rule to a calling number.
list-number: Serial number of a number substitution rule list configured by using the number-substitute
command), in the range of 1 to 2147483647.
Usage guidelines
Before carrying out this command, first use the number-substitute list-number command to configure a
number substitution rule list in voice dial program view, and then use the rule command to configure rules
for the list.
According to network requirements, you can complete number substitution in the following two ways:
Before a voice entity is matched, you can use the substitute command in subscriber line view to substitute
the calling/called number specific to a subscriber line.
After a voice entity is matched but before a call is initiated, you can use the substitute command in voice
entity view to substitute a specified calling/called number.
Examples
# Apply number substitution rule list 6 to the called number of the voice subscriber line 1/0.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] subscriber-line1/0
[Sysname-voice-line1/0] substitute called 6
Related commands
• number-substitute
• rule
substitute (voice dial program view)
Use substitute to bind the calling/called number of incoming/outgoing calls to the specified number
substitution rule list.
Use undo substitute to remove the binding.
Syntax
substitute { incoming-call | outgoing-call } { called | calling } list-number
undo substitute { incoming-call | outgoing-call } { called | calling } { list-number | all }
Default
No number substitution rule list is bound. That is to say, no number substitution is performed.
Views
Voice dial program view
Default command level
2: System level










