Example: Setting MGCP ALG Inactive Media Timeout

This example shows how to set the inactive media timeout value for the MGCP ALG.

Requirements

Before you begin, determine the type of parameter used to control the MGCP call activity and manage its network resources. See Understanding MGCP ALG Call Duration and Timeouts.

Overview

The inactive-media-timeout parameter governs MGCP call activity and indicates the maximum length of time (in seconds) a call can remain active without any media (RTP or RTCP) 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 MGCP ALG gates 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 this example, the inactive media timeout is set to 90 seconds.

Configuration

J-Web Quick Configuration

Step-by-Step Procedure

To set the inactive media timeout for the MGCP ALG:

  1. Select Configure>Security>ALG.
  2. Select the MGCP tab.
  3. In the Inactive Media Timeout box, enter 90.
  4. Click OK to check your configuration and save it as a candidate configuration.
  5. If you are done configuring the device, click Commit Options>Commit.

Step-by-Step Procedure

To set the inactive media timeout for the MGCP ALG:

  1. Configure the MGCP ALG inactive media timeout value.
    [edit]user@host# set security alg mgcp inactive-media-timeout 90
  2. If you are done configuring the device, commit the configuration.
    [edit]user@host# commit

Verification

To verify the configuration is working properly, enter the show security alg mgcp command.

Related Topics