I'm running the latest version of AstLinux with Asterisk 1.8.x. Digging through 
the files, it looks as though AstLinux uses msmtp for e-mail notifications 
(voicemail, safeasterisk, SIP trunk status...). 

I was hoping to use it to send received faxes (*.tif files) to email 
recipients. The following snippet from my extensions.conf was lifted directly 
from O'Reilly's latest book on Asterisk:

exten => fax,1,Verbose(3,Incoming fax)
  same => n,Set(FAXDEST=/tmp)
  same => n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})
  same => n,ReceiveFax(${FAXDEST}/${tempfax}.tif)
  same => n,Verbose(3,- Fax receipt completed with status: ${FAXSTATUS})
  same => n,Hangup

I've confirmed that a fax is detected and written to the /tmp directory through 
the Asterisk CLI.  How do I take the received file and e-mail it out to 
recipients? Following successful e-mailing, is there a simple way to delete the 
file so as not to clog /tmp?

cheers,
  Shamus
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to