We are running Elastix version 2.4 which I think runs freepbx in background, so since there is no option via web panel of Elastix version 2.4 to achieve what we need so I have to ask it here as someone told me it will be possible via freepbx script if I add it in crontab of Linux.
Issue we have is that agents make very long duration calls, so we need a script to terminate all calls(for every agent) after 20 minutes of duration, and for agents who comes in evening shift after 6:00 to terminate their calls after every 30 minutes(as they are good guys and hangs up call properly). Also, if possible in the same script can we except any particular agent from this so he/she should not have any limits?
Can someone please provide me kind of that script? and will it work on Elastix version 2.4 if I make it via crontab of Linux? someone told me that it would be possible via ExecIf or GotoIf and TIMEOUT(absolute) + Linux Cron?
Thanks in advance.