beautypg.com

H3C Technologies H3C MSR 5600 User Manual

Page 36

background image

26

[RouterA-voice-dial] entity 1000 pots

[RouterA-voice-dial-entity1000] match-template 1000

[RouterA-voice-dial-entity1000] line 5/0

[RouterA-voice-dial-entity1000] return

# Enter the view of E&M interface 5/0.

system-view

[RouterA] subscriber-line 5/0

# Configure the immediate start mode (optional, because the default is the immediate start mode).

[RouterA-subscriber-line5/0] signal immediate

# Enable the PLAR function.

[RouterA-subscriber-line5/0] private-line 2000

# Enable the E&M non-signaling mode.

[RouterA-subscriber-line5/0] open-trunk caller

# Enable E&M analog control signals pass-through.

[RouterA-subscriber-line5/0] passthrough

# Disable the echo cancellation function.

[RouterA-subscriber-line5/0] undo echo-canceler enable

2.

Configure Router B:
# Configure the called number as 1000 for VoIP entity 1000, and configure the destination IP
address as 1.1.1.1.

system-view

[RouterB] voice-setup

[RouterB-voice] dial-program

[RouterB-voice-dial] entity 1000 voip

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

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

[RouterB-voice-dial-entity10] quit

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

the POTS entity.

[RouterB-voice-dial] entity 2000 pots

[RouterB-voice-dial-entity2000] match-template 2000

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

[RouterB-voice-dial-entity2000] return

# Enter the view of E&M interface 5/0.

system-view

[RouterB] subscriber-line 5/0

# Configure the immediate start mode (optional, because the default is the immediate start mode).

[RouterB-subscriber-line5/0] signal immediate

# Enable the E&M non-signaling mode.

[RouterB-subscriber-line5/0] open-trunk called

# Enable E&M control signals pass-through.

[RouterB-subscriber-line5/0] passthrough

# Disable the echo cancellation function.

[RouterB-subscriber-line5/0] undo echo-canceler enable