R0106-HP MSR Router Series Voice Configuration Guide(V7)
76
Configuring a dial prefix
After you configure a dial prefix, the router adds the prefix before each called number. If the called
number exceeds 31 digits, the router sends only the first 31 digits.
To configure a dial prefix:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter dial program view.
dial-program N/A
4. Enter POTS entity view.
entity entity-number pots N/A
5. Configure a dial prefix.
dial-prefix string
By default, no dial prefix is
configured.
Dial program configuration examples
This section provides dial program configuration examples.
Configuring number substitution
Network requirements
As shown in Figure 30, configure number substitution on the routers so departments in different areas can
call each other by using the area code of the destination area plus a four-digit local number.
For example, to use phone 1688 of the F department in area B to call phone 6788 of the M department
in area A, dial the number 0103366. 3366 is the number of the M department in area B.
On phone 6788, the calling number 1688 is displayed as 0211234, which is the area code of area A
plus the number of the F department in area A.
Figure 30 Network diagram
Configuration procedure
The following only provides the number substitution configuration for calls from area B to area A.
1. Configure Router B:
市场部 3366
WAN
F Dept 1688
S Dept 2323
FXO2/2/1
PBX
2.2.2.2/24
1.1.1.1/24
PBX
M Dept 6788
F Dept 1234
S Dept 6565
Router A
Router B
B area code: 021
A area code: 010
FXO2/2/1