From 0a33e58b87f4373629df69e95fa2e688576e08cf Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 12 Nov 2024 14:53:14 -0700 Subject: [PATCH] Add vendor Bittel --- .../resources/scripts/app/event_notify/index.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/switch/resources/scripts/app/event_notify/index.lua b/app/switch/resources/scripts/app/event_notify/index.lua index a9d10e65fb..27ea30feb0 100644 --- a/app/switch/resources/scripts/app/event_notify/index.lua +++ b/app/switch/resources/scripts/app/event_notify/index.lua @@ -195,6 +195,16 @@ end end +--bittel + if (vendor == "bittel") 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=false'); + end + end + --send the event event:fire();