R2511-HP MSR Router Series Voice Command Reference(V5)

192
listen transport
Use listen transport to enable the listening port for the transport layer protocol.
Use undo listen transport to restore the default.
Syntax
listen transport { tcp | tls | udp }
undo listen transport { tcp | tls | udp }
Default
Both the UDP and TCP listening ports are enabled, and the TLS listening port is disabled.
Views
SIP client view
Default command level
2: System level
Parameters
udp: Specifies UDP as the transport layer protocol for incoming SIP calls and enables UDP listening port
5060.
tcp: Specifies TCP as the transport layer protocol for incoming SIP calls and enables TCP listening port
5060.
tls: Specifies TLS as the transport layer protocol for incoming SIP calls and enables TLS listening port
5 0 61.
Usage guidelines
You can execute this command multiple times to specify multiple transport layer protocols for incoming
SIP calls, and the configured transport layer protocols do not affect one another.
Execute the listen transport command in either of the following scenarios:
If the device is the call receiver, you need to enable the listening port of the transport layer protocol
used by the incoming calls.
The transport layer protocol specified in the registrar command must have been specified with the
listen transport command. Otherwise, no register request can be initiated.
You need to first configure the TLS server and client policies, and then specify TLS as the transport layer
protocol for incoming SIP calls through the listen transport command. Otherwise, the execution of the
listen transport tls command will not take effect.
If the TLS or TCP is specified as the transport layer protocol, the execution of the undo listen transport
command deletes the established connections.
Examples
# Specify TLS as the transport layer protocol for incoming SIP calls.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] listen transport tls
Related commands
registrar