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 "