Voicemail-to-Email: Backup email to database if sending fails, better detection of ContentType.

This commit is contained in:
Nate Jones
2014-07-08 06:38:23 +00:00
parent 33eb19e9ae
commit 7337fba360
5 changed files with 131 additions and 20 deletions

View File

@@ -1,7 +1,9 @@
<html>
<font face="arial">
<b>Message From "${caller_id_name}" <a href="tel:${caller_id_number}">${caller_id_number}</a></b><br/>
<hr noshade="noshade" size="1"/>
Created: ${message_date}<br/>
Duration: ${message_duration}<br/>
Account: ${account}@${domain_name}<br/>
</font>
</font>
</html>

View File

@@ -1,7 +1,9 @@
<html>
<font face="arial">
<b>Message From "${caller_id_name}" <a href="tel:${caller_id_number}">${caller_id_number}</a></b><br/>
<hr noshade="noshade" size="1"/>
Created: ${message_date}<br/>
Duration: ${message_duration}<br/>
Account: ${account}@${domain_name}<br/>
</font>
</font>
</html>

View File

@@ -36,7 +36,7 @@
--convert_ext (optional) to replace the file's extension
--Example
--luarun email.lua to@domain.com from@domain.com 'subject' 'body'
--luarun email.lua to@domain.com from@domain.com 'headers' 'subject' 'body'
--get the argv values
script_name = argv[0];