R0106-HP MSR Router Series Voice Configuration Guide(V7)
105
Configuration procedure
1. Configure Router A:
# Configure an IP address for GigabitEthernet 2/1/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ip address 192.168.2.1 255.255.255.0
[RouterA-GigabitEthernet2/1/1] quit
# Specify the SIP registrar and proxy server.
[RouterA] voice-setup
[RouterA-voice] sip
[RouterA-voice-sip] registrar 1 ip 192.168.2.3
[RouterA-voice-sip] proxy ip 192.168.2.3
# Configure user name routerA and plaintext password 1234.
[RouterA-voice-sip] user routerA password simple 1234
[RouterA-voice-sip] quit
# Configure local number 1111 for POTS entity 1111 and bind FXS interface 2/2/1 to the POTS
entity.
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 1111 pots
[RouterA-voice-dial-entity1111] line 2/2/1
[RouterA-voice-dial-entity1111] match-template 1111
[RouterA-voice-dial-entity1111] quit
# Configure VoIP entity 2222 to get the call destination address from the proxy server and to
match number 2222.
[RouterA-voice-dial] entity 2222 voip
[RouterA-voice-dial-entity2222] address sip proxy
[RouterA-voice-dial-entity2222] match-template 2222
[RouterA-voice-dial-entity2222] quit
2. Configure Router B:
# Configure an IP address for GigabitEthernet 2/1/1.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ip address 192.168.2.2 255.255.255.0
[RouterB-GigabitEthernet2/1/1] quit
# Specify the SIP registrar and proxy server.
[RouterB] voice-setup
[RouterB-voice] sip
[RouterB-voice-sip] registrar 1 ip 192.168.2.3
[RouterB-voice-sip] proxy ip 192.168.2.3
[RouterB-voice-sip] quit
# Configure local number 2222 for POTS entity 2222 and bind FXS interface 2/2/1 to the POTS
entity.
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 2222 pots
[RouterB-voice-dial-entity2222] line 2/2/1
[RouterB-voice-dial-entity2222] match-template 2222