Configuration procedure – H3C Technologies H3C MSR 5600 User Manual
Page 93
83
[Sysname-voice-dial] entity 1 pots
[Sysname-voice-dial-entity1] match-template 1000
[Sysname-voice-dial-entity1] user abcd password simple 1234 realm aaa
•
POTS entity 2 maintains the username abcd, password 1234, and domain name abc for the phone
number 1000.
[Sysname] voice-setup
[Sysname-voice] dial-program
[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] 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] 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.
Number Entity Registrar Server Expires Status
--------------------------------------------------------------------------------
1000 1 192.168.4.240:5060 2877 Online
Configuration procedure
To configure global SIP credentials:
Step 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: