Fix the registration buttons: reboot and provision for polycom version 4 and higher and snom phones
This commit is contained in:
@@ -85,10 +85,10 @@
|
|||||||
--polycom
|
--polycom
|
||||||
if (vendor == "polycom") then
|
if (vendor == "polycom") then
|
||||||
if (command == "reboot") then
|
if (command == "reboot") then
|
||||||
event:addHeader('event-string', 'check-sync;reboot=true');
|
event:addHeader('event-string', 'check-sync');
|
||||||
end
|
end
|
||||||
if (command == "check_sync") then
|
if (command == "check_sync") then
|
||||||
event:addHeader('event-string', 'check-sync;reboot=false');
|
event:addHeader('event-string', 'check-sync');
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
event:addHeader('event-string', 'check-sync;reboot=true');
|
event:addHeader('event-string', 'check-sync;reboot=true');
|
||||||
end
|
end
|
||||||
if (command == "check_sync") then
|
if (command == "check_sync") then
|
||||||
event:addHeader('event-string', 'check-sync;reboot=false');
|
event:addHeader('event-string', 'check-sync;reboot=true');
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user