diff --git a/app/calls_active/calls_active_inc.php b/app/calls_active/calls_active_inc.php index 55c3ede752..4d9113b76b 100644 --- a/app/calls_active/calls_active_inc.php +++ b/app/calls_active/calls_active_inc.php @@ -41,9 +41,11 @@ else { } //set the command - $switch_cmd = 'show channels'; + $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']); + //if the connnection is available then run it and return the results if (!$fp) { $msg = "