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-28 23:45:46 +0000
commit20738b83165b4f65d5d3198195d2dab91ecfc8cc (patch)
tree9f558e323ea0f38b6b9a0aea6b92a59adc39d9c0 /config/process_put.lua
parent73afcc0589405ac5bd2691b2e0e679e0ae8f8312 (diff)
downloadacf-provisioning-20738b83165b4f65d5d3198195d2dab91ecfc8cc.tar.bz2
acf-provisioning-20738b83165b4f65d5d3198195d2dab91ecfc8cc.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"