Michele "O-Zone" Pinassi wrote:
I've upgraded Asterisk from CVS, spandsp and app_txfax and app_rxfax but i'm still unable to send/receive faxes :-(. I'm using amp_fax to send and this is what i get from logs:

<snip>

Sep 6 11:06:13 VERBOSE[10750]: -- Executing System("Zap/1-1", "tiff2ps -2eaz -w 8.5 -h 11 /var/spool/asterisk/fax/1125997512.2.tif | ps2pdf - /var/spool/asterisk/fax/1125997512.2.tif.pdf") in new stack Sep 6 11:06:13 VERBOSE[10750]: -- Executing System("Zap/1-1", "mime-construct --to [EMAIL PROTECTED] --subject "Fax from " --attachment .pdf --type application/pdf --file /var/spool/asterisk/fax/1125997512.2.tif.pdf") in new stack Sep 6 11:06:14 VERBOSE[10750]: -- Executing System("Zap/1-1", "rm /var/spool/asterisk/fax/1125997512.2.tif /var/spool/asterisk/fax/1125997512.2.tif.pdf") in new stack

<snip>

but pdf is illeggible and TIFF corrupted !


You might want to check the other components in the chain -- tiff2ps and ps2pdf -- to make sure that your version of libtiff is able to create the .tif file properly.

My suggestion is to:

1. Just receive the fax as a TIFF file, and see if you can open that up
2. If step 1 is okay, look at tiff2ps and make sure it's converting the TIFF file to postscript properly. Use ghostview or something like that to look at the output .ps file and make sure it opens up nicely 3. If step 2 is okay, look at ps2pdf and make sure it's converting the postscript file properly.

We had some similar issues, ended up removing the tiff2ps and ps2pdf from the processing and emailing the TIFF file directly to the recipient.

Cheers,
Flynn

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to