[Asterisk-Users] SoftFAX/spandsp

Steve Underwood steveu at coppice.org
Mon Mar 29 16:04:27 MST 2004


Hi Rob,

The modem training is not even close to correct. It looks like the FAX 
software is not seeing good audio from the FAX machine. However, it 
might be a strange problem in my modem software. The way to investigate 
something like this is to look in spandsp-0.0.1/src/t30.c The first line 
is normally commented out. Remove the // so LOG_FAX_AUDIO is defined, 
rebuild and reinstall spandsp, restart * and try the fax again. You 
should find two files in your /tmp directory called fax-rx-audio-xxx and 
fax-tx-audio-xxx, where xxx is the date and time. These contain the 
audio streams in and out of the FAX software. Send them to me, and I 
will analyse (and hopefully fix) what is happening.

Regards,
Steve


Rob Fugina wrote:

>I just built the latest * from CVS, spandsp 1i, and hacked app_rxfax
>for the 'lock' parameters (I used 0 in all cases).  The result of my
>first fax transmission attempt is the following, which I post in case it
>helps the developers any...  The only thing I changed is the phone number
>(TSI), which was correct, btw...
>
>Of course, if it's obvious to someone that I did something wrong, please
>let me know...
>
>Thanx,
>Rob
>
>
>    -- Executing RxFAX("Zap/25-1", "/tmp/fax.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 20
>>>>        
>>>>
>DIS:
>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 01
>>>>        
>>>>
>HDLC underflow in state 9
>Changed from phase 4 to 3
>Slow carrier up
><<< TSI: 43 34 38 36 34 20 34 39 39 20 34 31 33 20 20 20 20 20 20 20 20
>TSI without final frame tag
>Remote fax gave TSI as: "XXX XXX XXXX"
><<< DCS: 83 00 c6 f0 80 80 00
>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
>Minimum scan line time for higher resolutions: T15.4 = T7.7
>Get at 9600
>Changed from phase 3 to 5
>Fast carrier up
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Coarse carrier frequency 1674.67 (6)
>Training error 698.983520
>Training failed (convergence failed)
>Fast carrier training failed
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Training failed (sequence failed)
>Fast carrier training failed
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Coarse carrier frequency 1695.52 (6)
>Training error 664.526567
>Training failed (convergence failed)
>Fast carrier training failed
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Training failed (sequence failed)
>Fast carrier training failed
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Coarse carrier frequency 1566.39 (4)
>Training error 753.088253
>Training failed (convergence failed)
>Fast carrier training failed
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Training failed (sequence failed)
>Fast carrier training failed
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>Fast carrier up
>Fast carrier down
>Trainability test failed - longest run of zeros was 0
>  
>
>>>>FTT: 44
>>>>        
>>>>
>    -- Hungup 'Zap/25-1'
>
>
>  
>




More information about the asterisk-users mailing list