Update send_email.lua (#5486)

Add the name of the voice mail box in the VM to email template.
This commit is contained in:
Joseph
2020-09-26 17:55:21 -04:00
committed by GitHub
parent d539c3a7cc
commit ec6303d0fe

View File

@@ -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