diff --git a/resources/install/scripts/app/event_notify/index.lua b/resources/install/scripts/app/event_notify/index.lua index 9d2b5718d2..68f7002c8e 100644 --- a/resources/install/scripts/app/event_notify/index.lua +++ b/resources/install/scripts/app/event_notify/index.lua @@ -21,6 +21,7 @@ -- -- Contributor(s): -- Mark J Crane +-- Errol Samuels --define explode function explode ( seperator, str ) @@ -62,6 +63,16 @@ event:addHeader('host', domain); event:addHeader('content-type', 'application/simple-message-summary'); +--aastra + if (vendor == "aastra") then + if (command == "reboot") then + event:addHeader('event-string', 'check-sync;reboot=true'); + end + if (command == "check_sync") then + event:addHeader('event-string', 'check-sync;reboot=true'); + end + end + --cisco if (vendor == "cisco") then if (command == "reboot") then