3Com MSR 30 Network Router User Manual


  Open as PDF
of 2742
 
2643
substitute (subscriber line view/voice entity view)
Syntax substitute { called | calling } list-number
undo substitute { called | calling }
View POTS/VoIP/VoFR voice view/Subscriber line voice entity view
Parameter 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.
Description Use the
substitute command to bind a calling/called number substitution rule list
to the voice subscriber line or voice entity.
Use the
undo substitute command to remove the binding between a
calling/called number substitution rule list and the voice subscriber line or voice
entity.
By default, no number substitution rule list is bound to a voice subscriber line or
voice entity. That is to say, no number substitution is performed.
Before carrying out the this command, you must 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.
n
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.
Related command: number-substitute and rule.
Example # 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