Please ignore, I was using a viewing client that didn't understand the
multiple pages
On Fri, 2012-04-27 at 14:20 +0100, Ishfaq Malik wrote:> 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