summaryrefslogtreecommitdiffstats
path: root/config/templates/polycom-template.lua
diff options
context:
space:
mode:
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' )