HP MSR2000/3000/4000 Router Series Voice Configuration Guide

74
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, in which 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:
# Create number substitution rule list 21101 and add rules to the list.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] number-substitute 21101
[RouterB-voice-dial-substitute21101] rule 1 ^0101688$ 0001
[RouterB-voice-dial-substitute21101] rule 2 ^0103366$ 0002
[RouterB-voice-dial-substitute21101] rule 3 ^0102323$ 0003
[RouterB-voice-dial-substitute21101] quit
# Create number substitution rule list 21102 and add rules to the list.
[RouterB-voice-dial] number-substitute 21102
[RouterB-voice-dial-substitute21102] rule 1 ^1688$ 0210001
[RouterB-voice-dial-substitute21102] rule 2 ^3366$ 0210002
[RouterB-voice-dial-substitute21102] rule 3 ^2323$ 0210003
[RouterB-voice-dial-substitute21102] quit
WAN
F Dept. 1688
S Dept. 2323
FXO 1/0
PBX
Eth2/1
2.2.2.2/24
Eth2/1
1.1.1.1/24
FXO 1/0
PBX
F Dept 1234
S Dept. 6565
Router A
Router B
B area code: 021 A area code: 010
M Dept. 3366
M Dept. 6788