Update index.lua

This commit is contained in:
FusionPBX
2018-04-09 16:15:52 -06:00
committed by GitHub
parent deb40fa846
commit 1ed83d341b

View File

@@ -85,6 +85,16 @@
end
end
--fanvil
if (vendor == "fanvil") 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
--grandstream
if (vendor == "grandstream") then
if (command == "reboot") then