I have spandsp installed and working, but when it emails using Scotts mailfax, the attachment is a dat file. I tried to rename the file to .tiff or .pdf, but it will not open. In the /var/spool/asterisk/fax folder, that faxes are there as tiffs, and I can open those without any trouble. The problem is in the conversion from tiff to pdf. Is there another package that needs to be installed for the conversion to work?
On Tue, 2004-11-30 at 08:44 -0600, Eric Rees wrote:> I have spandsp installed and working, but when it emails using Scotts > mailfax, the attachment is a dat file. I tried to rename the file to > .tiff or .pdf, but it will not open. In the /var/spool/asterisk/fax > folder, that faxes are there as tiffs, and I can open those without any > trouble. The problem is in the conversion from tiff to pdf. Is there > another package that needs to be installed for the conversion to work?It looks like libtiff on certain distributions, certainly Mandrake Cooker, is broken. I went through a lot of testing with Steve to get faxes received properly and found that Mandrake had not applied a patch highlighted on the Hylafax page. I am also having problems with mailfax but is coming from libtiff or it's tools. If you look at the dat file it's probable the error report about tile size. -- Dave Cotton <dcotton@linuxautrement.com>
I had exactly this problem when I did it. It would seem that either of the perlscript that constructs the mime attachment or Outlook (Express or XP) is not RFC compliant. I found the mime headers had to be modified for it to work, Outlook wasn't reading, or was ignoring the filename part of the header. In my case I patched (bodged) the mime-construct perlscript and everything is good. I can't remember exactly what was changed but it was really minor, send yourself an email containing a mime attachment from a hotmail account or something and then compare the mime-header with the one that the mime-construct perlscript sends you and you'll see whats needs changing. Craig ----- Original Message ----- From: "Eric Rees" <EricR@rocketgaming.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Tuesday, November 30, 2004 10:44 PM Subject: [Asterisk-Users] Spandsp kind of working I have spandsp installed and working, but when it emails using Scotts mailfax, the attachment is a dat file. I tried to rename the file to .tiff or .pdf, but it will not open. In the /var/spool/asterisk/fax folder, that faxes are there as tiffs, and I can open those without any trouble. The problem is in the conversion from tiff to pdf. Is there another package that needs to be installed for the conversion to work? _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: lists.digium.com/mailman/listinfo/asterisk-users