HP MSR2000/3000/4000 Router Series Voice Command Reference

106
Examples
# Configure a number substitution rule for number substitution rule list 1: the input template is ^..01...$,
and the output template is ...1.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] number-substitute 1
[Sysname-voice-dial-substitute1] rule 0 ^..01...$ ...1
Related commands
dot-match
first-rule
substitute (Voice dial-program view)
substitute (Voice entity view)
send-number
Use send-number to configure the number sending mode.
Use undo send-number to restore the default number sending mode.
Syntax
send-number { digit-number | all | truncate }
undo send-number
Default
The truncate mode is used.
Views
POTS entity view
Predefined user roles
network-admin
Parameters
digit-number: Specifies the number of digits (extracted from the end of a number) to be sent, in the range
of 0 to 31. It must be no greater than the total number of digits in the called number.
all: Sends all the digits of a called number.
truncate: Sends a truncated called number. When the match-template command configured on the voice
entity contains dots ".", only the digits that match the dots are sent.
Examples
# Configure POTS entity 10 to send all the digits of called numbers.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] entity 10 pots
[Sysname-voice-dial-entity10] send-number all