Problem sending >= 2 pages fax

"Maciej 'Tycoon' Majchrowski" (tycoon@t19.ml.org)
Wed, 24 Jun 1998 10:29:16 +0200



I've got a problem while sending 2 or more pages faxes.
When the fax has only one page, everything goes ok.

I've benn using 2 the same modems as a sender and receiver:
	"USRobotics Sportster Voice 33600 Fax Rev. 2.0"
at local phone network.

Version I've been using is mgetty-1.1.14 from Debian 2.0 distribution.
When I've compiled it the effect has been the same :-(

Here are some logs.
I don't know why the problem occurs, but the modems are good.

Thnx for Your answer :-)

----------- sendfax - console log ----------------------------------------
Trying fax device '/dev/ttyS3'... OK.
Dialing 18... OK.       (18 - receiver phone number in local phone network)
sending 'f1.g3'...

sendfax: FAILED to transmit 'f1.g3'.
Transmission error: +FHNG:-5 (Unexpected hangup / read() error / write()
error (int.))

----------- sendfax.log (after failly sended 2 pages fax) ---------------
06/24 09:49:27 yS3  transmission par.: '+FCS:1,5,0,2,0,0,0,0'
06/24 09:49:33 yS3   fax_wait_for: string 'CONNECT'** found **
06/24 09:49:33 yS3   tio_set_flow_control( HARD XON_OUT )
06/24 09:49:33 yS3  sending f1.g3...
06/24 09:50:27 yS3  page complete, 102536 bytes sent
06/24 09:50:27 yS3  sending DLE ','
06/24 09:50:33 yS3  mdm_read_byte: read returned 0: Success
06/24 09:50:33 yS3  mdm_get_line: cannot read byte, return: Protocol wrong
type for socket
06/24 09:50:33 ##### failed transmitting f1.g3: phone="18", +FHS:-5,
dev=ttyS3, time=79s, acct=""
06/24 09:50:33 yS3  tio: cannot flush queue: Input/output error
06/24 09:50:33 yS3  fax_send: 'AT+FCLASS=0'
06/24 09:50:33 yS3  fax_send: cannot write: Input/output error
06/24 09:50:34 yS3  tio: cannot flush queue: Input/output error
06/24 09:50:34 yS3   removing lock file

----------- sendfax.log (after sucesfully sending 1 page fax) -----------
06/23 15:40:49 yS3  sending f1.g3...
06/23 15:41:11 yS3  page complete, 102536 bytes sent
06/23 15:41:11 yS3  sending DLE '.'
06/23 15:41:18 yS3  connection hangup: '+FHS:00'
06/23 15:41:18 yS3   (Normal and proper end of connection)
06/23 15:41:18 yS3  got response: 'OK'
06/23 15:41:18 yS3  fax_send: 'AT+FCLASS=0'
06/23 15:41:19 yS3   removing lock file
06/23 15:41:19 ##### success, phone="18", dev=ttyS3, time=55s, pages=1(+0),
bytes=45022, acct=""

--
     Maciej 'Tycoon' Majchrowski      ___    Student of Computer Science     
    mailto: tycoon@t19.ml.org        '/_+     Tech. Univ. Wroclaw, Poland    
   http://www.t19.ml.org/~tycoon/    (o o)     Net Admin at Student Hostel   
--[ ICQ:1323019 ]----------------ooO--(_)--Ooo--[ What WAS your UserName? ]--