Automatically update last activity time of a call

This commit is contained in:
2019-01-25 14:25:06 +01:00
parent 10b50d4664
commit b94c859a16
2 changed files with 24 additions and 0 deletions

View File

@ -86,6 +86,9 @@ class CallsController {
if(!$call->isValid())
Rest_fatal_error(500, "Could not get information about the call!");
//Update last activity of the call
components()->calls->updateLastActivity($call_id);
return self::CallInformationToAPI($call);
}