Premature Termination

Gert Doering (gert@greenie.muc.de)
Sat, 24 May 1997 12:03:49 +0200


Hi,

Jim Mashore wrote:
> Tried that...gives the following error
> 
> Transmission error: +FHNG:25 (DCS sent three times without response)
> command exited with status 12

Hmmm, not very surprising. Problem with the USR modems is: if something
fails, they lower DCD (carrier detect), and *then* send the error message.
Unless you are "ignore-carrier"'ing this, you won't see the message, and
just get a "mysterious failure".

Now, +FHNG:25 means "I can't talk to the other end, it doesn't understand
me". I've seen this occasionally when faxing from the USR Courier to an
Elsa Rockwell-based modem, but rarely otherwise.

Please try with different receiving machines, and see whether that will
improve things.

gert

> 
> jtm
> 
> > Hi,
> > 
> > set "ignore-carrier yes" in sendfax.config.
> > 
> > gert
> > 
> > Jim Mashore wrote:
> > > I'm trying very hard to get all the info you normally ask 
> > > for here..so don't flame me if I forgot something ..K ?..<G>
> > > 
> > > Running Solaris X86 2.5.1 on a Intel based machine
> > > Using standard Serial Port, no digiboard etc..
> > > 
> > > Anyrate...I'm spooling mail to sendfax using the faxmail script 
> > > supplied with the mgetty_sendfax package. Using a USR Courier V.34 
> > > Fax with V.32bis calling a standard class 2 fax. It connects ok..then 
> > > pauses...then falls off...any thoughts here ?
> > > 
> > > tia
> > > jtm
> > > 
> > > Log is as follows :
> > > 
> > > --
> > > --
> > > 05/21 18:01:20 sendfax: experimental test release 1.1.2-Feb20
> > > 05/21 18:01:20 sendfax.c compiled at Mar 1 1997, 08:31:52
> > > 05/21 18:01:20 sending fax to 8100300
> > > 05/21 18:01:20 checking f1.g3
> > > 05/21 18:01:20 makelock(term/b) called
> > > 05/21 18:01:20 get_lock_name(term/b) called
> > > 05/21 18:01:20 -> ttyname /dev/term/b
> > > 05/21 18:01:20 lock file: /var/spool/locks/LK.102.106.001
> > > 05/21 18:01:20 do_makelock: lock='/var/spool/locks/LK.102.106.001'
> > > 05/21 18:01:20 lock not made: lock file exists (pid=6109)
> > > 05/21 18:01:25 makelock(term/b) called
> > > 05/21 18:01:25 get_lock_name(term/b) called
> > > 05/21 18:01:25 -> ttyname /dev/term/b
> > > 05/21 18:01:25 lock file: /var/spool/locks/LK.102.106.001
> > > 05/21 18:01:25 do_makelock: lock='/var/spool/locks/LK.102.106.001'
> > > 05/21 18:01:25 lock made
> > > 05/21 18:01:25 tss: set speed to 38400 (017)
> > > 05/21 18:01:25 tio_set_flow_control( )
> > > 05/21 18:01:25 m/b fax_open_device succeeded, term/b -> 4
> > > 05/21 18:01:25 m/b reading specific data for port 'term/b'
> > > 05/21 18:01:25 m/b reading /usr/local/etc/mgetty+sendfax/sendfax.config...
> > > 05/21 18:01:25 m/b conf lib: read: 'verbose y'
> > > 05/21 18:01:25 m/b conf lib: read: 'debug 5'
> > > 05/21 18:01:25 m/b conf lib: read: 'fax-devices term/b'
> > > 05/21 18:01:25 m/b conf lib: read: 'fax-id 1-405-752-7490'
> > > 05/21 18:01:25 m/b conf lib: read: 'dial-prefix ATDT'
> > > 05/21 18:01:25 m/b conf lib: read: 'max-tries 3'
> > > 05/21 18:01:25 m/b conf lib: read: 'max-tries-continue y'
> > > 05/21 18:01:25 m/b key: 'fax-devices', type=1, flags=4, data=(ignored)
> > > 05/21 18:01:25 m/b key: 'modem-init', type=1, flags=0, data=(empty)
> > > 05/21 18:01:25 m/b key: 'modem-handshake', type=1, flags=0, data=(empty)
> > > 05/21 18:01:25 m/b key: 'modem-type', type=1, flags=1, data=auto
> > > 05/21 18:01:25 m/b key: 'max-tries', type=0, flags=3, data=3
> > > 05/21 18:01:25 m/b key: 'max-tries-continue', type=3, flags=3, data=TRUE
> > > 05/21 18:01:25 m/b key: 'speed', type=0, flags=1, data=38400
> > > 05/21 18:01:25 m/b key: 'switchbd', type=0, flags=1, data=0
> > > 05/21 18:01:25 m/b key: 'ignore-carrier', type=3, flags=1, data=FALSE
> > > 05/21 18:01:25 m/b key: 'dial-prefix', type=1, flags=3, data=ATDT
> > > 05/21 18:01:25 m/b key: 'fax-id', type=1, flags=3, data=1-405-752-7490
> > > 05/21 18:01:25 m/b key: 'poll-dir', type=1, flags=1, data=.
> > > 05/21 18:01:25 m/b key: 'normal-res', type=3, flags=1, data=FALSE
> > > 05/21 18:01:25 m/b key: 'debug', type=0, flags=3, data=5
> > > 05/21 18:01:25 m/b key: 'verbose', type=3, flags=2, data=TRUE
> > > 05/21 18:01:25 m/b key: '', type=3, flags=1, data=FALSE
> > > 05/21 18:01:25 m/b key: 'page-header', type=1, flags=0, data=(empty)
> > > 05/21 18:01:25 m/b key: '', type=3, flags=1, data=FALSE
> > > 05/21 18:01:25 m/b key: '', type=3, flags=1, data=FALSE
> > > 05/21 18:01:25 m/b key: '', type=1, flags=1, data=
> > > 05/21 18:01:25 m/b tss: set speed to 38400 (017)
> > > 05/21 18:01:25 m/b fax_send: 'ATV1Q0'
> > > 05/21 18:01:25 m/b fax_wait_for(OK)
> > > 05/21 18:01:25 m/b fax_wait_for: string 'OK'** found **
> > > 05/21 18:01:25 m/b mdm_send: 'AT+FCLASS=2.0'
> > > 05/21 18:01:25 m/b mdm_command: string 'OK' -> OK
> > > 05/21 18:01:25 m/b mdm_send: 'AT+FLI="1-405-752-7490"'
> > > 05/21 18:01:25 m/b mdm_command: string 'OK' -> OK
> > > 05/21 18:01:25 m/b mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
> > > 05/21 18:01:25 m/b mdm_command: string 'OK' -> OK
> > > 05/21 18:01:25 m/b mdm_send: 'AT+FBO=0'
> > > 05/21 18:01:25 m/b mdm_command: string 'OK' -> OK
> > > 05/21 18:01:25 m/b mdm_send: 'AT+FNR=1,1,1,0'
> > > 05/21 18:01:25 m/b mdm_command: string 'OK' -> OK
> > > 05/21 18:01:26 m/b mdm_send: 'AT+FLO=2'
> > > 05/21 18:01:26 m/b mdm_command: string 'OK' -> OK
> > > 05/21 18:01:26 m/b fax_send: 'ATDT8100300'
> > > 05/21 18:01:26 m/b fax_wait_for(OK)
> > > 05/21 18:01:36 m/b fax_wait_for: string '+FCO'
> > > 05/21 18:01:38 m/b fax_wait_for: string '+FCI:"  4058100300"'
> > > 05/21 18:01:38 m/b fax_id: '+FCI:"  4058100300"'
> > > 05/21 18:01:38 m/b fax_wait_for: string '+FIS:1,3,0,2,0,0,0,3'
> > > 05/21 18:01:38 m/b fax_wait_for: string 'OK'** found **
> > > 05/21 18:01:38 m/b tio_set_flow_control( HARD XON_OUT )
> > > 05/21 18:01:38 m/b sendfax: honouring DCD (carrier) drops now
> > > 05/21 18:01:38 m/b fax_send_page("f1.g3") started...
> > > 05/21 18:01:38 m/b tio_set_flow_control( HARD )
> > > 05/21 18:01:38 m/b fax_send: 'AT+FDT'
> > > 05/21 18:01:38 m/b fax_wait_for(CONNECT)
> > > 05/21 18:01:38 m/b fax_wait_for: string '+FCS:1,3,0,2,0,0,0,3'
> > > 05/21 18:01:38 m/b transmission par.: '+FCS:1,3,0,2,0,0,0,3'
> > > 05/21 18:01:48 m/b mdm_read_byte: read returned 0: Error 0
> > > 05/21 18:01:48 m/b mdm_get_line: cannot read byte, return: Error 0
> > > 05/21 18:01:48 m/b AT+FDT -> some error (-5), abort fax send!
> > > 05/21 18:01:48 ##### failed transmitting f1.g3: phone="8100300", +FHS:-5, dev=term/b, time=22s, acct=""
> > > 
> > > 05/21 18:01:48 m/b fax_send: 'AT+FCLASS=0'
> > > 05/21 18:01:48 m/b fax_send: cannot write: I/O error
> > > 05/21 18:01:49 m/b removing lock file
> > > --
> > > ---------------------------------------------------
> > > James T. Mashore
> > > Phone :1-405-752-1170
> > > 
> > > 
> > 
> > 
> > -- 
> > USENET is *not* the non-clickable part of WWW!
> >          //www.muc.de/~gert/
> > Gert Doering - Munich, Germany      gert@greenie.muc.de
> > fax: +49-89-3545980     gert.doering@physik.tu-muenchen.de
> > 
> 


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