HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Receiving with iaxmodem: TRAINING failed



hey,

I am currently using hylafax-5.2.1 and iaxmodem-1.0.0
I got following error while RECEIVING a fax over ISDN->IAXModem->Hylafax.

Receiving in general works fine, but not from certain senders. See session log file below:

Oct 06 16:44:53.01: [ 5599]: SESSION BEGIN 000000732 +43732784042
Oct 06 16:44:53.01: [ 5599]: HylaFAX (tm) Version 5.2.1
Oct 06 16:44:53.01: [ 5599]: CallID: '070784042' '' '<NONE>' '2999'
Oct 06 16:44:53.01: [ 5599]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Oct 06 16:44:53.01: [ 5599]: <-- [4:ATA\r]
Oct 06 16:44:56.73: [ 5599]: --> [7:CONNECT]
Oct 06 16:44:56.73: [ 5599]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyIAX03'
Oct 06 16:44:56.73: [ 5599]: STATE CHANGE: ANSWERING -> RECEIVING
Oct 06 16:44:56.73: [ 5599]: RECV FAX: begin
Oct 06 16:44:56.73: [ 5599]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E C
E 96 F6 76 04 AC 74 4C 74 8C>
Oct 06 16:44:56.73: [ 5599]: <-- data [32]
Oct 06 16:44:56.73: [ 5599]: <-- data [2]
Oct 06 16:44:57.65: [ 5599]: --> [7:CONNECT]
Oct 06 16:44:57.65: [ 5599]: <-- HDLC<23:FF C0 02 CC 0C 4C 04 B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 0
4>
Oct 06 16:44:57.65: [ 5599]: <-- data [23]
Oct 06 16:44:57.65: [ 5599]: <-- data [2]
Oct 06 16:44:58.41: [ 5599]: --> [7:CONNECT]
Oct 06 16:44:58.41: [ 5599]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 06 16:44:58.41: [ 5599]: <-- data [13]
Oct 06 16:44:58.41: [ 5599]: <-- data [2]
Oct 06 16:44:58.99: [ 5599]: --> [2:OK]
Oct 06 16:44:58.99: [ 5599]: <-- [9:AT+FRH=3\r]
Oct 06 16:44:59.33: [ 5599]: --> [7:CONNECT]
Oct 06 16:45:00.75: [ 5599]: --> HDLC<25:FF C0 C2 4C 0C 4C 04 B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 0
4 5D 7E>
Oct 06 16:45:00.75: [ 5599]: --> [2:OK]
Oct 06 16:45:00.75: [ 5599]: RECV recv TSI (sender id)
Oct 06 16:45:00.75: [ 5599]: REMOTE TSI "IAXmodem 202"
Oct 06 16:45:00.75: [ 5599]: <-- [9:AT+FRH=3\r]
Oct 06 16:45:01.09: [ 5599]: --> [7:CONNECT]
Oct 06 16:45:01.09: [ 5599]: --> HDLC<9:FF C8 C1 00 60 1F 22 0D DD>
Oct 06 16:45:01.13: [ 5599]: --> [2:OK]
Oct 06 16:45:01.13: [ 5599]: RECV recv DCS (command signal)
Oct 06 16:45:01.13: [ 5599]: REMOTE wants 9600 bit/s
Oct 06 16:45:01.13: [ 5599]: REMOTE wants A4 page width (215 mm)
Oct 06 16:45:01.13: [ 5599]: REMOTE wants unlimited page length
Oct 06 16:45:01.13: [ 5599]: REMOTE wants 3.85 line/mm
Oct 06 16:45:01.13: [ 5599]: REMOTE wants 2-D MMR
Oct 06 16:45:01.13: [ 5599]: REMOTE wants T.30 Annex A, 256-byte ECM
Oct 06 16:45:01.13: [ 5599]: RECV training at v.29 9600 bit/s
Oct 06 16:45:01.13: [ 5599]: MODEM set XON/XOFF/DRAIN: input ignored, output generated
Oct 06 16:45:01.13: [ 5599]: <-- [10:AT+FRM=96\r]
Oct 06 16:45:01.47: [ 5599]: --> [7:CONNECT]
Oct 06 16:45:01.91: [ 5599]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled
Oct 06 16:45:01.91: [ 5599]: RECV: TCF 514 bytes, 0% non-zero, 338 zero-run
Oct 06 16:45:01.91: [ 5599]: RECV: reject TCF (zero run too short, min 600)
Oct 06 16:45:01.91: [ 5599]: --> [10:NO CARRIER]
Oct 06 16:45:01.91: [ 5599]: DELAY 70 ms
Oct 06 16:45:01.98: [ 5599]: <-- [9:AT+FTH=3\r]
Oct 06 16:45:01.98: [ 5599]: --> [5:ERROR]
Oct 06 16:45:01.98: [ 5599]: TRAINING failed
Oct 06 16:45:01.98: [ 5599]: <-- [9:AT+FRH=3\r]
Oct 06 16:45:01.98: [ 5599]: --> [5:ERROR]
Oct 06 16:45:01.98: [ 5599]: MODEM Command error
Oct 06 16:45:01.98: [ 5599]: RECV FAX: RSPREC error/got EOT {E106}
Oct 06 16:45:01.98: [ 5599]: RECV FAX: end
Oct 06 16:45:01.98: [ 5599]: RSPREC error/got EOT {E106}
Oct 06 16:45:01.98: [ 5599]: SESSION END
                                                                                    

... while a successful receiving shows following:

......
......
Oct 06 17:38:33.50: [ 5599]: --> [10:NO CARRIER]
Oct 06 17:38:33.50: [ 5599]: DELAY 70 ms
Oct 06 17:38:33.57: [ 5599]: TRAINING succeeded
Oct 06 17:38:33.57: [ 5599]: <-- [9:AT+FTH=3\r]
Oct 06 17:38:33.58: [ 5599]: --> [7:CONNECT]
Oct 06 17:38:33.58: [ 5599]: <-- HDLC<3:FF C8 21>
Oct 06 17:38:33.58: [ 5599]: <-- data [3]
Oct 06 17:38:33.58: [ 5599]: <-- data [2]
Oct 06 17:38:34.66: [ 5599]: --> [2:OK]
Oct 06 17:38:34.66: [ 5599]: <-- [10:AT+FRM=96\r]
Oct 06 17:38:35.94: [ 5599]: --> [7:CONNECT]
......
......

why is this sometimes working and sometimes not?

any help appreciated. thanks!

ivona



      


____________________ 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*




Project hosted by iFAX Solutions