Faxes get emailed as blank PDF files

I got my asterisk server to accept faxes and send me the fax via email but the PDF I get is blank.

Obviously I am missing some package or another. Could somebody give me a clue?

you need tiff2pdf, which is a part of libtiff-devel.