Configuring caller privacy – H3C Technologies H3C MSR 5600 User Manual
Page 98
88
Step Command
Remarks
4.
Configure a PSTN cause
code-to-SIP status
mapping.
set pstn-cause pstn-cause
sip-status sip-status
For information about default PSTN cause
code-to-SIP status mappings, see Voice
Command Reference.
5.
Configure a SIP
status-to-PSTN cause
mapping.
set sip-status sip-status
pstn-cause pstn-cause
For information about default SIP
status-to-PSTN cause mappings, see
Voice Command Reference.
6.
Display PSTN cause-to-SIP
status mappings.
display voice sip map { pstn-sip
| sip-pstn }
N/A
Configuring caller privacy
SIP uses the following header fields to provide caller privacy:
•
Privacy—If the Privacy header field carries "Privacy: none", the caller ID is displayed. If the Privacy
header field carries "Privacy: id", the caller ID is hidden.
•
Remote-Party-ID—If the Remote-Party-ID header field carries "privacy=off", the caller ID is
displayed. If the Remote-Party-ID header field carries "privacy=full", the caller ID is hidden. If the
Remote-Party-ID header field is set, the device adds this field to an INVITE request. A device that
receives the INVITE request preferably obtains caller information from this field regardless of
whether the local Remote-Party-ID header field is set.
NOTE:
The Remote-Party-ID header field cannot coexist with the P-Preferred-Identity or P-Asserted-Identity
header field.
To configure caller privacy:
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.
Add the Privacy header field
into INVITE requests.
privacy
By default, INVITE requests do not
carry the Privacy header field.
5.
Add the Remote-Party-ID
header field into INVITE
requests.
remote-party-id
By default, INVITE requests do not
carry the Remote-Party-ID header
field.
Setting the P-Asserted-Identity or P-Preferred-Identity header
field
Any two of the P-Asserted-Identity, P-Preferred-Identity, and Remote-Party-ID header fields cannot coexist.
To set the P-Asserted-Identity or P-Preferred-Identity header field: