Active Conferences - Interactive: Adjust Joined and Quiet formatting.

This commit is contained in:
fusionate 2023-05-27 18:54:43 +00:00
parent f432bdc14a
commit c92ebd8f0a
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -189,9 +189,9 @@
$caller_id_number = $row->caller_id_number; $caller_id_number = $row->caller_id_number;
$switch_cmd = "uuid_getvar ".$uuid. " hand_raised"; $switch_cmd = "uuid_getvar ".$uuid. " hand_raised";
$hand_raised = (trim(event_socket_request($fp, 'api '.$switch_cmd)) == "true") ? "true" : "false"; $hand_raised = (trim(event_socket_request($fp, 'api '.$switch_cmd)) == "true") ? "true" : "false";
//format seconds //format secondsfloor(floor($fifo_duration / 60) % 60)
$join_time_formatted = sprintf('%02d:%02d:%02d', floor($join_time / 3600), floor($join_time / 60), $join_time % 60); $join_time_formatted = sprintf('%02d:%02d:%02d', floor($join_time / 3600), floor(floor($join_time / 60) % 60), $join_time % 60);
$last_talking_formatted = sprintf('%02d:%02d:%02d', floor($last_talking / 3600), floor($last_talking / 60), $last_talking % 60); $last_talking_formatted = sprintf('%02d:%02d:%02d', floor($last_talking / 3600), floor(floor($last_talking / 60) % 60), $last_talking % 60);
if (empty($record_path)) { if (empty($record_path)) {
if (permission_exists('conference_interactive_mute')) { if (permission_exists('conference_interactive_mute')) {