diff options
-rw-r--r-- | templates/polycom-template.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/polycom-template.lua b/templates/polycom-template.lua index 50f4861..5ed35a3 100644 --- a/templates/polycom-template.lua +++ b/templates/polycom-template.lua @@ -266,7 +266,9 @@ if values.services then xml_attr({ 'msg.mwi.1.callBack' }, string.gsub(values.services.mailbox, "@.*", "")) end -- set local contact directory to be readonly or readwrite - xml_attr({ 'dir.local.readonly' }, values.services.speeddialenable) + if not values.services.speeddialenable then + xml_attr({ 'dir.local.contacts.maxNum' }, 0) + end end |