[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems invalid modem response



Hello I'm searching to send faxes, but my modems don't like efax or efax don't like them I don't know :)

this is my INIT:
INIT="-iZ -i&FX4E&D2S7=120 -i&C0"

the original don't work.

here is my log, any ideas?

fax -v send 02700590401 /etc/inittab
/etc/inittab.nnn is up-to-date
efax: Fri Sep 23 22:18:26 2005 efax v 0.9 Copyright 1999 Ed Casas
efax: 18:26 TIFF version 4.2 file (little-endian)
efax: 18:26 TIFF directory at 8 with 17 tags, last image.
efax: 18:26 page 1 : /etc/inittab.001 + 234 : 1688x2292 @ 204x196 dpi TIFF/FAX
efax: 18:26 TIFF version 4.2 file (little-endian)
efax: 18:26 TIFF directory at 8 with 17 tags, last image.
efax: 18:26 page 2 : /etc/inittab.002 + 234 : 1688x2292 @ 204x196 dpi TIFF/FAX
efax: 18:26 argv[0]=efax
efax: 18:26 argv[1]=-v
efax: 18:26 argv[2]=chewmainrxtf
efax: 18:26 argv[3]=-v
efax: 18:26 argv[4]=chewmainrxtf
efax: 18:26 argv[5]=-d/dev/ttyS0
efax: 18:26 argv[6]=-x
efax: 18:26 argv[7]=/var/lock/LCK..ttyS0
efax: 18:26 argv[8]=-iZ
efax: 18:26 argv[9]=-i&FX4E&D2S7=120
efax: 18:26 argv[10]=-i&C0
efax: 18:26 argv[11]=-iM1L0
efax: 18:26 argv[12]=-l
efax: 18:26 argv[13]=+39 0882 456077
efax: 18:26 argv[14]=-kZ
efax: 18:26 argv[15]=-h
efax: 18:26 argv[16]=2005/09/23 22:18 +39 0882 456077 Selene Informatica p. %d/%d
efax: 18:26 argv[17]=-t
efax: 18:26 argv[18]=T02700590401
efax: 18:26 argv[19]=/etc/inittab.001
efax: 18:26 argv[20]=/etc/inittab.002
efax: 18:26 created text lock file /var/lock/LCK..ttyS0
efax: 18:26 opened /dev/ttyS0
efax: 18:26 command  "Q0V1"
efax: 18:26 waiting 2.0 s
efax: 18:26 .541 [ATQ0V1<CR><CR><LF>]
efax: 18:26 .551 [OK<CR><LF>]
efax: 18:26 response "OK"
efax: 18:26 command  "Z"
efax: 18:26 waiting 5.0 s
efax: 18:26 .661 [ATZ<CR><CR><LF>]
efax: 18:27 .701 [OK<CR><LF>]
efax: 18:27 response "OK"
efax: 18:27 command  "&FX4E&D2S7=120"
efax: 18:27 waiting 5.0 s
efax: 18:27 .821 [AT&FX4E&D2S7=120<CR><CR><LF>]
efax: 18:28 .341 [OK<CR><LF>]
efax: 18:28 response "OK"
efax: 18:28 command  "&C0"
efax: 18:28 waiting 5.0 s
efax: 18:28 .461 [<CR><LF>OK<CR><LF>]
efax: 18:28 response "OK"
efax: 18:28 command  "M1L0"
efax: 18:28 waiting 5.0 s
efax: 18:28 .581 [<CR><LF>OK<CR><LF>]
efax: 18:28 response "OK"
efax: 18:28 command  "E0"
efax: 18:28 waiting 5.0 s
efax: 18:28 .691 [<CR><LF>OK<CR><LF>]
efax: 18:28 response "OK"
efax: 18:28 command  "I3"
efax: 18:28 waiting 5.0 s
efax: 18:28 .811 [<CR><LF>Agere OCM V.92 Ver2.7a (Jun 14 2004) Voice Mercury DP2SH mode-ii SERIAL<CR><LF>]
efax: 18:28 .841 [<CR><LF>OK<CR><LF>]
efax: 18:28 response "OK"
efax: 18:28 command  "+FCLASS=?"
efax: 18:28 waiting 5.0 s
efax: 18:28 .971 [<CR><LF>0,1,8<CR><LF>]
efax: 18:28 .971 [<CR><LF>OK<CR><LF>]
efax: 18:28 response "OK"
efax: 18:29 command  "+FCLASS=1"
efax: 18:29 waiting 5.0 s
efax: 18:29 .091 [<CR><LF>OK<CR><LF>]
efax: 18:29 response "OK"
efax: 18:29 using Agere OCM V.92 Ver2.7a (Jun 14 2004) Voice Mercury DP2SH mode-ii SERIAL in class 1
efax: 18:29 command  "+FTM=?"
efax: 18:29 waiting 5.0 s
efax: 18:29 .211 [<CR><LF>3,24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 18:29 .231 [<CR><LF>OK<CR><LF>]
efax: 18:29 response "OK"
efax: 18:29 dialing T02700590401
efax: 18:29 command  "DT02700590401"
efax: 18:29 waiting 120.0 s
efax: 18:48 .081 [<CR><LF>CONNECT<CR><LF>]
efax: 18:48 response "CONNECT"
efax: 18:48 connected
efax: 18:49 waiting 2.0 s
efax: 18:49 .831 [<CR><LF>OK<CR><LF>]
efax: 18:49 response "OK"
efax: 18:49 Warning: bit-reversed HDLC frame, reversing bit order
efax: 18:49 received 25 bytes:
efax: 18:49  ff c0 02 8c 0c 2c 0c 9c ac 0c 0c ec 4c 0c 04 04
efax: 18:49  04 04 04 04 04 04 04 fa 5a
efax: 18:49 received CSI - answering ID
efax: 18:49 remote ID ->          02700590401
efax: 18:49 command  "+FRH=3"
efax: 18:49 waiting 35.0 s
efax: 18:49 .851 [<CR><LF>CONNECT<CR><LF>]
efax: 18:49 response "CONNECT"
efax: 18:50 waiting 2.0 s
efax: 18:50 .121 [<CR><LF>OK<CR><LF>]
efax: 18:50 response "OK"
efax: 18:50 received 9 bytes: ff c8 01 00 77 1f 20 d8 d4
efax: 18:50 received DIS - answering capabilities
efax: 18:50 remote has no document(s) to send, and can receive
efax: 18:50 local   196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 18:50 remote  196lpi 14.4kbps 8.5"/215mm  any   2D ECM-64   -  0ms
efax: 18:50 session 196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 18:50 command  "+FTH=3"
efax: 18:50 waiting 3.1 s
efax: 18:51 .001 [<CR><LF>CONNECT<CR><LF>]
efax: 18:51 response "CONNECT"
efax: 18:51 sent 23 bytes:
efax: 18:51  ff c0 c2 ec ec 0c 6c ac 2c 04 4c 1c 1c 0c 04 9c
efax: 18:51  cc d4 04 04 04 04 04
efax: 18:51 sent TSI - caller ID
efax: 18:51 waiting 13.6 s
efax: 18:51 .021 [<CR><LF>CONNECT<CR><LF>]
efax: 18:51 response "CONNECT"
efax: 18:51 sent 6 bytes: ff c8 c1 00 46 1e
efax: 18:51 sent DCS - session format
efax: 18:51 waiting 13.6 s
efax: 18:52 .131 [<CR><LF>OK<CR><LF>]
efax: 18:52 response "OK"
efax: 18:52 command  "+FTS=8"
efax: 18:52 waiting 3.0 s
efax: 18:52 .211 [<CR><LF>OK<CR><LF>]
efax: 18:52 response "OK"
efax: 18:52 command  "+FTM=145"
efax: 18:52 waiting 3.1 s
efax: 18:52 .231 [<CR><LF>CONNECT<CR><LF>]
efax: 18:52 response "CONNECT"
efax: 18:53 waiting 30.0 s
efax: 19:00 .311 [<CR><LF>ERROR<CR><LF>]
efax: 19:00 response "ERROR"
efax: 19:00 Error: wrong response after waiting
efax: 19:00 sent TCF - channel check of 2700 bytes
efax: 19:00 local   196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 19:00 remote  196lpi 14.4kbps 8.5"/215mm  any   2D ECM-64   -  0ms
efax: 19:00 session 196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 19:00 command  "+FTS=8"
efax: 19:00 waiting 3.0 s
efax: 19:00 .391 [<CR><LF>OK<CR><LF>]
efax: 19:00 response "OK"
efax: 19:00 local   196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 19:00 remote  196lpi 14.4kbps 8.5"/215mm  any   2D ECM-64   -  0ms
efax: 19:00 session 196lpi 14.4kbps 8.5"/215mm  any   1D    -     -  0ms
efax: 19:00 command  "+FTS=8"
efax: 19:00 waiting 3.0 s
efax: 19:00 .471 [<CR><LF>OK<CR><LF>]
efax: 19:00 response "OK"
efax: 19:00 Error: no command/response from remote
efax: 19:00 command  "+FTH=3"
efax: 19:00 waiting 3.1 s
efax: 19:01 .341 [<CR><LF>CONNECT<CR><LF>]
efax: 19:01 response "CONNECT"
efax: 19:01 sent 3 bytes: ff c8 5f
efax: 19:01 sent DCN - disconnect
efax: 19:01 waiting 13.6 s
efax: 19:01 .661 [<CR><LF>OK<CR><LF>]
efax: 19:01 response "OK"
efax: 19:01 command  "H"
efax: 19:01 waiting 5.0 s
efax: 19:02 .351 [<CR><LF>OK<CR><LF>]
efax: 19:02 response "OK"
efax: 19:02 failed -> /etc/inittab.001
efax: 19:02 failed -> /etc/inittab.002
efax: 19:02 command  "Q0V1"
efax: 19:02 waiting 2.0 s
efax: 19:02 .471 [<CR><LF>OK<CR><LF>]
efax: 19:02 response "OK"
efax: 19:02 command  "Z"
efax: 19:02 waiting 5.0 s
efax: 19:03 .621 [<CR><LF>OK<CR><LF>]
efax: 19:03 response "OK"
efax: 19:03 read HDB pid 19001 [ 19001<LF>] from /var/lock/LCK..ttyS0 (our pid)
efax: 19:03 removed lock file /var/lock/LCK..ttyS0
efax: 19:03 done, returning 3 (invalid modem response)
There were errors (see T02700590401.log).