-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 14
-
Component/s: Call Recordings Report (Commercial)
-
Labels:None
-
ToDo:
The recording reports cron tasks run too often at every 15 minutes. This causes system instability and if a recording is currently running and they have delete_zero it can either 1) delete the recording from under asterisk 2) set an invalid duration
Instead what we need to do here is check if the file has an open handler (lsof) and not process the file if it does. Checks should be run daily not every 15 minutes as well to prevent CPU loads from getting out of control.