forked from Mirrors/freeswitch
12f18c54f7
I reverted it and wrote a new one, please test as i am not able to atm this is a blind commit. vm-mailto (default undef) "the addr you want main email" vm-notify-mailto (default same as vm-mailto) "the addr you want notifications sent to" vm-email-all-messages (default false) "send all messages to vm-mailto addr (attachment based on vm-attach-file param)" vm-notify-email-all-messages (default false) "send a notify email to vm-notify-mailto when a vm is left (never has attachment)" vm-keep-local-after-email (default true) when you email the main message also keep it locally as new vm for the phone. when false means delete it as if it never happened and just email it. vm-attach-file (default true) attach the audio file to the main email the notify email will use the same template as the main email unless you define the new profile param "notify-template-file" git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8748 d0543943-73ff-0310-b7d9-9358b9ac24b2
43 lines
1.4 KiB
Smarty
43 lines
1.4 KiB
Smarty
From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@${voicemail_domain}>
|
|
To: <${voicemail_email}>
|
|
Subject: Voicemail from "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> ${voicemail_message_len}
|
|
X-Priority: ${voicemail_priority}
|
|
X-Mailer: FreeSWITCH
|
|
|
|
Content-Type: multipart/alternative;
|
|
boundary="000XXX000"
|
|
|
|
--000XXX000
|
|
Content-Type: text/plain; charset=ISO-8859-1; Format=Flowed
|
|
Content-Disposition: inline
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
Created: ${voicemail_time}
|
|
From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}>
|
|
Duration: ${voicemail_message_len}
|
|
Account: ${voicemail_account}@${voicemail_domain}
|
|
|
|
--000XXX000
|
|
Content-Type: text/html; charset=ISO-8859-1
|
|
Content-Disposition: inline
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<title>Voicemail from "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> ${voicemail_message_len}</title>
|
|
<meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
|
|
</head>
|
|
<body>
|
|
|
|
<font face=arial>
|
|
<b>Message From "${voicemail_caller_id_name}" <A HREF="tel:${voicemail_caller_id_number}">${voicemail_caller_id_number}</A></b><br>
|
|
<hr noshade size=1>
|
|
Created: ${voicemail_time}<br>
|
|
Duration: ${voicemail_message_len}<br>
|
|
Account: ${voicemail_account}@${voicemail_domain}<br>
|
|
|
|
</body>
|
|
</html>
|
|
--000XXX000--
|