Add new_messages variable in VM Email template
Ability to use ${new_messages} as a variable in the subject for voicemail to email template. Specifically useful for users who are migrating from asterisk and freepbx
This commit is contained in:
parent
aa87250196
commit
d58c26a389
|
|
@ -184,6 +184,7 @@
|
|||
subject = subject:gsub("${voicemail_description}", voicemail_description);
|
||||
subject = subject:gsub("${voicemail_name_formatted}", voicemail_name_formatted);
|
||||
subject = subject:gsub("${domain_name}", domain_name);
|
||||
subject = subject:gsub("${new_messages}", new_messages);
|
||||
subject = trim(subject);
|
||||
subject = '=?utf-8?B?'..base64.encode(subject)..'?=';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue