From d749574edabd2f8782a84bc46d953208085fa62f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 2 Jan 2017 22:17:18 +0000 Subject: Add missedcallhistoryenable and receivedcallhistoryenable params callhistoryenable is now for placed calls only makes these parameters consistent between snom and polycom --- config/templates/polycom-template.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/templates/polycom-template.lua') 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' ) -- cgit v1.2.3