Fix the registration buttons: reboot and provision for polycom version 4 and higher and snom phones
This commit is contained in:
parent
eaae4d7eb7
commit
798c195335
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue