summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-06-16 08:27:27 +0000
committerTed Trask <ttrask01@yahoo.com>2011-06-16 08:27:27 +0000
commitdacfba65239d15e8e3ad3f541b7379e7b287e5b5 (patch)
tree41df5e2bf08314c6e06b82560884d46a627e36cc
parent443917b6d235bc6cb10e2be2c5de190ac3fcad07 (diff)
downloadacf-provisioning-dacfba65239d15e8e3ad3f541b7379e7b287e5b5.tar.bz2
acf-provisioning-dacfba65239d15e8e3ad3f541b7379e7b287e5b5.tar.xz
Set Polycom voicemail callback to the user of the mailbox URI
This may not be perfect, but should work in most cases.
-rw-r--r--templates/polycom-template.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/polycom-template.lua b/templates/polycom-template.lua
index 199f7ff..b617025 100644
--- a/templates/polycom-template.lua
+++ b/templates/polycom-template.lua
@@ -251,6 +251,8 @@ if values.services then
end
if values.services.mailbox then
xml_attr({ 'msg.mwi.1.subscribe' }, values.services.mailbox)
+ xml_attr({ 'msg.mwi.1.callBackMode' }, "contact")
+ 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)