summaryrefslogtreecommitdiffstats
path: root/config/process_put.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-12-28 21:30:05 +0000
committerTed Trask <ttrask01@yahoo.com>2017-02-22 22:44:33 +0000
commit5cb9f985768afd8267aaafe7384e6df33da01a06 (patch)
tree652ab720fcb3b078a0387cce36ff82893bd7d609 /config/process_put.lua
parent389709e3a3bd4e949417d2056eb5087ee0b5320d (diff)
downloadacf-provisioning-5cb9f985768afd8267aaafe7384e6df33da01a06.tar.bz2
acf-provisioning-5cb9f985768afd8267aaafe7384e6df33da01a06.tar.xz
Add Polycom clockenable parameter
(cherry picked from commit 6e2cf4da8bee8dbc180c6011ecf98b70a215bf71)
Diffstat (limited to 'config/process_put.lua')
-rw-r--r--config/process_put.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/process_put.lua b/config/process_put.lua
index 0194e46..83eaeb4 100644
--- a/config/process_put.lua
+++ b/config/process_put.lua
@@ -57,6 +57,10 @@ function process_polycom()
elseif string.find(n, "24HourClock") then
params.value.device.value.militarytimeenable.value = (v == "1")
+ -- this attribute enables local clock
+ elseif string.find(n, "localClockEnabled") then
+ params.value.device.value.clockenable.value = (v == "1")
+
else
-- search attribute name for reg_name like "reg.1."
-- and for rest like "fwdStatus"