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

28
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 010 voip
[RouterB-voice-dial-entity10] match-template 010....
[RouterB-voice-dial-entity10] address sip ip 192.168.0.71
[RouterB-voice-dial-entity10] quit
# Configure the local number as 2101002 for POTS entity 2101002, and bind the FXS interface
line 2/1/1 to the POTS entity.
[RouterB-voice-dial] entity 2101002 pots
[RouterB-voice-dial-entity2101002] match-template 2101002
[RouterB-voice-dial-entity2101002] line 2/1/1
[RouterB-voice-dial-entity2101002] quit
# Configure the called number template as .T for POTS entity 011 used for call backup on FXO
interface line 2/2/1, and configure the permitted calling number as 2101002.
[RouterB-voice-dial] entity 011 pots
[RouterB-voice-dial-entity11] match-template .T
[RouterB-voice-dial-entity11] line 2/2/1
[RouterB-voice-dial-entity11] send-number all
[RouterB-voice-dial-entity11] caller-permit 2101002
[RouterB-voice-dial-entity11] quit
[RouterB-voice-dial] quit
[RouterB-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.
[RouterB] subscriber-line 2/2/1
[RouterB-subscriber-line2/2/1] private-line 2101002
[RouterB-subscriber-line2/2/1] hookoff-mode delay bind 1/0
Verifying the configuration
# When the IP network is available, place a call to verify that the call is established through the IP
network.
# When the IP network is unavailable, place a call to verify that the call is established through the PSTN.