From ef3b08b08175199d02094912277c42b288ec6279 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 2 Oct 2015 17:46:39 -0600 Subject: [PATCH] Fix sip_to_user and dialed_user for voicemail. --- .../scripts/app/voicemail/resources/functions/send_email.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/install/scripts/app/voicemail/resources/functions/send_email.lua b/resources/install/scripts/app/voicemail/resources/functions/send_email.lua index f00cb942a5..7009932369 100644 --- a/resources/install/scripts/app/voicemail/resources/functions/send_email.lua +++ b/resources/install/scripts/app/voicemail/resources/functions/send_email.lua @@ -131,6 +131,8 @@ body = body:gsub("${message_duration}", message_length_formatted); body = body:gsub("${account}", id); body = body:gsub("${domain_name}", domain_name); + body = body:gsub("${sip_to_user}", id); + body = body:gsub("${dialed_user}", id); if (voicemail_file == "attach") then body = body:gsub("${message}", text['label-attached'][default_language.."-"..default_dialect]); elseif (voicemail_file == "link") then