Update index.lua
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
--
|
--
|
||||||
-- The Initial Developer of the Original Code is
|
-- The Initial Developer of the Original Code is
|
||||||
-- Mark J Crane <markjcrane@fusionpbx.com>
|
-- Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
-- Copyright (C) 2013 - 2014
|
-- Copyright (C) 2013 - 2018
|
||||||
-- the Initial Developer. All Rights Reserved.
|
-- the Initial Developer. All Rights Reserved.
|
||||||
--
|
--
|
||||||
-- Contributor(s):
|
-- Contributor(s):
|
||||||
@@ -115,6 +115,16 @@
|
|||||||
end
|
end
|
||||||
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
|
--linksys
|
||||||
if (vendor == "linksys") then
|
if (vendor == "linksys") then
|
||||||
if (command == "reboot") then
|
if (command == "reboot") then
|
||||||
|
|||||||
Reference in New Issue
Block a user