Author: anthm Date: Mon Jan 7 10:53:22 2008 New Revision: 7124 Modified: freeswitch/trunk/conf/voicemail.tpl Log: change email template for vm (thx Chereburm) Modified: freeswitch/trunk/conf/voicemail.tpl ============================================================================== --- freeswitch/trunk/conf/voicemail.tpl (original) +++ freeswitch/trunk/conf/voicemail.tpl Mon Jan 7 10:53:22 2008 @@ -1,11 +1,11 @@ -From: FreeSWITCH mod_voicemail <${voicemail_account}@${voicemail_domain}> +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} +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 + boundary="000XXX000" --000XXX000 Content-Type: text/plain; charset=ISO-8859-1; Format=Flowed @@ -13,7 +13,7 @@ Content-Transfer-Encoding: 7bit Created: ${voicemail_time} -From: ${voicemail_caller_id_name} ${voicemail_caller_id_number} +From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> Duration: ${voicemail_message_len} Account: ${voicemail_account}@${voicemail_domain} @@ -22,11 +22,21 @@ 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} ${voicemail_caller_id_number}</b><br> +<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--