Update send_email.lua (#5486)
Add the name of the voice mail box in the VM to email template.
This commit is contained in:
parent
d539c3a7cc
commit
ec6303d0fe
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue