HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Training failed when sendung to a Zyxel 2864
I've got two Hylafax servers, one with a Zyxel Elite 2864ID
and one with an Elsa microlink fun II (I finally got it to work -
had to use class 1).
Both work well with a fax machine and to a Windows PC fax with Fritz Card,
but they cannot connect to each other, where I keep getting
TRAINING FAILED, see below.
I have seen lots of similar send log situation on the list but
no solution pointing to my problem.
Any ideas are welcome.
Hans
System: Debian etch (both)
Hylafax. 4.3.1 (both)
config Elsa side:
...
# Modem Elsa microlink fun II a Verion 1.0 (serial RS232)
ModemType: Class1 # use this to supply a hint
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: rtscts # use HW flow control
#
ModemNoFlowCmd: AT+IFC=0,0;
ModemHardFlowCmd: AT+IFC=2,2;
ModemSoftFlowCmd: AT+IFC=1,1;
#
# Class 1
#
Class1Cmd: AT+FCLASS=1 # command to enter class 1
Class1PPMWaitCmd: AT+FTS=7 # command to stop and wait before
PPM
Class1TCFWaitCmd: AT+FTS=7 # command to stop and wait before
TCF
Class1EOPWaitCmd: AT+FTS=9 # command to stop and wait before
EOP
Class1SwitchingCmd: AT+FRS=7 # silence between HDLC recv and
trans
Class1TrainingRecovery: 1500 # 1.5sec delay after training
failure
Class1RecvAbortOK: 200 # wait 200ms for abort response
Class1FrameOverhead: 4 # 4 byte overhead in recvd HDLC
frames
Class1RecvIdentTimer: 40000 # 35+5secs waiting for ident frames
Class1TCFMaxNonZero: 10 # max 10% of data may be non-zero
Class1TCFMinRun: 1000 # min run is 2/3rds of TCF duration
send log Elsa side:
Feb 03 02:15:06.71: [17355]: REMOTE CSI "08917095722"
Feb 03 02:15:06.71: [17355]: <-- [9:AT+FRH=3\r]
Feb 03 02:15:06.73: [17355]: --> [7:CONNECT]
Feb 03 02:15:06.98: [17355]: --> [2:OK]
--> !! Feb 03 02:15:06.98: [17355]: REMOTE best rate 14400 bit/s
Feb 03 02:15:06.98: [17355]: REMOTE max A3 page width (303 mm)
Feb 03 02:15:06.98: [17355]: REMOTE max unlimited page length
Feb 03 02:15:06.98: [17355]: REMOTE best vres 7.7 line/mm
Feb 03 02:15:06.98: [17355]: REMOTE format support: MH, MR
Feb 03 02:15:06.98: [17355]: REMOTE best 0 ms/scanline
--> ?? Feb 03 02:15:06.98: [17355]: USE 9600 bit/s
this does only happen with the Zyxel
Feb 03 02:15:06.98: [17355]: SEND file "docq/doc72.ps;c1"
Feb 03 02:15:06.98: [17355]: USE A4 page width (215 mm)
Feb 03 02:15:06.98: [17355]: USE unlimited page length
Feb 03 02:15:06.98: [17355]: USE 7.7 line/mm
Feb 03 02:15:06.98: [17355]: USE 2-D MR
Feb 03 02:15:06.98: [17355]: USE 0 ms/scanline
Feb 03 02:15:06.98: [17355]: SEND training at v.29 9600 bit/s
Feb 03 02:15:06.98: [17355]: <-- [9:AT+FRS=7\r]
Feb 03 02:15:17.31: [17355]: --> [2:OK]
Feb 03 02:15:17.31: [17355]: <-- [9:AT+FTH=3\r]
Feb 03 02:15:18.18: [17355]: --> [7:CONNECT]
Feb 03 02:15:18.18: [17355]: <-- data [23]
Feb 03 02:15:18.18: [17355]: <-- data [2]
Feb 03 02:15:18.20: [17355]: --> [7:CONNECT]
Feb 03 02:15:18.20: [17355]: <-- data [6]
Feb 03 02:15:18.20: [17355]: <-- data [2]
Feb 03 02:15:19.31: [17355]: --> [2:OK]
Feb 03 02:15:19.31: [17355]: <-- [9:AT+FTS=7\r] Feb
03 02:15:19.37: [17355]: --> [2:OK]
Feb 03 02:15:19.37: [17355]: <-- [10:AT+FTM=96\r]
Feb 03 02:15:19.39: [17355]: --> [7:CONNECT]
Feb 03 02:15:19.39: [17355]: <-- data [1024]
Feb 03 02:15:19.39: [17355]: <-- data [776]
Feb 03 02:15:19.39: [17355]: <-- data [2]
Feb 03 02:15:21.17: [17355]: --> [2:OK]
Feb 03 02:15:21.17: [17355]: <-- [9:AT+FRH=3\r]
Feb 03 02:15:24.17: [17355]: --> [7:CONNECT]
Feb 03 02:15:25.91: [17355]: --> [2:OK]
Feb 03 02:15:25.91: [17355]: REMOTE CSI "08917095722"
Feb 03 02:15:25.91: [17355]: <-- [9:AT+FRH=3\r]
Feb 03 02:15:25.93: [17355]: --> [7:CONNECT] Feb 03 02:15:26.18: [17355]:
--> [2:OK]
--> Feb 03 02:15:26.18: [17355]: SEND training at v.29 9600 bit/s
again?
Feb 03 02:15:26.18: [17355]: <-- [9:AT+FRS=7\r]
Feb 03 02:15:30.31: [17355]: --> [2:OK]
Feb 03 02:15:30.31: [17355]: <-- [9:AT+FTH=3\r]
Feb 03 02:15:31.18: [17355]: --> [7:CONNECT]
Feb 03 02:15:31.18: [17355]: <-- data [23]
Feb 03 02:15:31.18: [17355]: <-- data [2]
Feb 03 02:15:31.21: [17355]: --> [7:CONNECT]
Feb 03 02:15:31.21: [17355]: <-- data [6]
Feb 03 02:15:31.21: [17355]: <-- data [2]
Feb 03 02:15:32.31: [17355]: --> [2:OK]
Feb 03 02:15:32.31: [17355]: <-- [9:AT+FTS=7\r]
Feb 03 02:15:32.37: [17355]: --> [2:OK]
Feb 03 02:15:32.37: [17355]: <-- [10:AT+FTM=96\r]
Feb 03 02:15:32.39: [17355]: --> [7:CONNECT]
Feb 03 02:15:32.39: [17355]: <-- data [1024]
Feb 03 02:15:32.39: [17355]: <-- data [776]
Feb 03 02:15:32.39: [17355]: <-- data [2]
Feb 03 02:15:34.18: [17355]: --> [2:OK]
Feb 03 02:15:34.18: [17355]: <-- [9:AT+FRH=3\r]
Feb 03 02:15:35.59: [17355]: --> [7:CONNECT]
Feb 03 02:15:36.76: [17355]: --> [2:OK]
Feb 03 02:15:36.76: [17355]: TRAINING failed
Feb 03 02:15:36.76: [17355]: <-- [9:AT+FTH=3\r]
Feb 03 02:15:37.63: [17355]: --> [7:CONNECT]
Feb 03 02:15:37.63: [17355]: <-- data [3]
Feb 03 02:15:37.63: [17355]: <-- data [2]
Feb 03 02:15:37.95: [17355]: --> [2:OK]
Feb 03 02:15:37.95: [17355]: <-- [5:ATH0\r]
Feb 03 02:15:38.07: [17355]: --> [2:OK]
Feb 03 02:15:38.07: [17355]: SESSION END
receive log Xyxel side:
Feb 03 02:16:51.29: [19889]: SESSION BEGIN 000000281 498917095722
Feb 03 02:16:51.29: [19889]: HylaFAX (tm) Version 4.3.1
Feb 03 02:16:51.29: [19889]: <-- [4:ATA\r]
Feb 03 02:16:51.30: [19889]: --> [25:FM:8938869931 TO:17095722]
Feb 03 02:17:33.19: [19889]: --> [7:+FHS:70]
Feb 03 02:17:33.19: [19889]: REMOTE HANGUP: Unspecified Receive Phase B
error (c ode 70)
Feb 03 02:17:33.19: [19889]: ANSWER: Ring detected without successful
handshake
Feb 03 02:17:33.19: [19889]: SESSION END
sendlog from Zyxel side to microlink side:
Feb 03 02:38:07.06: [20034]: REMOTE best rate 14400 bit/s
Feb 03 02:38:07.06: [20034]: REMOTE max A3 page width (303 mm)
Feb 03 02:38:07.06: [20034]: REMOTE max unlimited page length
Feb 03 02:38:07.06: [20034]: REMOTE best vres 7.7 line/mm
Feb 03 02:38:07.06: [20034]: REMOTE format support: MH, MR
Feb 03 02:38:07.06: [20034]: REMOTE supports T.30 Annex A, 256-byte ECM
Feb 03 02:38:07.06: [20034]: REMOTE best 0 ms/scanline
Feb 03 02:38:07.06: [20034]: USE 14400 bit/s
Feb 03 02:38:07.06: [20034]: SEND file "docq/doc58.ps;41"
Feb 03 02:38:07.06: [20034]: USE A4 page width (215 mm)
Feb 03 02:38:07.06: [20034]: USE unlimited page length
Feb 03 02:38:07.06: [20034]: USE 7.7 line/mm
Feb 03 02:38:07.06: [20034]: USE 2-D MR
Feb 03 02:38:07.06: [20034]: USE 0 ms/scanline
Feb 03 02:38:07.06: [20034]: <-- [23:AT+FIS=1,5,0,2,1,0,0,0\r]
Feb 03 02:38:07.09: [20034]: --> [2:OK]
Feb 03 02:38:07.09: [20034]: <-- [7:AT+FDT\r]
Feb 03 02:38:58.59: [20034]: --> [7:+FHS:27]
Feb 03 02:38:58.59: [20034]: REMOTE HANGUP: Failure to train at 2400 bps or
+FMI NSP value (code 27)
Feb 03 02:38:58.59: [20034]: <-- [5:ATH0\r]
Feb 03 02:38:58.60: [20034]: --> [2:OK]
Feb 03 02:38:58.60: [20034]: SESSION END
Zyxel config:
ModemType: Class2.0 # use class 2.0 interface
ModemRate: 19200
ModemFlowControl: rtscts # default
#
ModemNoFlowCmd: AT&H0 # disable flow control
ModemHardFlowCmd: AT&H3 # hardware flow control
ModemSoftFlowCmd: AT&H4 # software flow control
ModemSetupDTRCmd: AT&D3 # DTR off causes modem to hang up
and reset to profile 0
ModemSetupDCDCmd: AT&C1 # DCD tracks carrier
#
ModemSetupAACmd: AT+FAA=0 # leave class as defined
#
# Additional reset commands:
#
# &B1 DTE-DCE rate is fixed at DTE setting
# &N0 Auto-negotiate highest possible DCE-DCE link rate
# &S0 DSR always on
# *F0 Deny remote configuration
# (actually *F0 doesn't work in the firmware -- sigh)
# S38.3=1 DCD on/off sequence follows UNIX standard; also
# fix receiving baud rate at S18 value
#
ModemResetCmds: AT&B1&N0&S0S38.3=1
#
ModemDialCmd: ATDT%s # no '@' 'cuz then busy not
recognized
NoCarrierRetrys: 3 # retry 3 times on no carrier
#
ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
#
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*