beautypg.com

Verifying the configuration, Configuring sip calling through a sip server, Network requirements – H3C Technologies H3C MSR 5600 User Manual

Page 100

background image

90

[RouterA-voice-dial-entity2222] address sip ip 192.168.2.2

[RouterA-voice-dial-entity2222] match-template 2222

[RouterA-voice-dial-entity2222] quit

# Configure local number 1111 for POTS entity 1111 and bind FXS voice subscriber line 1/0 to
the POTS entity.

[RouterA-voice-dial] entity 1111 pots

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

[RouterA-voice-dial-entity1111] match-template 1111

2.

Configure Router B:
# Configure an IP address for Ethernet 2/1.

system-view

[RouterB] interface ethernet 2/1

[RouterB-Ethernet2/1] ip address 192.168.2.2 255.255.255.0

[RouterB-Ethernet2/1] quit

# Configure local number 2222 for POTS entity 1111 and bind FXS voice subscriber line 1/0 to
the POTS entity.

system-view

[RouterB] voice-setup

[RouterB-voice] dial-program

[RouterB-voice-dial] entity 2222 pots

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

[RouterB-voice-dial-entity2222] match-template 2222

[RouterB-voice-dial-entity2222] quit

# Configure call destination address 192.168.2.1 and number 1111 for VoIP entity 1111.

[RouterB-voice-dial]entity 1111 voip

[RouterB-voice-dial-entity1111] address sip ip 192.168.2.1

[RouterB-voice-dial-entity1111] match-template 1111

Verifying the configuration

# Phone 1111 and phone 2222 can call each other.
# Executing the display voice sip call command can display the SIP call information.

Configuring SIP calling through a SIP server

Network requirements

As shown in

Figure 35

, configure SIP calling through the SIP server on Router A and Router B so the

phones 1111 and 2222 can call each other.
On Router A, all phone numbers use the same username routerA and password 1234.
On Router B, phone number 2222 uses the username routerb, password 7890, and domain name
server1.