Sendfax not sending

Larry Rivera (larrydog@coqui.net)
Sun, 17 Oct 1999 09:24:42 -0300


Here's the info after running faxrunq
federal2:~# faxrunq
processing F000003/JOB...
/usr/local/sbin/sendfax -v 7901499 f1.g3
Trying fax device '/dev/ttyS2'... OK.
/usr/local/sbin/sendfax: cannot set fax station ID
command exited with status 3

Larry Rivera wrote:

> Hello:
> I'm able to spool faxes, but when faxrunq is run it hangs and posts this
> to /var/spool/fax/Faxlog
> Can anyone decifer this please?
>
> 10/16 14:24:21  sendfax: official release 1.0.0
> 10/16 14:24:21   sendfax.c compiled at Oct 16 1999, 13:51:36
> 10/16 14:24:21  sending fax to 7901499
> 10/16 14:24:21  checking f1.g3
> 10/16 14:24:21   makelock(ttyS2) called
> 10/16 14:24:21   do_makelock: lock='/var/lock/ttyS2/LCK..ttyS2'
> 10/16 14:24:21   lock made
> 10/16 14:24:21   tss: set speed to 38400 (017)
> 10/16 14:24:21   tio_set_flow_control( HARD )
> 10/16 14:24:21 yS2   fax_open_device succeeded, ttyS2 -> 4
> 10/16 14:24:21 yS2   reading specific data for port 'ttyS2'
> 10/16 14:24:21 yS2   conf lib: read: 'verbose y'
> 10/16 14:24:21 yS2   conf lib: read: 'debug 5'
> 10/16 14:24:21 yS2   conf lib: read: 'fax-devices ttyS2'
> 10/16 14:24:21 yS2   conf lib: read: 'fax-id 787 790-0380'
> 10/16 14:24:21 yS2   conf lib: read: 'dial-prefix ATD'
> 10/16 14:24:21 yS2   conf lib: read: 'max-tries 3'
> 10/16 14:24:21 yS2   conf lib: read: 'max-tries-continue y'
> 10/16 14:24:21 yS2   conf lib: read: 'port ttyS2'
> 10/16 14:24:21 yS2   section: port ttyS2, **found**
> 10/16 14:24:21 yS2   conf lib: read: 'modem-type cls2'
> 10/16 14:24:21 yS2   key: 'fax-devices', type=1, flags=4, data=(ignored)
>
> 10/16 14:24:21 yS2   key: 'modem-init', type=1, flags=0, data=(empty)
> 10/16 14:24:21 yS2   key: 'modem-handshake', type=1, flags=0,
> data=(empty)
> 10/16 14:24:21 yS2   key: 'modem-type', type=1, flags=3, data=cls2
> 10/16 14:24:21 yS2   key: 'max-tries', type=0, flags=3, data=3
> 10/16 14:24:21 yS2   key: 'max-tries-continue', type=3, flags=3,
> data=TRUE
> 10/16 14:24:21 yS2   key: 'speed', type=0, flags=1, data=38400
> 10/16 14:24:21 yS2   key: 'switchbd', type=0, flags=1, data=0
> 10/16 14:24:21 yS2   key: 'ignore-carrier', type=3, flags=1, data=FALSE
> 10/16 14:24:21 yS2   key: 'dial-prefix', type=1, flags=3, data=ATD
> 10/16 14:24:21 yS2   key: 'fax-id', type=1, flags=3, data=787 790-0380
> 10/16 14:24:21 yS2   key: 'poll-dir', type=1, flags=1, data=.
> 10/16 14:24:21 yS2   key: 'normal-res', type=3, flags=1, data=FALSE
> 10/16 14:24:21 yS2   key: 'debug', type=0, flags=3, data=5
> 10/16 14:24:21 yS2   key: 'verbose', type=3, flags=2, data=TRUE
> 10/16 14:24:21 yS2   key: '', type=3, flags=1, data=FALSE
> 10/16 14:24:21 yS2   key: 'page-header', type=1, flags=0, data=(empty)
> 10/16 14:24:21 yS2   key: '', type=3, flags=1, data=FALSE
> 10/16 14:24:21 yS2   key: '', type=3, flags=1, data=FALSE
> 10/16 14:24:21 yS2   key: '', type=1, flags=1, data=
> 10/16 14:24:21 yS2   tss: set speed to 38400 (017)
> 10/16 14:24:21 yS2  fax_send: 'ATV1Q0'
> 10/16 14:24:21 yS2  fax_wait_for(OK)
> 10/16 14:24:21 yS2   fax_wait_for: string 'ATV1Q0'
> 10/16 14:24:21 yS2   fax_wait_for: string 'OK'** found **
> 10/16 14:24:21 yS2  mdm_send: 'AT+FCLASS=2'
> 10/16 14:24:21 yS2   mdm_command: string '=2'
> 10/16 14:24:35 yS2   mdm_command: string 'ATV1Q0'
> 10/16 14:24:35 yS2   mdm_command: string 'OK' -> OK
> 10/16 14:24:35 yS2  mdm_send: 'AT+FLID="787 790-0380"'
> 10/16 14:24:45 yS2   mdm_command: string '=2'
> 10/16 14:24:55 yS2  Warning: got alarm signal!
> 10/16 14:24:55 yS2  mdm_read_byte: read returned -1: Interrupted system
> call
> 10/16 14:24:55 yS2  mdm_get_line: cannot read byte, return: Interrupted
> system c
> all -> ERROR
> 10/16 14:24:55 yS2  cannot set local fax id. Huh?
> 10/16 14:24:55 yS2  cannot set fax station ID: Interrupted system call
> 10/16 14:24:55 yS2  fax_send: 'AT+FCLASS=0'
> 10/16 14:24:55 yS2   removing lock file
>
> Thanks.