beautypg.com

Verifying the configuration, Fxs&fxo 1:1 binding configuration example, Network requirements – H3C Technologies H3C MSR 5600 User Manual

Page 37: Configuration procedure

background image

27

Verifying the configuration

After the user of Telephone A picks up the handset, Router A automatically calls Telephone B. After the

user of Telephone B picks up the handset, the two users can establish a conversation.

FXS&FXO 1:1 binding configuration example

Network requirements

As shown in

Figure 12

, 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.

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.

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

line1/0 to the POTS entity.

[RouterA-voice-dial] entity 0101001 pots

[RouterA-voice-dial-entity101001] match-template 0101001

[RouterA-voice-dial-entity101001] line 1/0

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

[RouterA-voice-dial-entity211] send-number all

[RouterA-voice-dial-entity211] caller-permit 0101001

[RouterA-voice-dial-entity211] quit

Telephone A

0101001

IP

PSTN

192.168.0.71/24

Router A

Router B

192.168.0.76/24

FXO 2/0

FXO 2/0

FXS 1/0

FXS 1/0

Telephone B

2101002