Failed receive with 1.1.18

Devin Redlich (devin@pctc.com)
Mon, 16 Nov 1998 11:08:40 -0800


Using mgetty-1.1.18 on SCO OpenServer V with a USR Courier:

Supervisor date        07/31/97
DSP date               06/06/97

Supervisor rev         7.2.1
DSP rev                2.2.7

I'm having trouble getting mgetty to receive more than one page of a fax
from my fax machine.  I know my fax machine *can* send mutiple page faxes
successully, as I've done it many times.

I've tried compiling mgetty with #define FAX_USRobotics defined.  I've also
tried adding modem-quirks 0x20 to mgetty.config.  Still, no muliple pages.
One page works fine, and sending multiple pages (with sendfax) works fine.
Below is a log starting from the end of the data:

11/16 10:51:07 y1A  fax_get_page_data: receiving
/var/spool/fax/incoming/ff650740c1A-_-6042055191_.01...
11/16 10:52:06 y1A  fax_get_page_data: page end, bytes received: 71546
11/16 10:52:06 y1A  fax_wait_for(OK)
11/16 10:52:06 y1A    got:[0d][0a]+FPS:1,2204,0,0,0[0d]
11/16 10:52:06 y1A   fax_wait_for: string '+FPS:1,2204,0,0,0'
11/16 10:52:06 y1A  page status: +FPS:1,2204,0,0,0
11/16 10:52:06 y1A   8708 lines received, 0 lines bad, 0 bytes lost
11/16 10:52:06 y1A    got:[0a][0d][0a]+FET:0[0d]
11/16 10:52:11 y1A   fax_wait_for: string '+FET:0'
11/16 10:52:11 y1A    got:[0a][0d][0a]OK[0d]
11/16 10:52:11 y1A   fax_wait_for: string 'OK'** found **
11/16 10:52:11 y1A  fax_send: 'AT+FDR'
11/16 10:52:11 y1A  fax_wait_for(CONNECT)
11/16 10:52:11 y1A    got:[0a]AT+FDR[0d]
11/16 10:52:11 y1A   fax_wait_for: string 'AT+FDR'
11/16 10:52:11 y1A    got:[0d][0a]+FHS:02[0d]
11/16 10:52:38 y1A   fax_wait_for: string '+FHS:02'
11/16 10:52:38 y1A  connection hangup: '+FHS:02'
11/16 10:52:38 y1A   (Call aborted, from +FK or AN)** found **
11/16 10:52:38 y1A   fax receiver: hangup & end
11/16 10:52:38 y1A   fax_notify_mail: sending mail to: faxadmin
11/16 10:52:38 y1A   notify: '/usr/local/etc/mgetty+sendfax/new_fax/new_fax
2 '_          6042055191_' 1
/var/spool/fax/incoming/ff650740c1A-_-6042055191_.01 >/dev/console 2>&1
</dev/null'
11/16 10:52:38 ##### fax dev=tty1A, pid=27130, caller='none', name='',
id='_          6042055191_', +FHNG=002, pages=1, time=00:01:46


11/16 10:52:40 y1A  mdm_send: 'ATH0'
11/16 10:52:40 y1A    got:[0a][0d][0a]OK[0d]
11/16 10:52:40 y1A   mdm_command: string 'OK' -> OK
11/16 10:52:40 y1A   removing lock file

I'm sure this modem works with mgetty, as I had it working in a previous
life with a linux+mgetty setup.  Any suggestions appreciated. Thx.

__
Devin Redlich
devin@pctc.com