mgetty receive fax problems

Gert Doering (gert@greenie.muc.de)
Sun, 7 Dec 1997 17:56:59 +0100


Hi,

Philip Rohkohl Jr. wrote:
> I am trying to use mgetty to receive faxes and answer data calls. It is
> working fine for answering the calls and it tries to receive faxes. The
> faxes that are received however, are often distorted and incomplete. After
> each fax is received, there is an entry in the log file stating system()
> failed: Unknown error. An excerpt from the log file follows. Can anyone
> tell me what I'm doing wrong? Thanks.

*From looking at the log file, it looks quit good (except for the [FF]
nonsense, but that's typical for many modem implementations).

> 12/02 12:51:57 yS0 got:[0d][0a]USRobotics Courier V.Everything[0d]
> 12/02 12:51:57 yS0 mdm_gis: string 1: 'USRobotics Courier V.Everything'

The Courier with X.2 firmware has a fine firmware for sending and
receiving faxes, so that should not be the cause for the problems.

What's on the sending side? Maybe the problem is there.

> 12/02 13:00:06 yS0 fax_wait_for: string '+FTI:"  916 324 1387"'
> 12/02 13:00:06 yS0 fax_id: '+FTI:"  916 324 1387"'
> 12/02 13:00:06 yS0 got:[0a][0d][0a]+FCS:0,3,0,2,0,0,0,0[0d]
> 12/02 13:00:07 yS0 fax_wait_for: string '+FCS:0,3,0,2,0,0,0,0'
> 12/02 13:00:07 yS0 transmission par.: '+FCS:0,3,0,2,0,0,0,0'

Normal resolution, 9600 bps. 

> 12/02 13:00:09 yS0 got:[0a][0d][0a]CONNECT[0d]
> 12/02 13:00:11 yS0 fax_wait_for: string 'CONNECT'** found **
> 12/02 13:00:11 yS0 sending DC2
> 12/02 13:00:11 yS0 fax_get_page_data: wait for EOL, got:

So far, everything is fine.

> [0a]p[c7][86][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff
> ][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff
> ][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff
> ][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff][ff

Junk (start-of-page sync preamble, actually).

> 12/02 13:00:11 yS0 fax_get_page_data: receiving
> /var/spool/fax/incoming/fn48468bdS0-_-916-324-1387_.01...
> 12/02 13:00:38 yS0 fax_get_page_data: page end, bytes received: 32372
> 12/02 13:00:38 yS0 fax_wait_for(OK)
> 12/02 13:00:38 yS0 got:[0d][0a]+FPS:1,1089,0,0,0[0d]
> 12/02 13:00:38 yS0 fax_wait_for: string '+FPS:1,1089,0,0,0'
> 12/02 13:00:38 yS0 page status: +FPS:1,1089,0,0,0
> 12/02 13:00:38 yS0 4233 lines received, 0 lines bad, 0 bytes lost

The number (4233) is too high, a normal-resolution fax should not have
more than about 1200 lines.

> 12/02 13:00:38 yS0 got:[0a][0d][0a]+FET:0[0d]
> 12/02 13:00:42 yS0 fax_wait_for: string '+FET:0'
> 12/02 13:00:42 yS0 got:[0a][0d][0a]OK[0d]
> 12/02 13:00:42 yS0 fax_wait_for: string 'OK'** found **
[..]
> 12/02 13:01:05 yS0 got:[0d][0a]+FHS:00[0d]
> 12/02 13:01:08 yS0 fax_wait_for: string '+FHS:00'
> 12/02 13:01:08 yS0 connection hangup: '+FHS:00'
> 12/02 13:01:08 yS0 (Normal and proper end of connection)** found **

But besides this, it looks ok.


I would try the following:

- try to get a newer firmware from USR (dunno whether the german X.2
 firmware is the same as the US X.2 firmware -- the German X.2 firmware
 has a lot of fax fixes, but came out long after the US version!)

- try with different fax senders, and see whether that changes anything.

gert

-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-35655025    gert.doering@physik.tu-muenchen.de
.