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

133
Usage guidelines
You can configure the transport protocol both globally (in SIP view) and for a specific VoIP entity (in VoIP
entity view). The configuration in VoIP entity view takes precedence over the global configuration. A VoIP
entity uses the global configuration only when no transport protocol is configured in VoIP entity view.
Configure the same transport protocol on the called and calling devices. For example, if you configure
the session transport tcp command on the calling device, you must configure the transport tcp command
on the called device.
You must configure the SSL client and server policies by using the crypto command before you can use
TLS to initiate SIP calls.
Examples
# Specify TLS as the global transport protocol for outgoing SIP calls.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] session transport tcp tls
Related commands
crypto
transport
set pstn-cause
Use set pstn-cause to configure a PSTN cause-to-SIP status mapping.
Use undo set pstn-cause to restore the default mapping for a PSTN cause code.
Syntax
set pstn-cause pstn-cause sip-status sip-status
undo set pstn-cause pstn-cause
Default
Table 27 Default PSTN cause-to-SIP status mappings
PSTN cause code PSTN cause description SIP status code SIP status description
1
Unallocated (unassigned)
number!
404 Not Found.
2
No route to specified transit
network!
404 Not Found.
3 No route to destination! 404 Not Found.
16 Normal clearing! N/A BYE or CANCEL.
17 User busy! 486 Busy here.
18 No user responding! 408 Request Timeout.
19 No answer from user! 480 Temporarily unavailable.
20 Subscriber absent! 480 Temporarily unavailable.
21 Call rejected! 403 Forbidden.