R2511-HP MSR Router Series Voice Configuration Guide(V5)
120
Configuring number substitution
Network requirements
As shown in Figure 32, a PBX to forms a local telephony network at place A and place B respectively. The
following requirements must be met:
• These two local telephony networks communicate through two voice gateways. Subscribers in one
PBX network can make ordinary calls to remote subscribers in the other PBX network over a VoIP
network.
• Configure two FXO trunk lines between each router and its PBX and enable hunt group to realize
trunk line backup.
• There are a financial department, market department, and sales department at both place A (area
code 021) and place B (area code 010). A department at place A only needs to know the telephone
numbers of the local departments and the area code of place B when calling a department at place
B. For example, the financial department at place B can dial 3366 to call the local market
department. The financial department at place B can dial 0103366 to call the market department
at place A, and the caller identification displayed on the terminal at place A is 0211234, that is, the
area code of place B + telephone number of the financial department at place B.
Figure 32 Network diagram
Configuration consideration
The PBX (calling side) at place B changes the called number to an intermediate number.
The PBX (called side) at place A changes the received intermediate number to a local number before
initiating the call.
Configuration procedure
The following configuration supports dial plan–based calls from place B to place A only.
1. Configure Router B:
# Set the IP address of the Ethernet interface to 2.2.2.2.
<RouterB> system-view
[RouterB] interface ethernet 2/1
[RouterB-Ethernet2/1] ip address 2.2.2.2 255.255.255.0
[RouterB-Ethernet2/1] quit
# Configure a number substitution rule list for called numbers of outgoing calls.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] number-substitute 21101










