[asterisk-users] ReceiveFax and multiple pages

Ishfaq Malik ish at pack-net.co.uk
Fri Apr 27 08:20:53 CDT 2012


I'm using asterisk 1.8.7.0 and fax for asterisk

I'm receiving a multi page fax using the ReceiveFax application with the
d and f options.

The fax is being written as a tiff file but only the first page of the
fax is in the tiff file

The asterisk server knows there are multiple files in the fax as can be
seen by the success message

 FAX session '8' is complete, result: 'SUCCESS' (FAX_SUCCESS), error:
'NO_ERROR', pages: 2, resolution: '204x98', transfer rate: '14400',
remoteSID: 'XXXXXXXXXXX'

Here's the part of the dial plan that receives the fax

exten => s,1,Answer()
exten => s,n,Wait(10)
exten => s,n,Set(FAXFILE=/tmp/fax-${CALLERID(num)}-${STRFTIME(${EPOCH},,
%Y%m%d-%H%M%S)}.tiff)
exten => s,n,ReceiveFAX(${FAXFILE},df)

Am I missing something obvious?

Thanks

Ish
-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062




More information about the asterisk-users mailing list