Misc: Remove parameters from event_socket_create() calls.

This commit is contained in:
fusionate
2023-09-20 18:43:17 +00:00
parent 8ee8e30b31
commit d9d17a6917
62 changed files with 95 additions and 100 deletions

View File

@@ -97,7 +97,7 @@
//update the user_status
if (is_uuid($call_center_agent_uuid)) {
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
$fp = event_socket_create();
$switch_cmd .= "callcenter_config agent set status ".$call_center_agent_uuid." '".$user_status."'";
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
}