[Asterisk-Users] Fax and spandsp
Julian J. M.
julianjm at gmail.com
Tue Apr 19 13:23:47 MST 2005
Hello,
I've read every message on this list regarding faxing and
spandsp/rxfax, so this is a desperate email seeking for help... maybe
someone can tell me what's going wrong.
I have a working TDM400 with 1FXO and 1FXS port, 1 fax machine
connected to the FXS port. I can send and receive faxes without
problems, using asterisk as a bridge between the fax machine and the
PSTN. No frame slips nor lost interrupts I guess.
I want asterisk to receive incoming faxes (via rxfax application) and
send them by mail. The problem is that, although the fax machine and
the asterisk log report a succesful transfer, the tiff file is just
5-8kb.
I've tried several libtiff packages, always recompiling spandsp and
asterisk after installing, but always the same problem.
My system:
Athlon 700Mhz, VIA chipset. USB/Sound/2nd IDE/parport disabled,
just the basics.
Fedora Core 3:
libtiff-devel-3.6.1-9.fc3
libtiff-3.6.1-9.fc3
spandsp-devel-0.0.2-1
spandsp-0.0.2-1 (compiled from the 0.0.2pre15 tarball)
Runing in text mode
For testing, I've setup a special extension, which is called by the
fax machine. BTW i've also tried using an external modem with hylafax,
connected to the FXS port and got the same results.
Here in this log, you see the image size, just 287 rows, 37 bad rows,
image size 0 bytes :-? CPU usage didn't go higher than 5%, according
to top.
Apr 19 21:05:14 DEBUG[7768]:
==============================================================================
Apr 19 21:05:14 DEBUG[7768]: Pages transferred: 1
Apr 19 21:05:14 DEBUG[7768]: Image size: 1728 x 287
Apr 19 21:05:14 DEBUG[7768]: Image resolution 7700 x 7700
Apr 19 21:05:14 DEBUG[7768]: Transfer Rate: 9600
Apr 19 21:05:14 DEBUG[7768]: Bad rows 37
Apr 19 21:05:14 DEBUG[7768]: Longest bad row run 21
Apr 19 21:05:14 DEBUG[7768]: Compression type 2
Apr 19 21:05:14 DEBUG[7768]: Image size (bytes) 0
Apr 19 21:05:14 DEBUG[7768]:
==============================================================================
Apr 19 21:05:23 DEBUG[7768]:
==============================================================================
Apr 19 21:05:23 DEBUG[7768]: Fax successfully received.
Apr 19 21:05:23 DEBUG[7768]: Remote station id: TestingId
Apr 19 21:05:23 DEBUG[7768]: Local station id:
Apr 19 21:05:23 DEBUG[7768]: Pages transferred: 1
Apr 19 21:05:23 DEBUG[7768]: Image resolution: 7700 x 7700
Apr 19 21:05:23 DEBUG[7768]: Transfer Rate: 9600
Apr 19 21:05:23 DEBUG[7768]:
==============================================================================
Am I doing something wrong? Is my system doomed? ;)
Julian J. M.
More information about the asterisk-users
mailing list