Update index.lua

This commit is contained in:
FusionPBX 2018-06-25 10:35:47 -06:00 committed by GitHub
parent f356372b1a
commit 727b8a01c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -16,7 +16,7 @@
--
-- The Initial Developer of the Original Code is
-- Mark J Crane <markjcrane@fusionpbx.com>
-- Copyright (C) 2013 - 2014
-- Copyright (C) 2013 - 2018
-- the Initial Developer. All Rights Reserved.
--
-- Contributor(s):
@ -115,6 +115,16 @@
end
end
--sangoma
if (vendor == "sangoma") 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