beautypg.com

Verifying the configuration, Configuring out-of-band dtmf, Network requirements – H3C Technologies H3C MSR 5600 User Manual

Page 103

background image

93

# Map the IP address 192.168.2.2 to the host name cc.news.com.

system-view

[Sysname] ip host cc.news.com 192.168.2.2

# Configure the VoIP entity 2222 to call the destination through domain name cc.news.com and
to match number 2222.

[RouterA] voice-setup

[RouterA-voice] dial-program

[RouterA-voice-dial] entity 2222 voip

[RouterA-voice-dial-entity2222] address sip dns cc.news.com port 5060

[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

# Configure local number 2222 for POTS entity 2222 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 the destination address 192.168.2.1 and number 1111 for the 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 out-of-band DTMF

Network requirements

As shown in

Figure 37

, configure Router A and Router B to use out-of-band signaling to transmit DTMF

tones so the phones 1111 and 2222 can call each other.