HP MSR2000/3000/4000 Router Series Voice Command Reference

126
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip]
user
Use user to configure SIP credentials.
Use undo user to restore the default.
Syntax
user username password { cipher | simple } password [ realm realm ]
undo user [ username password { cipher | simple } password [ realm realm ] ]
Default
No SIP credentials are configured.
Views
SIP view, POTS entity view
Predefined user roles
network-admin
Parameters
username: Specifies a username, which is a string of 1 to 63 case-sensitive characters.
cipher: Specifies a ciphertext password.
simple: Specifies a plaintext password.
password: Specifies a case-sensitive password. If simple is specified, the password must be a string of 1
to 16 characters. If cipher is specified, the password must be a string of 1 to 53 characters.
realm realm: Specifies a realm, which is a string of 1 to 50 case-sensitive characters. If no realm is
specified, the credentials can be used to respond to any registrars.
Usage guidelines
A SIP UA can register with up to six registrars, and it uses the domain name in the 401/407 response
from a registrar to identify the credentials to be sent to the registrar.
You can configure only one username with the user command in SIP view or voice entity view. The
username can contain 12 credentials bindings. A binding that does not include a domain name can be
used to respond to a 401/407 response that does not match any domain name-included binding. The
following example configures four credentials bindings:
[Sysname-voice-dial-entity100] user 1000 password simple 1000 realm server1
[Sysname-voice-dial-entity100] user 1000 password simple 1000 realm server2
[Sysname-voice-dial-entity100] user 1000 password simple 2000 realm server3
[Sysname-voice-dial-entity100] user 1000 password simple 3000
The first three bindings each contain a domain name, and the last binding contains no domain name. If
the SIP UA receives a 401/407 response that includes a domain name server2, the SIP UA responds with
the username 1000 and password 1000. If the SIP UA receives a 401/407 response that includes a
domain name server4, the SIP UA responds with the username 1000 and password 3000 because no
credentials binding contains the domain name server4.