Example: Setting SIP ALG Call Duration and Timeouts (CLI)
The call duration and inactive media timeout features help you to conserve network resources and maximize throughput.
You use the maximum-call-duration parameter to set the maximum allowable length of time a call can be active. When the duration is exceeded, the SIP ALG tears down the call and releases the media sessions. This setting also frees up bandwidth in cases where calls fail to properly terminate.
This option indicates the maximum length of time (in seconds) a call can remain active without any media (RTP or RTPC) traffic within a group. Each time an RTP or RTCP packet occurs within a call, this timeout resets. When the period of inactivity exceeds this setting, the SIP ALG temporary openings (pinholes) in the firewall opened for media are closed. The default setting is 120 seconds, and the range is from 10 to 2550 seconds. Note that upon timeout, while resources for media (sessions and pinholes) are removed, the call is not terminated.
In the following example, you set call duration to 3000 minutes and the media inactivity timeout to 90 seconds:
Related Topics
- JUNOS Software Feature Support Reference for SRX Series and J Series Devices
- Understanding SIP ALG Call Duration and Timeouts
- SIP ALG Configuration Overview
- Example: Setting SIP ALG Call Duration and Timeouts (J-Web)
- Verifying SIP ALG Configurations