summaryrefslogtreecommitdiffstats
path: root/config/templates/polycom-template.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2017-01-02 22:17:18 +0000
committerTed Trask <ttrask01@yahoo.com>2017-02-28 23:46:18 +0000
commitb3f54ee429481fbb01eb56ea24994edc4b44610b (patch)
treef327922b63fa8b2fd59404aa0cfea81cf54606b6 /config/templates/polycom-template.lua
parent20738b83165b4f65d5d3198195d2dab91ecfc8cc (diff)
downloadacf-provisioning-b3f54ee429481fbb01eb56ea24994edc4b44610b.tar.bz2
acf-provisioning-b3f54ee429481fbb01eb56ea24994edc4b44610b.tar.xz
Add missedcallhistoryenable and receivedcallhistoryenable params
callhistoryenable is now for placed calls only makes these parameters consistent between snom and polycom (cherry picked from commit d749574edabd2f8782a84bc46d953208085fa62f)
Diffstat (limited to 'config/templates/polycom-template.lua')
-rw-r--r--config/templates/polycom-template.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/templates/polycom-template.lua b/config/templates/polycom-template.lua
index e3a4313..a6f3b2a 100644
--- a/config/templates/polycom-template.lua
+++ b/config/templates/polycom-template.lua
@@ -40,6 +40,8 @@
-- Assuming that services will not be nil
services = {
callhistoryenable = boolean
+ missedcallhistoryenable = boolean
+ receivedcallhistoryenable = boolean
callwaitingenable = boolean
forwarding = boolean
hotlinedestination = string
@@ -197,6 +199,12 @@ if values.services then
if not values.services.callhistoryenable then
xml_attr({ 'feature.callListPlaced.enabled' }, '0')
end
+ if not values.services.missedcallhistoryenable then
+ xml_attr({ 'feature.callListMissed.enabled' }, '0')
+ end
+ if not values.services.receivedcallhistoryenable then
+ xml_attr({ 'feature.callListReceived.enabled' }, '0')
+ end
if not values.services.callwaitingenable then
-- only allow one call per line key
xml_attr({ 'call.callsPerLineKey' }, '1' )