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-01-02 22:17:18 +0000
commitd749574edabd2f8782a84bc46d953208085fa62f (patch)
tree95a4428fbf24eaaf4d20cae5545c4e08c3d33928 /config/templates/polycom-template.lua
parentafe6c0697cab91e9c5290588059af652d36a2adf (diff)
downloadacf-provisioning-d749574edabd2f8782a84bc46d953208085fa62f.tar.bz2
acf-provisioning-d749574edabd2f8782a84bc46d953208085fa62f.tar.xz
Add missedcallhistoryenable and receivedcallhistoryenable params
callhistoryenable is now for placed calls only makes these parameters consistent between snom and polycom
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 6cf08ab..bb736db 100644
--- a/config/templates/polycom-template.lua
+++ b/config/templates/polycom-template.lua
@@ -41,6 +41,8 @@
-- Assuming that services will not be nil
services = {
callhistoryenable = boolean
+ missedcallhistoryenable = boolean
+ receivedcallhistoryenable = boolean
callwaitingenable = boolean
forwarding = boolean
hotlinedestination = string
@@ -200,6 +202,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' )