It's set in COS.
Here the notes from the help file:
Description:
Call Duration Control allows a maximum time limit to be set for telephone calls. After the maximum duration is reached, users receive a warning tone indicating that calls in progress will be cleared down. A grace period may be established to allow users to finish their calls, however, during the grace period, no features are available. For example, recalls from held parties are connected only long enough for the user to hear a warning tone and have the call cleared down. At the end of the grace period, another warning tone is issued and calls are cleared down.
Call Duration may also be set on trunks. If a trunk reaches its duration maximum before that of the end device, the end device attached to the trunk will receive call duration tones.
Note: Emergency calls are not affected by this feature.
Conditions
Internal and External SMDR must be enabled in the COS of the device which will have a Call Duration limit.
Route Optimization will not take place after the call duration time has expired.
Only the party whose call duration time has expired will hear the warning tone.
Any device that has a COS and is capable of placing/receiving a telephone call can be programmed to be affected by Call Duration Control.
Programming
In the Class of Service Options Assignment form:
Set the Enable Call Duration Limit on Internal Calls option and/or the Enable Call Duration Limit on External Calls option to "Yes", depending on the functionality required.
Set the Call Duration (2-120 min) option to the desired time limit.
Set the Call Duration Forced Cleardown Timer (0 - 10 min) to the amount of time the user has to finish active calls.
Operation
None.
Ralph