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

@@ -52,7 +52,7 @@
$switch_cmd = 'show channels as json';
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
$fp = event_socket_create();
//send the event socket command and get the array
if ($fp) {

View File

@@ -74,7 +74,7 @@
if (is_array($calls) && @sizeof($calls) != 0) {
//setup the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
$fp = event_socket_create();
//execute hangup command
foreach ($calls as $call_uuid) {