Problem while trying fax-poling

Ronny Spiegel (rspiegel@cray.in-chemnitz.de)
Thu, 30 Apr 1998 15:35:48 +0200


Hi there,

I use the mgetty+sendfax 1.0.0 distribution and I have a little problem
while requesting a fax-poll. My modem is a CREATIX SG2834. I never had
problems with it while sending or receiving a fax but yesterday I tried
to request one and nothing went on... (Later I tried it under Windoze 95 
and it worked...;-( )
I started the request as follow:
  /usr/local/sbin/sendfax -p 069.....
  as user root... but the same problems occured while trying it with
  faxspoll but thats depends on the problems with sendfax... ;-(

sendfax began to call the remote fax and got a connect ...

cray:/root # /usr/local/sbin/sendfax -p 06966983832
Trying fax device '/dev/ttyS1'... OK.
Dialing 06966983832... OK.
starting fax poll
cray:/root #

but after starting fax poll it hangs (log-file follows...)

04/30 15:30:54   reading default configuration
04/30 15:30:54   conf lib: read: 'verbose y'
04/30 15:30:54   conf lib: read: 'debug 5'
04/30 15:30:54   conf lib: read: 'fax-devices ttyS1'
04/30 15:30:54   conf lib: read: 'fax-id 49 3722 502145'
04/30 15:30:54   conf lib: read: 'dial-prefix AT%TCBDT'
04/30 15:30:54   conf lib: read: 'max-tries 3'
04/30 15:30:54   conf lib: read: 'max-tries-continue y'
04/30 15:30:54   key: 'fax-devices', type=1, flags=3, data=ttyS1
04/30 15:30:54   key: 'fax-devices', type=1, flags=4, data=(ignored)
04/30 15:30:54   key: 'modem-init', type=1, flags=0, data=(empty)
04/30 15:30:54   key: 'modem-handshake', type=1, flags=0, data=(empty)
04/30 15:30:54   key: 'modem-type', type=1, flags=1, data=auto
04/30 15:30:54   key: 'max-tries', type=0, flags=3, data=3
04/30 15:30:54   key: 'max-tries-continue', type=3, flags=3, data=TRUE
04/30 15:30:54   key: 'speed', type=0, flags=1, data=38400
04/30 15:30:54   key: 'switchbd', type=0, flags=1, data=0
04/30 15:30:54   key: 'ignore-carrier', type=3, flags=1, data=FALSE
04/30 15:30:54   key: 'dial-prefix', type=1, flags=3, data=AT%TCBDT
04/30 15:30:54   key: 'fax-id', type=1, flags=3, data=49 3722 502145
04/30 15:30:54   key: 'poll-dir', type=1, flags=1, data=.
04/30 15:30:54   key: 'normal-res', type=3, flags=1, data=FALSE
04/30 15:30:54   key: 'debug', type=0, flags=3, data=5
04/30 15:30:54   key: 'verbose', type=3, flags=3, data=TRUE
04/30 15:30:54   key: '', type=3, flags=2, data=TRUE
04/30 15:30:54   key: 'page-header', type=1, flags=0, data=(empty)
04/30 15:30:54   key: '', type=3, flags=1, data=FALSE
04/30 15:30:54   key: '', type=3, flags=1, data=FALSE
04/30 15:30:54   key: '', type=1, flags=1, data=
04/30 15:30:54  sendfax: official release 1.0.0
04/30 15:30:54   sendfax.c compiled at Apr 30 1998, 15:05:05
04/30 15:30:54  sending fax to 06966983832
04/30 15:30:54   makelock(ttyS1) called
04/30 15:30:54   do_makelock: lock='/var/lock/LCK..ttyS1'
04/30 15:30:54   lock made
04/30 15:30:54   tss: set speed to 38400 (017)
04/30 15:30:54   tio_set_flow_control( HARD )
04/30 15:30:54 yS1   fax_open_device succeeded, ttyS1 -> 4
04/30 15:30:54 yS1   reading specific data for port 'ttyS1'
04/30 15:30:54 yS1   conf lib: read: 'verbose y'
04/30 15:30:54 yS1   conf lib: read: 'debug 5'
04/30 15:30:54 yS1   conf lib: read: 'fax-devices ttyS1'
04/30 15:30:54 yS1   conf lib: read: 'fax-id 49 3722 502145'
04/30 15:30:54 yS1   conf lib: read: 'dial-prefix AT%TCBDT'
04/30 15:30:54 yS1   conf lib: read: 'max-tries 3'
04/30 15:30:54 yS1   conf lib: read: 'max-tries-continue y'
04/30 15:30:54 yS1   key: 'fax-devices', type=1, flags=4, data=(ignored)
04/30 15:30:54 yS1   key: 'modem-init', type=1, flags=0, data=(empty)
04/30 15:30:54 yS1   key: 'modem-handshake', type=1, flags=0, data=(empty)
04/30 15:30:54 yS1   key: 'modem-type', type=1, flags=1, data=auto
04/30 15:30:54 yS1   key: 'max-tries', type=0, flags=3, data=3
04/30 15:30:54 yS1   key: 'max-tries-continue', type=3, flags=3, data=TRUE
04/30 15:30:54 yS1   key: 'speed', type=0, flags=1, data=38400
04/30 15:30:54 yS1   key: 'switchbd', type=0, flags=1, data=0
04/30 15:30:54 yS1   key: 'ignore-carrier', type=3, flags=1, data=FALSE
04/30 15:30:54 yS1   key: 'dial-prefix', type=1, flags=3, data=AT%TCBDT
04/30 15:30:54 yS1   key: 'fax-id', type=1, flags=3, data=49 3722 502145
04/30 15:30:54 yS1   key: 'poll-dir', type=1, flags=1, data=.
04/30 15:30:54 yS1   key: 'normal-res', type=3, flags=1, data=FALSE
04/30 15:30:54 yS1   key: 'debug', type=0, flags=3, data=5
04/30 15:30:54 yS1   key: 'verbose', type=3, flags=3, data=TRUE
04/30 15:30:54 yS1   key: '', type=3, flags=2, data=TRUE
04/30 15:30:54 yS1   key: 'page-header', type=1, flags=0, data=(empty)
04/30 15:30:54 yS1   key: '', type=3, flags=1, data=FALSE
04/30 15:30:54 yS1   key: '', type=3, flags=1, data=FALSE
04/30 15:30:54 yS1   key: '', type=1, flags=1, data=
04/30 15:30:54 yS1   tss: set speed to 38400 (017)
04/30 15:30:54 yS1  fax_send: 'ATV1Q0'
04/30 15:30:54 yS1  fax_wait_for(OK)
04/30 15:30:54 yS1   fax_wait_for: string 'ATV1Q0'
04/30 15:30:55 yS1   fax_wait_for: string 'OK'** found **
04/30 15:30:55 yS1  mdm_send: 'AT+FCLASS=2.0'
04/30 15:30:55 yS1   mdm_command: string 'AT+FCLASS=2.0'
04/30 15:30:55 yS1   mdm_command: string 'ERROR' -> ERROR
04/30 15:30:55 yS1  mdm_send: 'AT+FCLASS=2'
04/30 15:30:55 yS1   mdm_command: string 'AT+FCLASS=2'
04/30 15:30:55 yS1   mdm_command: string 'OK' -> OK
04/30 15:30:55 yS1  mdm_send: 'AT+FLID="49 3722 502145"'
04/30 15:30:55 yS1   mdm_command: string 'AT+FLID="49 3722 502145"'
04/30 15:30:55 yS1   mdm_command: string 'OK' -> OK
04/30 15:30:55 yS1  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
04/30 15:30:55 yS1   mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
04/30 15:30:55 yS1   mdm_command: string 'OK' -> OK
04/30 15:30:55 yS1  mdm_send: 'AT+FBOR=0'
04/30 15:30:55 yS1   mdm_command: string 'AT+FBOR=0'
04/30 15:30:56 yS1   mdm_command: string 'OK' -> OK
04/30 15:30:56 yS1  mdm_send: 'AT+FCIG="49 3722 502145"'
04/30 15:30:56 yS1   mdm_command: string 'AT+FCIG="49 3722 502145"'
04/30 15:30:56 yS1   mdm_command: string 'OK' -> OK
04/30 15:30:56 yS1  mdm_send: 'AT+FSPL=1'
04/30 15:30:56 yS1   mdm_command: string 'AT+FSPL=1'
04/30 15:30:56 yS1   mdm_command: string 'OK' -> OK
04/30 15:30:56 yS1  mdm_send: 'AT+FCR=1'
04/30 15:30:56 yS1   mdm_command: string 'AT+FCR=1'
04/30 15:30:56 yS1   mdm_command: string 'OK' -> OK
04/30 15:30:56 yS1  fax_send: 'AT%TCBDT06966983832'
04/30 15:30:56 yS1  fax_wait_for(OK)
04/30 15:30:56 yS1   fax_wait_for: string 'AT%TCBDT06966983832'
04/30 15:31:09 yS1   fax_wait_for: string '+FCON'
04/30 15:31:12 yS1   fax_wait_for: string '+FCSI: "     +49 69 66983838"'
04/30 15:31:12 yS1  fax_id: '+FCSI: "     +49 69 66983838"'
04/30 15:31:12 yS1   fax_wait_for: string '+FDIS: 1,5,0,2,1,0,0,1'
04/30 15:31:12 yS1   fax_wait_for: string '+FPOLL'
04/30 15:31:12 yS1  got +FPO -> will do polling
04/30 15:31:12 yS1   fax_wait_for: string 'OK'** found **
04/30 15:31:12 yS1   sendfax: honouring DCD (carrier) drops now
04/30 15:31:12 yS1   tio_set_flow_control( HARD XON_IN )
04/30 15:31:12 yS1  fax_send: 'AT+FDR'
04/30 15:31:12 yS1  fax_wait_for(CONNECT)
04/30 15:31:12 yS1   fax_wait_for: string 'AT+FDR'
04/30 15:33:12 yS1  Warning: got alarm signal!
04/30 15:33:12 yS1  mdm_read_byte: read returned -1: Interrupted system call
04/30 15:33:12 yS1  mdm_get_line: cannot read byte, return: Interrupted system call
04/30 15:33:12 yS1  fax_get_pages: cannot start page receive
04/30 15:33:12 ##### failed: polling failed, phone="06966983832", +FHS:-6, dev=ttyS1, time=136s, acct=""

04/30 15:33:12 yS1  fax_send: 'AT+FCLASS=0'
04/30 15:33:13 yS1   removing lock file

the log looks like this and I have no idea where the problem is...

Hope yout can help me...

Tia, Ronny