R2511-HP MSR Router Series Voice Configuration Guide(V5)

193
# Configure the router to operate in the alone mode.
<RouterC> system-view
[RouterC] voice-setup
[RouterC-voice] sip-server
[RouterC-voice-server] server-bind ipv4 2.1.1.2
[RouterC-voice-server] server enable
# Set Router A to a trusted node.
[RouterC-voice-server] trusted-point ipv4 1.1.1.1
# Configure the area prefix 8899.
[RouterC-voice-server] area-prefix 8899
# Configure authentication information for Phone 5000.
[RouterC-voice-server] register-user 5000
[RouterC-voice-server-user5000] number 5000
[RouterC-voice-server-user5000] authentication username 5000 password simple 5000
2. Configure Router A:
# Configure voice entities.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 55661000 pots
[RouterA-voice-dial-entity55661000] match-template 55661000
[RouterA-voice-dial-entity55661000] line 2/0
[RouterA-voice-dial-entity55661000] quit
[RouterA-voice-dial]entity 88995000 voip
[RouterA-voice-dial-entity88995000] address sip ip 2.1.1.2
[RouterA-voice-dial-entity88995000] match-template 88995000
3. Configure Router B:
# Configure voice entity.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 5000 pots
[RouterB-voice-dial-entity5000] match-template 5000
[RouterB-voice-dial-entity5000] user 5000 password simple 5000
[RouterB-voice-dial-entity5000] line 2/0
[RouterB-voice-dial-entity5000] quit
# Enable SIP registration.
[RouterB-voice] sip
[RouterB-voice-sip] registrar ipv4 2.1.1.2
[RouterB-voice-sip] register-enable on
4. Verify the configurations:
{ Execute the display voice sip-server register-user command to see that the directory number 5000 is
registered with the local SIP server Router C.
[RouterC-voice-server-user5000] display voice sip-server register-user all
user number status address
---------------------------------------------------------------------