Fax to email?

Hello.

is there a way to hve a fax to email system with asterisk ?

Thank you.

I use a macro to handle that.

[macro-faxreceive]
exten => s,1,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
exten => s,2,SetVar(EMAILADDR=email@somedomain.com)
exten => s,3,rxfax(${FAXFILE})
exten => h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} “${CALLERIDNUM} ${CALLERIDNAME}”)

[default]
exten => fax,1,Macro(faxreceive)

You have to add something like spandsp to the Asterisk system to receive faxes, but it’s workng for me.

to support this?

You can use any Digium card with spandsp loaded or, better still, use an Intel Dialogic card that has a fax DSP built in.

More here:

voip-info.org/wiki-Asterisk+Fax+to+email