R0106-HP MSR Router Series Voice Configuration Guide(V7)

27
Figure 13 Network diagram
Configuration procedure
1. Configure Router A:
# Configure the called number template as 210…. for VoIP entity 210, and configure the
destination IP address as 192.168.0.76.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 210 voip
[RouterA-voice-dial-entity210] match-template 210....
[RouterA-voice-dial-entity210] address sip ip 192.168.0.76
[RouterA-voice-dial-entity210] quit
# Configure the local number as 0101001 for POTS entity 0101001, and bind the FXS interface
line 2/1/1 to the POTS entity.
[RouterA-voice-dial] entity 0101001 pots
[RouterA-voice-dial-entity101001] match-template 0101001
[RouterA-voice-dial-entity101001] line 2/1/1
[RouterA-voice-dial-entity101001] quit
# Configure the called number template as .T for POTS entity 211 used for call backup on FXO
interface line 2/2/1, and configure the permitted calling number as 0101001.
[RouterA-voice-dial] entity 211 pots
[RouterA-voice-dial-entity211] match-template .T
[RouterA-voice-dial-entity211] line 2/2/1
[RouterA-voice-dial-entity211] send-number all
[RouterA-voice-dial-entity211] caller-permit 0101001
[RouterA-voice-dial-entity211] quit
[RouterA-voice-dial] quit
[RouterA-voice] quit
# Enable the PLAR function for the FXO interface line 2/2/1, and bind the FXS interface line 2/1/1
to the FXO interface line 2/2/1.
[RouterA] subscriber-line 2/2/1
[RouterA-subscriber-line2/2/1] private-line 0101001
[RouterA-subscriber-line2/2/1] hookoff-mode delay bind 2/1/1
2. Configure Router B:
# Configure the called number template as 010…. for VoIP entity 010, and configure the
destination IP address as 192.168.0.71.
Telephone A
0101001
IP
PSTN
192.168.0.71/24
Router A
Router B
192.168.0.76/24
FXO2/2/1
FXS2/1/1
Telephone B
2101002
FXS2/1/1
FXO2/2/1