R2511-HP MSR Router Series Voice Configuration Guide(V5)

151
To specify TLS as the transport layer protocol for incoming SIP calls:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP client view.
sip N/A
4. Specify TLS as the transport
layer protocol for incoming
SIP calls.
listen transport tls
By default, the TLS listening port is
disabled.
To set the aging time for TLS connection:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP client view.
sip N/A
4. Set the aging time for TLS
connection.
timer connection age tls
tls-age-time
Optional.
By default, the aging time for TLS
connection is 30 minutes.
Configuring media flow protocols for SIP calls
Configuration prerequisites
If a SIP server is used to forward calls, complete the configurations on the SIP server.
Configuration procedure
To specify the media flow protocols for SIP calls:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP client view.
sip N/A
4. Specify the media flow
protocols for SIP calls.
media-protocol { rtp | srtp } *
Optional.
By default, RTP is adopted.
After you have specified both the
RTP and SRTP protocols as the
media flow protocols for SIP calls,
if the device is the call initiator,
both media flow protocols are
carried in the INVITE message for
the receiver to select. If the device
is the call receiver, the SRTP
protocol is applied for media flow
negotiation. If the negotiation fails,
the RTP protocol is applied.