From ec6303d0fe42f1967f1efb8b58ae2ea919c7b63c Mon Sep 17 00:00:00 2001 From: Joseph <71848841+junction1153@users.noreply.github.com> Date: Sat, 26 Sep 2020 17:55:21 -0400 Subject: [PATCH] Update send_email.lua (#5486) Add the name of the voice mail box in the VM to email template. --- .../scripts/app/voicemail/resources/functions/send_email.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua b/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua index 9cea840773..626115c038 100644 --- a/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua +++ b/app/scripts/resources/scripts/app/voicemail/resources/functions/send_email.lua @@ -194,6 +194,7 @@ body = body:gsub("${domain_name}", domain_name); body = body:gsub("${sip_to_user}", id); body = body:gsub("${dialed_user}", id); + body = body:gsub("${origination_callee_id_name}", origination_callee_id_name); if (voicemail_file == "attach") then body = body:gsub("${message}", text['label-attached']); elseif (voicemail_file == "link") then