[Asterisk-Users] txfax: "Trainability test failed"

ryan ryan at voxbox.ca
Mon May 3 08:58:07 MST 2004


Hi all,

I'm using txfax and rxfax to send and receive faxes.  I find that txfax performs very well when sending to an old fax machine.  However, when trying to send to a Mac (OS X) that accepts faxes, I get a "Trainability test failed" message on the * console (full console log below).

I'm OK with being unable to fax to Mac, as I'm just using it to test. For future reference, I'd like to know what causes this problem, and what steps (if any) I can take to correct it.

Thanks
Ryan


exten => out_fax,1,txfax(${TXFAX_NAME}|caller)

---SNIP---
    -- Attempting call on Zap/g1/2442790 for out_fax at ext-fax:1 (Retry 1)
       > Channel Zap/1-1 was answered.
    -- Executing Wait("Zap/1-1", "7") in new stack
    -- Executing TxFAX("Zap/1-1", "/var/spool/asterisk/fax/test.tif|caller") in new stack
File name is '/var/spool/asterisk/fax/test.tif'
Changed from phase 0 to 2
Slow carrier up
Slow carrier down
Slow carrier up
<<< CSI: 40 30 39 37 32 20 34 34 32 20 33 30 34 20 20 20 20 20 20 20 20
CSI without final frame tag
Remote fax gave CSI as: "403 244 2790"
<<< DIS: 80 00 6e 78
DIS with final frame tag
In state 10
DIS:
Preferred octets: 256
Can receive fax
Supported data signalling rates: V.27ter, V.29 and V.17
R8x7.7lines/mm and/or 200x200pels/25.4mm OK
Scan line length: 215mm
Recording length: A4 (297mm) and B4 (364mm)
Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85
DCS:
Selected data signalling rate: V.29, 9600bps
Scan line length: 215mm
Recording length: A4 (297mm)
Minimum scan line time: 0ms
Start sending document
Start tx document - compression 1
Fine mode
Changed from phase 2 to 4
Sending ident
>>> TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
>>> DCS: 83 00 44 70
HDLC underflow in state 3
Changed from phase 4 to 6
Changed from phase 6 to 3
T4 timeout in state 4
Slow carrier up
<<< FTT: 44
FTT with final frame tag
In state 4
Trainability test failed
Changed from phase 3 to 6
Changed from phase 6 to 3
T4 timeout in state 4
---SNIP---



More information about the asterisk-users mailing list