Fix the registration buttons: reboot and provision for polycom version 4 and higher and snom phones

This commit is contained in:
Mark Crane
2014-07-04 21:28:28 +00:00
parent eaae4d7eb7
commit 798c195335

View File

@@ -85,10 +85,10 @@
--polycom
if (vendor == "polycom") then
if (command == "reboot") then
event:addHeader('event-string', 'check-sync;reboot=true');
event:addHeader('event-string', 'check-sync');
end
if (command == "check_sync") then
event:addHeader('event-string', 'check-sync;reboot=false');
event:addHeader('event-string', 'check-sync');
end
end
@@ -107,7 +107,7 @@
event:addHeader('event-string', 'check-sync;reboot=true');
end
if (command == "check_sync") then
event:addHeader('event-string', 'check-sync;reboot=false');
event:addHeader('event-string', 'check-sync;reboot=true');
end
end