Fax to email?


#1

Hello.

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

Thank you.


#2

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.


#3

to support this?


#4

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


#5

More here:

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