beautypg.com

Verifying the configuration – H3C Technologies H3C MSR 5600 User Manual

Page 38

background image

28

[RouterA-voice-dial] quit

[RouterA-voice] quit

# Enable the PLAR function for the FXO interface line 2/0, and bind the FXS interface line 1/0 to

the FXO interface line 2/0.

[RouterA] subscriber-line 2/0

[RouterA-subscriber-line2/0] private-line 0101001

[RouterA-subscriber-line2/0] hookoff-mode delay bind 1/0

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.

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
line1/0 to the POTS entity.

[RouterB-voice-dial] entity 2101002 pots

[RouterB-voice-dial-entity2101002] match-template 2101002

[RouterB-voice-dial-entity2101002] line 1/0

[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/0, 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/0

[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 line2/0, and bind the FXS interface line1/0 to the

FXO interface line2/0.

[RouterB] subscriber-line 2/0

[RouterB-subscriber-line2/0] private-line 2101002

[RouterB-subscriber-line2/0] hookoff-mode delay bind 1/0

Verifying the configuration

When the IP network operates correctly, Telephone A calls Telephone B through the IP network.

When the IP network is unavailable, Telephone A uses the bound FXO interface to call Telephone
B through the PSTN network.