Only the top 5 cm of a fax is received.
Niels Basjes (Dont@mail.me.nl)
Tue, 01 Feb 2000 00:10:35 +0100
The life form known as gert@greenie.muc.de (Gert Doering) wrote:
>On Sun, Jan 30, 2000 at 05:12:00PM +0100, Niels Basjes wrote:
>> ... Only the top 3-5 cm of each page of the fax is received.
>From the log, everything is just perfect. No errors, no strangeness,
>nothing.
That's why I've been unable to figure out what the problem was.
>> 01/30 13:26:36 tio_set_flow_control( HARD )
>
>You *might* want to try software flow control (sendfax.config ->
>fax-send-flow xon), as this smells of a flow control problem.
I did that and I still get only the top few cm.
The log is appended below (at the bottom).
>Or it might just be a "USR modems just can't do it" problem.
I wouldn't like that :-(
I've been looking at the config files and policy.h more closely and I'm
wondering: Would compiling in the FAX_USRobotics help ??
>Does it work if you send the pages to a different receiver?
I tried sending to different fax device (a relatively old machine) and I
got this:
01/31 23:51:44 dem sendfax: IGNORE DCD (carrier) status
01/31 23:51:44 dem fax_send_page("f1.g3") started...
01/31 23:51:44 dem tio_set_flow_control( HARD )
01/31 23:51:44 dem fax_send: 'AT+FDT'
01/31 23:51:44 dem fax_wait_for(CONNECT)
01/31 23:51:44 dem fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
01/31 23:51:44 dem transmission par.: '+FCS:1,3,0,2,0,0,0,0'
01/31 23:51:49 dem fax_wait_for: string '+FHS:24'
01/31 23:51:49 dem connection hangup: '+FHS:24'
01/31 23:51:49 dem (RSPEC error)** found **
01/31 23:51:49 dem AT+FDT -> some error (24), abort fax send!
01/31 23:51:49 ##### failed transmitting f1.g3: phone="01044xxxxx",
+FHS:24, dev=modem, time=30s, acct=""
What does "RSPEC error" mean ??
======
01/31 23:53:06 sendfax: experimental test release 1.1.21-Jul24
01/31 23:53:06 sendfax.c compiled at Sep 4 1999, 10:14:16
01/31 23:53:06 sending fax to 870xxxx
01/31 23:53:06 checking f1.g3
01/31 23:53:06 makelock(modem) called
01/31 23:53:06 do_makelock: lock='/var/lock/LCK..modem'
01/31 23:53:06 lock made
01/31 23:53:06 tss: set speed to 38400 (017)
01/31 23:53:06 tio_set_flow_control( HARD )
01/31 23:53:06 dem fax_open_device succeeded, modem -> 4
01/31 23:53:06 dem reading specific data for port 'modem'
01/31 23:53:06 dem reading
/usr/local/etc/mgetty+sendfax/sendfax.config...
01/31 23:53:06 dem conf lib: read: 'verbose y'
01/31 23:53:06 dem conf lib: read: 'debug 5'
01/31 23:53:06 dem conf lib: read: 'fax-devices modem'
01/31 23:53:06 dem conf lib: read: 'fax-id 3120611xxxx'
01/31 23:53:06 dem conf lib: read: 'fax-send-flow xon'
01/31 23:53:06 dem conf lib: read: 'max-tries 3'
01/31 23:53:06 dem conf lib: read: 'max-tries-continue y'
01/31 23:53:06 dem key: 'fax-devices', type=1, flags=4, data=(ignored)
01/31 23:53:06 dem key: 'modem-init', type=1, flags=0, data=(empty)
01/31 23:53:06 dem key: 'modem-handshake', type=1, flags=0, data=(empty)
01/31 23:53:06 dem key: 'modem-type', type=1, flags=1, data=auto
01/31 23:53:06 dem key: 'modem-quirks', type=0, flags=0, data=(empty)
01/31 23:53:06 dem key: 'fax-send-flow', type=4, flags=3, data=6
01/31 23:53:06 dem key: 'fax-rec-flow', type=4, flags=1, data=7
01/31 23:53:06 dem key: 'max-tries', type=0, flags=3, data=3
01/31 23:53:06 dem key: 'max-tries-continue', type=3, flags=3, data=TRUE
01/31 23:53:06 dem key: 'speed', type=0, flags=1, data=38400
01/31 23:53:06 dem key: 'switchbd', type=0, flags=1, data=0
01/31 23:53:06 dem key: 'open-delay', type=0, flags=0, data=(empty)
01/31 23:53:06 dem key: 'ignore-carrier', type=3, flags=1, data=TRUE
01/31 23:53:06 dem key: 'dial-prefix', type=1, flags=1, data=ATD
01/31 23:53:06 dem key: 'fax-id', type=1, flags=3, data=3120611xxxx
01/31 23:53:06 dem key: 'poll-dir', type=1, flags=1, data=.
01/31 23:53:06 dem key: 'normal-res', type=3, flags=1, data=FALSE
01/31 23:53:06 dem key: 'fax-min-speed', type=0, flags=1, data=0
01/31 23:53:06 dem key: 'fax-max-speed', type=0, flags=1, data=14400
01/31 23:53:06 dem key: 'debug', type=0, flags=3, data=5
01/31 23:53:06 dem key: 'verbose', type=3, flags=2, data=TRUE
01/31 23:53:06 dem key: '', type=3, flags=1, data=FALSE
01/31 23:53:06 dem key: 'page-header', type=1, flags=0, data=(empty)
01/31 23:53:06 dem key: '', type=3, flags=1, data=FALSE
01/31 23:53:06 dem key: '', type=3, flags=1, data=FALSE
01/31 23:53:06 dem key: '', type=1, flags=1, data=
01/31 23:53:06 dem tss: set speed to 38400 (017)
01/31 23:53:06 dem mdm_send: 'ATV1Q0'
01/31 23:53:06 dem mdm_command: string 'OK' -> OK
01/31 23:53:06 dem mdm_send: 'ATI'
01/31 23:53:06 dem mdm_gis: string 1: '5601'
01/31 23:53:06 dem mdm_identify: string '5601'
01/31 23:53:06 dem USR Courier/Sportster 56k detected
01/31 23:53:07 dem mdm_send: 'ATI3'
01/31 23:53:07 dem mdm_gis: string 1: 'U.S. Robotics 56K Voice EXT Rev.
12.1.0'
01/31 23:53:07 dem additional info: 'U.S. Robotics 56K Voice EXT Rev.
12.1.0'
01/31 23:53:07 dem mdm_send: 'AT+FCLASS=2.0'
01/31 23:53:07 dem mdm_command: string 'OK' -> OK
01/31 23:53:07 dem mdm_send: 'AT+FLI="3120611xxxx"'
01/31 23:53:07 dem mdm_command: string 'OK' -> OK
01/31 23:53:07 dem mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
01/31 23:53:07 dem mdm_command: string 'OK' -> OK
01/31 23:53:07 dem mdm_send: 'AT+FBO=0'
01/31 23:53:07 dem mdm_command: string 'OK' -> OK
01/31 23:53:08 dem mdm_send: 'AT+FNR=1,1,1,0'
01/31 23:53:08 dem mdm_command: string 'OK' -> OK
01/31 23:53:08 dem mdm_send: 'AT+FLO=2'
01/31 23:53:08 dem mdm_command: string 'OK' -> OK
01/31 23:53:08 dem fax_send: 'ATD870xxxx'
01/31 23:53:08 dem fax_wait_for(OK)
01/31 23:53:20 dem fax_wait_for: string '+FCO'
01/31 23:53:21 dem fax_wait_for: string '+FCI:" "'
01/31 23:53:21 dem fax_id: '+FCI:" "'
01/31 23:53:21 dem fax_wait_for: string '+FIS:1,5,0,2,1,0,0,0'
01/31 23:53:21 dem fax_wait_for: string 'OK'** found **
01/31 23:53:21 dem sendfax: IGNORE DCD (carrier) status
01/31 23:53:21 dem fax_send_page("f1.g3") started...
01/31 23:53:21 dem tio_set_flow_control( HARD )
01/31 23:53:22 dem fax_send: 'AT+FDT'
01/31 23:53:22 dem fax_wait_for(CONNECT)
01/31 23:53:22 dem fax_wait_for: string '+FCS:1,5,0,2,0,0,0,0'
01/31 23:53:22 dem transmission par.: '+FCS:1,5,0,2,0,0,0,0'
01/31 23:53:29 dem fax_wait_for: string '+FCI:" "'
01/31 23:53:29 dem fax_id: '+FCI:" "'
01/31 23:53:29 dem fax_wait_for: string '+FIS:1,3,0,2,1,0,0,0'
01/31 23:53:29 dem fax_wait_for: string '+FCS:1,3,0,2,0,0,0,0'
01/31 23:53:29 dem transmission par.: '+FCS:1,3,0,2,0,0,0,0'
01/31 23:53:34 dem fax_wait_for: string 'CONNECT'** found **
01/31 23:53:34 dem tio_set_flow_control( HARD XON_OUT )
01/31 23:53:34 dem sending f1.g3...
01/31 23:53:34 dem input: got [0a]
01/31 23:53:48 dem page complete, 23122 bytes sent
01/31 23:53:48 dem sending DLE '.'
01/31 23:53:57 dem connection hangup: '+FHS:00'
01/31 23:53:57 dem (Normal and proper end of connection)
01/31 23:53:58 dem got response: 'OK'
01/31 23:53:58 dem fax_send: 'AT+FCLASS=0'
01/31 23:53:58 dem removing lock file
01/31 23:53:58 ##### success, phone="870xxxx", dev=modem, time=50s,
pages=1(+0), bytes=23122, acct=""
Niels.
--
ir. Niels Basjes -- ICQ# 9012768 -- PGP Key ID=0xE7BBF6B9
mailto:`echo 'Niels Basjes'|awk '{print$1"@"$2".nl"}'`
http://www.wirehub.nl/~basjesn
"If Microsoft-Windows is the solution; can we please have the problem back ?"