Update index.lua

This commit is contained in:
FusionPBX
2018-04-09 16:16:14 -06:00
committed by GitHub
parent b775321411
commit 2582a266f9

View File

@@ -85,8 +85,8 @@
end
end
--htek
if (vendor == "htek") then
--fanvil
if (vendor == "fanvil") then
if (command == "reboot") then
event:addHeader('event-string', 'check-sync;reboot=true');
end
@@ -105,6 +105,16 @@
end
end
--htek
if (vendor == "htek") then
if (command == "reboot") then
event:addHeader('event-string', 'check-sync;reboot=true');
end
if (command == "check_sync") then
event:addHeader('event-string', 'resync');
end
end
--linksys
if (vendor == "linksys") then
if (command == "reboot") then