]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
change email template for vm (thx Chereburm)
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 7 Jan 2008 15:53:22 +0000 (15:53 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 7 Jan 2008 15:53:22 +0000 (15:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7124 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/voicemail.tpl

index eb020f04edc4c71259ae6813eb4ceb83062d7d4b..aede2b8f08a909a9dba808a8cfb012f4a61be236 100644 (file)
@@ -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-Disposition: inline
 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-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} ${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--