R0106-HP MSR Router Series Voice Configuration Guide(V7)
95
To configure periodic refresh of SIP sessions:
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. Enable session refresh.
session refresh
By default, session refresh is
disabled if the device acts as a
UAC, and is enabled if the device
acts as a UAS.
Configure this command on the
UAC.
5. Set the maximum session
expiration time and minimum
session expiration time.
min-se time [ session-expires
interval ]
By default, both the maximum
session expiration time and
minimum session expiration time
are 1800 seconds.
Configuring PSTN cause-to-SIP status mappings
The default PSTN cause-to-SIP status mappings are used for communication between a SIP network and
a PSTN. For information about these default mappings, see Voice Command Reference. You can also
change the default mappings to meet specific needs.
To configure PSTN cause-to-SIP status mappings:
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 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