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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@
body = body:gsub("${domain_name}", domain_name); body = body:gsub("${domain_name}", domain_name);
body = body:gsub("${sip_to_user}", id); body = body:gsub("${sip_to_user}", id);
body = body:gsub("${dialed_user}", id); body = body:gsub("${dialed_user}", id);
body = body:gsub("${origination_callee_id_name}", origination_callee_id_name);
if (voicemail_file == "attach") then if (voicemail_file == "attach") then
body = body:gsub("${message}", text['label-attached']); body = body:gsub("${message}", text['label-attached']);
elseif (voicemail_file == "link") then elseif (voicemail_file == "link") then