From dacfba65239d15e8e3ad3f541b7379e7b287e5b5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 16 Jun 2011 08:27:27 +0000 Subject: Set Polycom voicemail callback to the user of the mailbox URI This may not be perfect, but should work in most cases. --- templates/polycom-template.lua | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3