mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Seperate Cisco 7940/7960 from Cisco SPA so that both can work with check-sync for reboot and reprovision.
This commit is contained in:
@@ -67,6 +67,16 @@
|
||||
|
||||
--cisco
|
||||
if (vendor == "cisco") then
|
||||
if (command == "reboot") then
|
||||
event:addHeader('event-string', 'check-sync');
|
||||
end
|
||||
if (command == "check_sync") then
|
||||
event:addHeader('event-string', 'check-sync');
|
||||
end
|
||||
end
|
||||
|
||||
--cisco-spa
|
||||
if (vendor == "cisco-spa") then
|
||||
if (command == "reboot") then
|
||||
event:addHeader('event-string', 'reboot=true');
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user