R2511-HP MSR Router Series Voice Command Reference(V5)
351
Default command level
2: System level
Parameters
access-number: Access number (for example, 169 and 17909), a string of up to 31 characters consisting
of digits 0 through 9 and the wildcard dot (.). The wildcard dot (.) represents a digital character and must
follow a digit or appear separately.
all: Deletes all access numbers.
Usage guidelines
When you delete all configured access numbers, the voice gateway gives alarm information, requiring
you to make a confirmation. You can press <Y> to delete all access numbers or press <N> to cancel the
operation.
An access number can contain up to 31 characters, but no unacceptable characters such as a letter. At
most 100 access numbers can be configured for the voice gateway.
The shortest match and exact match are preferred for access number match. If an access number
template is the same as a voice entity template, the global number substitution rules in voice dial program
view and those in voice subscriber line view will be valid for the access number, but no entity substitution
rule can be matched in access number view.
Examples
# Add the access number 17909 and enter access number view.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] gw-access-number 17909
[Sysname-voice-dial-anum17909]
# Add the access number 179 and enter access number view.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] gw-access-number 179..
[Sysname-voice-dial-anum179..]
# Delete the access number 17909.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] undo gw-access-number 17909
# Delete all access numbers.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] undo gw-access-number all
Delete all access numbers, are you sure? (Y/N) y










