R0106-HP MSR Router Series Voice Command Reference(V7)

135
Views
SIP view
Predefined user roles
network-admin
Parameters
pstn-code: Specifies a PSTN cause code in Table 27. The PSTN cause code 16 is invalid.
sip-code: Specifies a SIP status code in Table 27.
Examples
# Map the PSTN cause code 17 to the SIP status code 408.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] set pstn-cause 17 sip-status 408
set sip-status
Use set sip-status to configure a SIP status-to-PSTN cause mapping.
Use undo set sip-status to restore the default mapping for a SIP status code.
Syntax
set sip-status sip-status pstn-cause pstn-cause
undo set sip-status sip-status
Default
Table 28 Default SIP status-to-PSTN cause mappings
SIP status code SIP status description PSTN cause code PSTN cause description
400 Bad Request. 41 Temporary failure!
401 Unauthorized. 21 Call rejected!
402 Payment required. 21 Call rejected!
403 Forbidden. 21 Call rejected!
404 Not found. 1
Unallocated (unassigned)
number!
405 Method not allowed. 63
Service or option not available,
unspecified!
406 Not acceptable. 79
Service or option not
implemented, unspecified!
407
Proxy authentication
required.
21 Call rejected!
408 Request timeout. 102 Recovery on timer expiry!
410 Gone. 22 Number changed!
413 Request Entity too long. 127 Interworking, unspecified!
414 Request-URI too long. 127 Interworking, unspecified!