Example: Setting MGCP ALG Call Duration

This example shows how to set call duration 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 maximum-call-duration parameter governs MGCP call activity and sets the absolute maximum length of a call. When a call exceeds this parameter setting, the MGCP ALG tears down the call and releases the media sessions. The default setting is 432000 seconds, and the range is 180 through 432000 seconds. This setting also frees up bandwidth in cases where calls fail to properly terminate. In this example, the call duration is set to 180000 seconds.

Configuration

J-Web Quick Configuration

Step-by-Step Procedure

To set call duration for the MGCP ALG:

  1. Select Configure>Security>ALG.
  2. Select the MGCP tab.
  3. In the Maximum call duration box, enter 3000.
  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 call duration for the MGCP ALG:

  1. Configure the MGCP ALG call duration.
    [edit]user@host# set security alg mgcp maximum-call-duration 3000
  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