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

138
Parameters
fallback: Supports fallback to RTP if the peer does not support SRTP.
Usage guidelines
The differences between the srtp and srtp fallback commands are as follows:
With the srtp command configured:
{ The device includes crypto and RTP/SAVP parameters in outgoing INVITE requests and
disconnects the call after receiving a 488 response.
{ The device can accept only calls using SRTP.
With the srtp fallback command configured:
{ The device includes crypto and RTP/SAVP parameters in outgoing INVITE requests and
retransmits INVITE requests with RTP/AVP parameters after receiving a 488 response.
{ The device can accept calls using SRTP or RTP. SRTP is preferred for media stream protocol
negotiation. If the negotiation fails, RTP is used.
You can configure the srtp command 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 the srtp command is not configured in VoIP entity view.
Examples
# Configure SRTP as the media stream protocol for SIP calls.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] srtp
timers connection aging
Use timers connection aging to set the aging time for TCP or TLS connections.
Use undo timers connection aging to restore the default.
Syntax
timers connection aging { tcp tcp-age-time | tls tls-age-time }
undo timers connection aging { tcp | tls }
Default
The aging time for TCP connections is 5 minutes. The aging time for TLS connections is 30 minutes.
Views
SIP view
Predefined user roles
network-admin
Parameters
tcp tcp-age-time: Specifies the amount of idle time that elapses before a TCP connection is removed. The
value range for tcp-age-time is 5 to 30 minutes.
tls tls-age-time: Specifies the amount of idle time that elapses before a TLS connection is removed. The
value range for tls-age-time is 30 to 180 minutes.