SIP Timer
The SIP Timer feature allows the user to configure a number of SIP timers that were hard-coded in the previous releases of Cisco IOS XR software. The ability to configure SIP timers enables users to
improve the interoperability and performance of their devices and network environment. Feature History for SIP Timer Functions
Contents
This module contains the following sections:
•Information About SIP Timer, page 1•How to Configure SIP Timer, page 3•
Related Documents, page 5
Information About SIP Timer
The SIP timer feature allows the user to configure some of the SIP timers that were hardcoded to default values in the previous releases of Cisco IOS XR software. In the previous releases, the SBC used the default SIP timer values recommended by RFC 3261. See Table 8.
Release
Modification
Release 3.4.1This feature was introduced on the Cisco XR 12000Series Router.
T able 8
Default Values of the Timers
Timer Value Meaning T1500 ms default RTT Estimate
T2 4 s The maximum retransmit interval for non-INVITE requests and INVITE responses
T4 5 s Maximum duration a message will remain in the network
Timer A initially T1INVITE request retransmit interval, for UDP only Timer B
64* T1
INVITE transaction timeout timer
SIP Timer Information About SIP Timer
The SBC allows the user to modify T1, T2 and Timer D, using: udp-first-retransmit-interval,
udp-max-retransmit-interval and udp-response-linger-period accordingly. Another timer also
introduced in this release is invite-timeout parameter, which lets the user choose how long SBC should wait for the remote SIP endpoint to respond to the SBC's outgoing INVITE or Timer B in an outgoing transaction.
In addition to the SIP protocol-level timers, SBC also allows modification of transport-related timers: tcp-connect-timeout (how long TCP SYN will wait for the reply); tcp-idle-timeout (how long TCP connection should stay active while idle), and tls-idle-timeout (how long TLS connection should stay active while idle). Although these timers are transport-level values, IOS-XR supports these timers in SIP only, but not in H.323, nor H.248.
Note The incorrect configuration of the SIP timer values may lead to unexpected behavior in certain cases.
Timer C> 3 min proxy INVITE transaction timeout
Timer D> 32 s for UDP
timeout on t2 timer0 s for TCP/SCTP
Wait time for response retransmits
Timer E initially T1non-INVITE request retransmit interval, UDP
only
Timer F64* T1non-INVITE transaction timeout timer
Timer G initially T1INVITE response retransmit interval
Timer H64* T1Wait time for ACK receipt
Timer I T4 for UDP
0 s for TCP/SCTP
Wait time for ACK retransmits
Timer J64* T1 for UDP
0 s for TCP/SCTP
Wait time for non-INVITE request retransmits
Timer K T4 for UDP
0 s for TCP/SCTP
Wait time for response retransmits T able8Default Values of the Timers (continued)
Timer Value Meaning
SIP Timer
How to Configure SIP Timer
How to Configure SIP Timer
This section contains the steps for configuring SIP timers.
Configuring SIP Timer
SUMMARY STEPS
2.sbc service-name
3.sbe
4.sip timer
7.tls-idle-timeout interval
8.invite-timeout interval
9.udp-first-retransmit-interval interval
10.udp-max-retransmit-interval interval
11.udp-response-linger-period interval
12mit
14.show services sbc service-name sbe sip timers
DETAILED STEPS
Command or Action Purpose
Step1configure
Example:
RP/0/0/CPU0:router# configure
Enables global configuration mode.
Step2sbc service-name
Example:
RP/0/0/CPU0:router(config)# sbc mysbc Enters the mode of an SBC service.
•Use the service-name argument to define the name of the service.
Step3sbe
Example:
RP/0/0/CPU0:router(config-sbc)#sbe Enters the mode of the signaling border element (SBE) function of the SBC.
SIP Timer How to Configure SIP Timer
Step4sip timer
Example:
RP/0/0/CPU0:router(config-sbc-sbe)# sip timer
Enters the mode of the SIP timer function of the SBC.
Step5tcp-connect-timeout interval
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)#
tcp-connect-timeout 3000Configures the time (in milliseconds) that SBC waits for a SIP TCP connection to a remote peer to complete before failing that connection. The default timeout interval is 1000 milliseconds.
Step6tcp-idle-timeout interval
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)#
tcp-idle-timeout 30000Minimum time (in milliseconds) a TCP socket has not processed any traffic, before it is closed. The default is 2 minutes.
Step7tls-idle-timeout interval
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)#
tls-idle-timeout 1800000Minimum time (in milliseconds) a TLS socket can remain idle before it is closed. The default is one hour.
Step8invite-timeout interval
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)#
invite-timeout 60Configures the time (in seconds) that SBC waits for a final response to an outbound SIP INVITE request. The default is 180 seconds. If no response is received during that time, an internal “408 Request Timeout” response is generated and returned to the caller.
Step9udp-first-retransmit-interval interval
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)#
udp-first-retransmit-interval 1000Configures the time (in milliseconds) that SBC waits for a UDP response or ACK before sending the first retrans-mission of the relevant signal.
If SBC keeps getting no responses, it doubles subse-quent retransmission intervals each time until they reach the udp-max-retransmit-interval duration. SBC ceases retransmitting the request and time out the signal if 64 times this duration passes without the receipt of a response/ACK.
The default first UDP retransmission interval is 500 mil-liseconds.
Step10udp-max-retransmit-interval interval
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)#
udp-max-retransmit-interval 8000Configures the maximum time interval (in milliseconds) at which SBC will retransmit (see udp-first-retrans-mit-interval above). The default maximum UDP re-transmission interval is 4 seconds.
Step11udp-response-linger-period interval
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)#
udp-response-linger-period 10000Configures the time (in milliseconds) for which SBC will retain negative UDP responses to INVITE requests. All subsequent retransmitted responses received within this time will be answered with a negative ACK. There-after, any further retransmitted responses are ignored. The default UDP response linger period is 32 seconds.
Command or Action Purpose
SIP Timer
Additional References
Additional References
The following sections provide references related to SIP timer support in SBC.
Related Documents
Standards
Step 12
commit
Example:
RP/0/0/CPU0:router(config-sbc-sbe-sip-tmr)# commit
Saves configuration changes. Use the commit command to save the configuration changes to the running config-uration file and remain within the configuration session.
Step 13exit
Example:
RP/0/0/CPU0:router(config-sbc-sbe)# exit
Exits the sip timer mode and returns to the SBE mode.
Step 14
show services sbc service-name sbe sip timers
Example:
RP/0/0/CPU0:router(config-sbc)# show services sbc mysbc sbe sip timers
Shows the currently configured SIP-related timers.
Command or Action
Purpose
Related Topic
Document Title
Cisco IOS XR master command reference
Cisco IOS XR Master Commands List
Cisco IOS XR SBC interface configuration commands
Cisco IOS XR Session Border Controller Command Reference
Initial system bootup and configuration information for a router using the Cisco IOS XR Software Cisco IOS XR Getting Started Guide Cisco IOS XR command modes
Cisco IOS XR Command Mode Reference
Standards
Title
No new or modified standards are supported by this feature, and support from existing standards has not been modified by this feature.
—
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论