Stephen Allan
2004-Aug-16 17:28 UTC
[Asterisk-Users] SpanDSP - Training failed error / timing problem
I am having a problem with SpanDSP. What happens is when I send a fax to SpanDSP the fax message seems to fail in the training phase. I think it's a timing error, however I have no idea about how to rectify the problem. I have included a copy of the log below. I am using a Digium TDM-400P card with 2 x FXO ports and 2 x FXS ports. The fax is connected to one of the FXS ports (Zap3). The outgoing call dials out on Zap2 and is received by SpanDSP on Zap1. I'm not too sure what the Zaptel device is using as a timing source or how to alter it in order to tune the carrier frequency. If anyone has any ideas I'd be very appreciative of your assistance. Many thanks, Stephen. -- Starting simple switch on 'Zap/3-1' -- Executing Dial("Zap/3-1", "Zap/2/98824928") in new stack -- Called 2/98824928 -- Zap/2-1 answered Zap/3-1 -- Attempting native bridge of Zap/3-1 and Zap/2-1 -- Starting simple switch on 'Zap/1-1' Aug 17 10:26:57 NOTICE[131088]: chan_zap.c:4998 ss_thread: Got event 2 (Ring/Answered)... Aug 17 10:27:00 NOTICE[131088]: chan_zap.c:4998 ss_thread: Got event 2 (Ring/Answered)... -- Executing RxFAX("Zap/1-1", "/var/spool/asterisk/incoming/test.tif") in new stack Changed from phase 0 to 1 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Start receiving document Changed from phase 1 to 4 Sending ident>>> CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20DIS: Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm OK Minimum scan line time for higher resolutions: T15.4 = T7.7>>> DIS: 80 00 ce f0 80 80 01HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up <<< TSI: 43 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 78 61 46 TSI without final frame tag Remote fax gave TSI as: "Fax " <<< DCS: 83 00 c6 70 DCS with final frame tag In state 9 DCS: Can receive fax Selected data signalling rate: V.29, 9600bps R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 0ms Get at 9600 Changed from phase 3 to 5 Fast carrier up Coarse carrier frequency 1722.49 (4) Training error 697.606603 Training failed (convergence failed) Fast carrier training failed Fast carrier down Fast carrier up Coarse carrier frequency 1593.48 (6) Training error 692.982686 Training failed (convergence failed) Fast carrier training failed Fast carrier down Fast carrier up Coarse carrier frequency 1742.92 (4) Training error 671.337114 Training failed (convergence failed) Fast carrier training failed Fast carrier down Fast carrier up Fast carrier down -- Hungup 'Zap/2-1' == Spawn extension (fax-out, 98824928, 1) exited non-zero on 'Zap/3-1' -- Executing Dial("Zap/3-1", "Zap/2/h") in new stack Aug 17 10:27:31 NOTICE[122895]: app_dial.c:689 dial_exec: Unable to create channel of type 'Zap' == Everyone is busy/congested at this time -- Executing Hangup("Zap/3-1", "") in new stack == Spawn extension (fax-out, h, 102) exited non-zero on 'Zap/3-1' -- Hungup 'Zap/3-1'