HP MSR2000/3000/4000 Router Series Voice Configuration Guide

83
[Sysname-voice-dial] entity 2 pots
[Sysname-voice-dial-entity2] match-template 1000
[Sysname-voice-dial-entity2] user abcd password simple 1234 realm abc
The SIP trunk account maintains the username abcd, password 1234, and domain name abc for the
phone number 1000.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] credentials number 1000 username abcd password simple 1234 realm
abc
The global SIP credentials information includes the username abcd, password 1234, and domain
name abc.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] user abcd password simple 1234 realm abc
Upon receiving a 401/407 response for the phone number 1000, the SIP UA considers the phone
number belongs to POTS entity 1 and selects the credentials on POTS entity 1 because POTS entity 1 has
a smaller ID, but the credentials fail the authentication. Then the SIP UA selects the credentials configured
with the credentials command and the credentials pass the authentication. The output from the display
voice sip register-status command shows that the phone number 1000 belongs to voice entity 1.
<Sysname> display voice sip register-status
Number Entity Registrar Server Expires Status
--------------------------------------------------------------------------------
1000 1 192.168.4.240:5060 2877 Online
Configuration procedure
To configure global SIP credentials:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP view.
sip N/A
4. Configure global SIP
credentials.
user username password { cipher |
simple } password [ realm realm ]
By default, no global SIP credentials are
configured.
To configure SIP credentials for a POTS entity:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter dial program view.
dial-program N/A
4. Enter POTS entity view.
entity entity-number pots N/A