R2511-HP MSR Router Series Voice Command Reference(V5)

174
Parameters
incoming-call: Binds the calling/called number of incoming calls to the number substitution rule list.
outgoing-call: Binds the calling/called number of outgoing calls to the number substitution rule list.
called: Applies the number substitution rule to a called number.
calling: Applies the number substitution rule to a calling number.
all: Specifies all number substitution rule lists.
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
At most 32 number substitution rule lists can be bound.
The system does not stop searching the bound number substitution rule lists in sequence until one rule is
applied successfully.
Outgoing and incoming calls are relative to the IP network. Calls originated to the IP network are
incoming calls, while those originated from the IP network or PSTN to PSTN are outgoing calls.
Examples
# Apply number substitution rule list 5 to called numbers of incoming calls.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] substitute incoming-call called 5
# Apply number substitution rule lists 5, 6, and 8 to called numbers of outgoing calls.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] substitute outgoing-call called 5
[Sysname-voice-dial] substitute outgoing-call called 6
[Sysname-voice-dial] substitute outgoing-call called 8
Related commands
number-substitute
rule
terminator
Use terminator to configure a special character as the dial terminator for length-variable telephone
numbers.
Use undo terminator to remove the dial terminator configuration.
Syntax
terminator character
undo terminator
Default
No dial terminator is configured.