From c251a2d1e21ea2703346bf7c96c5692f95df79e0 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 17 Jun 2019 02:08:32 -0600 Subject: [PATCH] Update cmd.php --- app/sip_status/cmd.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app/sip_status/cmd.php b/app/sip_status/cmd.php index 552a00febd..7cc690f02b 100644 --- a/app/sip_status/cmd.php +++ b/app/sip_status/cmd.php @@ -40,7 +40,6 @@ //set the variables $cmd = check_str($_GET['cmd']); - $rdr = check_str($_GET['rdr']); //create the event socket connection $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); @@ -84,12 +83,7 @@ } //redirect the user - if ($rdr == "false") { - //redirect false - echo $response; - } - else { - header("Location: sip_status.php"); - } + header("Location: sip_status.php"); + ?>