Discussion:
Problems with Sendfax, failed transmitting
(too old to reply)
Dirk Zobel
2009-09-05 06:54:24 UTC
Permalink
Hi, if here ist anybody,

I try to send a fax via Sendfax, but the hangup-sequence interrupts. Why
this?

09/05 08:30:24 s01 sending f1.g3...
09/05 08:30:24 s01 page complete, 52746 bytes sent
09/05 08:30:24 s01 sending DLE ETX...
09/05 08:30:24 s01 fax_wait_for(OK)
09/05 08:30:43 s01 fax_wait_for: string 'OK'** found **
09/05 08:30:43 s01 fax_send: 'AT+FET=2'
09/05 08:30:43 s01 fax_wait_for(OK)
09/05 08:32:43 s01 Warning: got alarm signal!
09/05 08:32:43 s01 mdm_read_byte: read returned -1: Interrupted system
call
09/05 08:32:43 s01 mdm_get_line: cannot read byte, return: Interrupted
system call

System: DivaServer Bri2M

Thanks for help,

Dirk

PS:
Whole Log, including System-Config:
09/05 08:30:02 s01 fax_open_device succeeded, ttyds01 -> 4
09/05 08:30:02 s01 reading specific data for port 'ttyds01'
09/05 08:30:02 s01 reading /etc/mgetty/sendfax.config...
09/05 08:30:02 s01 conf lib: read: 'verbose y'
09/05 08:30:02 s01 conf lib: read: 'debug 5'
09/05 08:30:02 s01 conf lib: read: 'fax-devices ttyds01'
09/05 08:30:02 s01 conf lib: read: 'fax-id +49 ********'
09/05 08:30:02 s01 conf lib: read: 'dial-prefix ATD'
09/05 08:30:02 s01 conf lib: read: 'max-tries 3'
09/05 08:30:02 s01 conf lib: read: 'max-tries-continue y'
09/05 08:30:02 s01 conf lib: read: 'port ttyds01'
09/05 08:30:02 s01 section: port ttyds01, **found**
09/05 08:30:02 s01 conf lib: read: 'modem-init AT +iM2;+iO26'
09/05 08:30:02 s01 conf lib: read: 'modem-type cls2'
09/05 08:30:02 s01 conf lib: read: 'port ttyds02'
09/05 08:30:02 s01 section: port ttyds02, ignore
09/05 08:30:02 s01 conf lib: read: 'modem-type cls2'
09/05 08:30:02 s01 conf lib: read: 'modem-init AT +iM2;+iO26'
09/05 08:30:02 s01 key: 'fax-devices', type=1, flags=4, data=(ignored)
09/05 08:30:02 s01 key: 'modem-init', type=1, flags=3, data=AT +iM2;
+iO26
09/05 08:30:02 s01 key: 'modem-handshake', type=1, flags=0, data=
(empty)
09/05 08:30:02 s01 key: 'modem-type', type=1, flags=3, data=cls2
09/05 08:30:02 s01 key: 'modem-quirks', type=0, flags=0, data=(empty)
09/05 08:30:02 s01 key: 'fax-send-flow', type=4, flags=1, data=7
09/05 08:30:02 s01 key: 'fax-rec-flow', type=4, flags=1, data=7
09/05 08:30:02 s01 key: 'max-tries', type=0, flags=3, data=3
09/05 08:30:02 s01 key: 'max-tries-continue', type=3, flags=3,
data=TRUE
09/05 08:30:02 s01 key: 'speed', type=0, flags=1, data=38400
09/05 08:30:02 s01 key: 'switchbd', type=0, flags=1, data=0
09/05 08:30:02 s01 key: 'open-delay', type=0, flags=0, data=(empty)
09/05 08:30:02 s01 key: 'ignore-carrier', type=3, flags=1, data=TRUE
09/05 08:30:02 s01 key: 'dial-prefix', type=1, flags=3, data=ATD
09/05 08:30:02 s01 key: 'fax-id', type=1, flags=3, data=+49 ********
09/05 08:30:02 s01 key: 'poll-dir', type=1, flags=1, data=.
09/05 08:30:02 s01 key: 'normal-res', type=3, flags=1, data=FALSE
09/05 08:30:02 s01 key: 'fax-min-speed', type=0, flags=1, data=0
09/05 08:30:02 s01 key: 'fax-max-speed', type=0, flags=1, data=14400
09/05 08:30:02 s01 key: 'debug', type=0, flags=3, data=5
09/05 08:30:02 s01 key: 'verbose', type=3, flags=2, data=TRUE
09/05 08:30:02 s01 key: '', type=3, flags=1, data=FALSE
09/05 08:30:02 s01 key: 'page-header', type=1, flags=0, data=(empty)
09/05 08:30:02 s01 key: '', type=3, flags=1, data=FALSE
09/05 08:30:02 s01 key: '', type=3, flags=1, data=FALSE
09/05 08:30:02 s01 key: '', type=1, flags=1, data=
09/05 08:30:02 s01 tss: set speed to 38400 (017)
09/05 08:30:02 s01 mdm_send: 'ATV1Q0'
09/05 08:30:02 s01 mdm_command: string 'OK' -> OK
09/05 08:30:02 s01 fax_send: 'AT +iM2;+iO26'
09/05 08:30:02 s01 fax_wait_for(OK)
09/05 08:30:02 s01 fax_wait_for: string 'OK'** found **
09/05 08:30:02 s01 mdm_send: 'AT+FCLASS=2'
09/05 08:30:02 s01 mdm_command: string 'OK' -> OK
09/05 08:30:02 s01 mdm_send: 'AT+FLID="+49 ********"'
09/05 08:30:02 s01 mdm_command: string 'OK' -> OK
09/05 08:30:02 s01 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
09/05 08:30:02 s01 mdm_command: string 'OK' -> OK
09/05 08:30:02 s01 mdm_send: 'AT+FBOR=0'
09/05 08:30:02 s01 mdm_command: string 'OK' -> OK
09/05 08:30:02 s01 fax_send: 'ATD0********'
09/05 08:30:02 s01 fax_wait_for(OK)
09/05 08:30:16 s01 fax_wait_for: string '+FCON'
09/05 08:30:16 s01 fax_wait_for: string '+FCSI:" +49 ********"'
09/05 08:30:16 s01 fax_id: '+FCSI:" +49 ********"'
09/05 08:30:16 s01 fax_wait_for: string '+FDIS: 1,5,0,2,0,1,0,0'
09/05 08:30:16 s01 receiver cap.: '+FDIS: 1,5,0,2,0,1,0,0' -> fine 144
ECM
09/05 08:30:16 s01 fax_wait_for: string 'OK'** found **
09/05 08:30:16 s01 sendfax: IGNORE DCD (carrier) status
09/05 08:30:16 s01 fax_send_page("f1.g3") started...
09/05 08:30:16 s01 tio_set_flow_control( HARD )
09/05 08:30:16 s01 fax_send: 'AT+FDT'
09/05 08:30:16 s01 fax_wait_for(CONNECT)
09/05 08:30:23 s01 fax_wait_for: string '+FDCS: 1,5,0,2,0,1,0,0'
09/05 08:30:23 s01 transmission par.: '+FDCS: 1,5,0,2,0,1,0,0'
09/05 08:30:24 s01 fax_wait_for: string 'CONNECT'** found **
09/05 08:30:24 s01 waiting for XON, got:[0a][11]
09/05 08:30:24 s01 tio_set_flow_control( HARD XON_OUT )
09/05 08:30:24 s01 sending f1.g3...
09/05 08:30:24 s01 page complete, 52746 bytes sent
09/05 08:30:24 s01 sending DLE ETX...
09/05 08:30:24 s01 fax_wait_for(OK)
09/05 08:30:43 s01 fax_wait_for: string 'OK'** found **
09/05 08:30:43 s01 fax_send: 'AT+FET=2'
09/05 08:30:43 s01 fax_wait_for(OK)
09/05 08:32:43 s01 Warning: got alarm signal!
09/05 08:32:43 s01 mdm_read_byte: read returned -1: Interrupted system
call
09/05 08:32:43 s01 mdm_get_line: cannot read byte, return: Interrupted
system call
09/05 08:32:43 ##### failed transmitting f1.g3: phone="********", +FHS:-
6, dev=ttyds01, time=161s, acct=""
Dirk Zobel
2009-09-08 09:47:36 UTC
Permalink
Hi out there,

Dirk Zobel schrieb news:***@ID-3937.user.cis.dfn.de:
[After sending fax an receiving OK]
Post by Dirk Zobel
09/05 08:30:43 s01 fax_send: 'AT+FET=2'
09/05 08:30:43 s01 fax_wait_for(OK)
09/05 08:32:43 s01 Warning: got alarm signal!
09/05 08:32:43 s01 mdm_read_byte: read returned -1: Interrupted system
call
09/05 08:32:43 s01 mdm_get_line: cannot read byte, return: Interrupted
system call
Why sends sendfax AT+FET=2? I looked in the reverence guide for my modem,
and there is no AT+FET-Command. How can I stop sendfax sending this
command?
I looked on the Hayes-AT-Commands reference lists like published by the
Microsoft knowlege-base - there is neither FET-command nor +FET!

If there is anybody out there in this spammed group,
thanks for an answer,

Dirk

Loading...