From f6f2df8152cb12c903db36ca409308b3ef727de5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 3 Feb 2019 12:41:55 -0700 Subject: [PATCH] Update registrations.php --- app/registrations/registrations.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/registrations/registrations.php b/app/registrations/registrations.php index 6885141e73..05c7c9de24 100644 --- a/app/registrations/registrations.php +++ b/app/registrations/registrations.php @@ -123,10 +123,10 @@ $command = "sofia profile ".$row['profile']." flush_inbound_reg ".$row['user']." reboot"; } if ($action == "provision") { - $command = "lua app.lua event_notify ".$row['profile']." check_sync ".$row['user']." ".$vendor; + $command = "lua app.lua event_notify ".$row['profile']." check_sync ".$row['user']." ".$vendor." ".$row['host']; } if ($action == "reboot") { - $command = "lua app.lua event_notify ".$row['profile']." reboot ".$row['user']." ".$vendor; + $command = "lua app.lua event_notify ".$row['profile']." reboot ".$row['user']." ".$vendor." ".$row['host']; } //send the command $response = event_socket_request($fp, "api ".$command); @@ -274,6 +274,7 @@ echo " \n"; echo " \n"; echo " \n"; + echo " \n"; echo " \n"; echo " \n"; echo " ".escape($row['user'])." \n";