Fix sip_to_user and dialed_user for voicemail.

This commit is contained in:
markjcrane
2015-10-02 17:46:39 -06:00
parent aeb147e4bb
commit d56eeab729

View File

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