Set timeout internal call

Hello,
I ask information in order to configure the automatic closing of calls after 60 minutes of talk time as users sometimes leave the phone hung up.
Use as elastix distribution, I saw a bit of time-out configurations in the forum but I do not know and I have not figured out how to precisely configure this feature for all calls including those from telephone extensions.

Waiting
greetings and thanks

Hello Andre,

in FreePBX You can custom the Asterisk Dial command. Go to Settings -> Advanced settings. Look for “Asterisk Dial Options” and “Asterisk Outbound Trunk Dial Options”

The parameter You need is “LIMIT”: https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_Dial

For example, to limit the call duration to one hour and warning the caller at 50 minutes every minute that the call is near to be limited (hanged up) use: L(3600:3000:60)