Call Variable for Maximum Call Duration
You can use special hard-coded call variables in Message Manipulation rules to configure the maximum call duration. This call duration is applied to calls belonging to the IP Group to which the Message Manipulation rule (Set ID) is associated.
● | The value of the call variable overrides the call duration value configured by the following configuration parameters: |
✔ | Global parameter [SBCMaxCallDuration]. |
✔ | IP Profile parameter 'SBC Max Call Duration'. |
● | This call variable is applicable only to the SBC application. |
Maximum call duration in Message Manipulation rules is done as follows:
■ | Configure the 'ActIon Subject' field to one of the following call variables (depending on leg): |
Var.Call.Dst.MaxDuration
Var.Call.Src.MaxDuration
For an explanation on the difference between Var.Call.Dst and Var.Call.Dst, see Call Variables.
■ | Configure the 'Action Type' field to Modify. |
■ | Configure the 'Action Value' field to the maximum call duration (in minutes). The value must be enclosed with single quotes (e.g., '30'). A value of '0' means unlimited duration. |
To apply the maximum call duration to both incoming and outgoing calls for the IP Group, assign the Message Manipulation rule (Set ID) to both the 'Inbound Message Manipulation Set' and 'Outbound Message Manipulation Set' fields in the IP Groups table. Alternatively, you can assign the Message Manipulation Set ID to the 'Outbound Message Manipulation Set' field only, where the Manipulation Set ID can include one or two Message Manipulation rules:
● | Two rules - one for the INVITE request (Invite.Request) and another for the INVITE response (Invite.Response). |
● | One rule - with the 'Message Type' field configured to any (applies only to INVITE). |
The following example configures a Message Manipulation Set ID with two Message Manipulation rules that define maximum call duration as 10 minutes for both incoming and outgoing calls:
Configuration Example of Call Variable for Maximum Call Duration
Message Type |
Condition |
Action Subject |
Action Type |
Action Value |
---|---|---|---|---|
Invite.Request |
- |
Var.Call.Dst.MaxDuration |
Modify |
'10' |
Invite.Response |
- |
Var.Call.Dst.MaxDuration |
Modify |
'10' |