[Asterisk-Users] RxFax - Fast carrier training failed

Steve Underwood steveu at coppice.org
Thu Jun 17 09:25:37 MST 2004


Hi Mike,

To get something like:

Coarse carrier frequency 1832.96 (4)
Training error 927.702492
Training failed (convergence failed)

something is horribly wrong. The carrier should be 1700Hz, not 1832.96Hz :-)

Do you have a codec mismatch, or are you using a codec other than u-law 
or A-law? Sometimes the slow control messages will get through the wrong 
modem, but the fast modem for the images never will.

Regards,
Steve


Mike Benoit wrote:

>I'm trying to send a fax to my asterisk box, however shortly after
>connecting the fax machine reports a "communication error" and hangs up.
>Below is the error I get from RxFax: Fast carrier training failed
>
>Nothing is written to the file system as far as the tiff is concerned.
>
>Any ideas on how to fix this? Thanks
>
>----
>
>Sending Fax Machine: HP PSC 2000 Series 2210 Printer/Fax/Copier/Scanner
>
>Asterisk: CVS-HEAD-06/14/04-15:43:15
>
>SpanDSP: spandsp-0.0.1k
>
>FXO Card: X100P
>
>Interesting zapata.conf lines:
>---------------
>echocancel=yes
>echocancelwhenbridged=yes
>echotraining=yes
>rxgain=10.5
>txgain=-4.5
>faxdetect=incoming
>
>Log:
>---------------
>Jun 16 21:45:40 NOTICE[1199700912]: callerid.c:239 callerid_feed:
>Caller*ID failed checksum
>Jun 16 21:45:43 NOTICE[1199700912]: chan_zap.c:4951 ss_thread: Got event
>2 (Ring/Answered)...
>    -- Executing Answer("Zap/2-1", "") in new stack
>    -- Executing Wait("Zap/2-1", "1") in new stack
>    -- Executing DigitTimeout("Zap/2-1", "5") in new stack
>    -- Set Digit Timeout to 5
>    -- Executing ResponseTimeout("Zap/2-1", "10") in new stack
>    -- Set Response Timeout to 10
>    -- Executing SetMusicOnHold("Zap/2-1", "default") in new stack
>    -- Executing SetCallerID("Zap/2-1", "") in new stack
>    -- Executing SetCIDName("Zap/2-1", "") in new stack
>    -- Executing BackGround("Zap/2-1", "thank-you-for-calling") in new
>stack
>    -- Playing 'thank-you-for-calling' (language 'en')
>    -- Redirecting Zap/2-1 to fax extension
>  == Spawn extension (mainmenu, fax, 0) exited non-zero on 'Zap/2-1'
>    -- Executing Goto("Zap/2-1", "fax|699|1") in new stack
>    -- Goto (fax,699,1)
>    -- Executing Macro("Zap/2-1", "faxreceive") in new stack
>    -- Executing SetVar("Zap/2-1", "FAXFILE=/var/spool/asterisk-
>fax/1087447538.0.tif") in new stack
>    -- Executing SetVar("Zap/2-1", "EMAILADDR=ipso at snappymail.ca") in
>new stack
>    -- Executing RxFAX("Zap/2-1", "/var/spool/asterisk-fax/1087447538.0.
>tif") in new stack
>Changed from phase 0 to 1
>Slow carrier up
>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
><<< 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
>Coarse carrier frequency 1832.96 (4)
>Training error 927.702492
>Training failed (convergence failed)
>Fast carrier training failed
>    -- Executing System("Zap/2-1", "/usr/local/sbin/mailfax /var/spool/
>asterisk-fax/1087447538.0.tif ipso at snappymail.ca  ") in new stack
>TIFFOpen: /var/spool/asterisk-fax/1087447538.0.tif: Cannot open.
>
>  
>




More information about the asterisk-users mailing list