ReceiveFax and multiple pages


I'm using asterisk 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…

Asterisk Users 3.4 years ago 1 Answer

"Unexpected command after page received..."


I'm setting up res_fax to use with an iax provider. I'm calling over
PSTN to the provider. When I stand at our fax machine (Brother), I can
see the call come in, and it appears to set up correctly. What is odd,
however, is that asterisk drops off while the fax machine is still
sending. I've lowered the baud rate to 9600, it's a single page fax.
After less than 10 seconds asterisk stops receiving the fax, but the
machine continues sending for another 20 seconds or so. ReceiveFAX("IAX2/FaxIAX-4579",
"/var/spool/asterisk/fax/20120317_1820.tif,df") in new stack

Asterisk Users 3.5 years ago 1 Answer