I remember seeing some topics here that talked about faxing directly into asterisk and having the fax written to a file on the asterisk server itself. I can’t find any of those posts now. Has anyone done this?

Have you tried the search link above? Another good resource would be wiki voip-info.org/wiki-Asterisk+fax

Yes, I tried the search but didn’t find those posts. I did go to the link you provided and read up on AsterFax. Has anyone used it? Is it reliable?

Yes, I’m doing that. However, it’s not proving to be very reliable. We get a lot more “empty” fax files than we should. Very sensitive to the fax machine that it’s communicating with.

I’ve just got the below in my extensions.conf and it’s working well (ok, except the faxes are landscape as opposed to portraight but hopefully someone here will help out with that)

exten => 1234,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%M%S)}-${CALLERIDNUM}.tif) 
exten => 1234,n,rxfax(${FAXFILE}) 
exten => 1234,n,System('mpack -s "Document recieved from FAX>email gateway" ${FAXFILE} you@yourdomain')

Some say it works great, others say it isn’t reliable. Sounds perfect!