beautypg.com

E&m interface configuration example, Network requirements, Configuration procedure – H3C Technologies H3C MSR 5600 User Manual

Page 34

background image

24

E&M interface configuration example

Network requirements

As shown in

Figure 11

, Router A and Router B are connected through an IP network and can reach each

other.
Configure the two routers to enable Telephone A and Telephone B to establish calls.

Figure 11 Network diagram

Configuration procedure

1.

Configure Router A:
# Configure the called number as 0755 for VoIP entity 0755, and configure the destination IP
address as 2.2.2.2.

system-view

[RouterA] voice-setup

[RouterA-voice] dial-program

[RouterA-voice-dial] entity 0755 voip

[RouterA-voice-dial-entity755] match-template 07552001

[RouterA-voice-dial-entity755] address sip ip 2.2.2.2

[RouterA-voice-dial-entity755] quit

# Configure the local number as 0101001 for POTS entity 1001, and bind FXS interface line1/0

to the POTS entity.

[RouterA-voice-dial] entity 1001 pots

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

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

2.

Configure Router B:
# Configure the called number as 010 for VoIP entity 010, and configure the destination IP

address as 1.1.1.1.

system-view

[RouterB] voice-setup

[RouterB-voice] dial-program

[RouterB-voice-dial] entity 010 voip

[RouterB-voice-dial-entity10] match-template 0101001

[RouterB-voice-dial-entity10] address sip ip 1.1.1.1

[RouterB-voice-dial-entity10] quit

# Configure the local number as 07552001 for POTS entity 2001, and bind E&M interface line
5/0 to the POTS entity.

[RouterB-voice-dial] entity 2001 pots

[RouterB-voice-dial-entity2001] match-template 07552001

[RouterB-voice-dial-entity2001] send-number all

[RouterB-voice-dial-entity2001] line 5/0

[RouterB-voice-dial-entity2001] return

IP network

Router A

Router B

Telephone A

FXS 1/0

E&M 5/0

Eth2/1
1.1.1.1/24

Eth2/1

2.2.2.2/24

PBX

0101001

Telephone B