Hi, I am trying to receive a fax with the spandsp library. The sending fax says "success" but there is no tiff file generated. I use "exten => 7000,1,rxfax(/tmp/testfax.tif)" in my extensions.conf. The connection is via SIP/G.711 as I have read on the list that this can sometimes work (I know Fax over IP is troublesome without T.38). I think the transmission should not be the problem because of the "success" on the sending fax. This is the debug output. Am I missing something? TIA, Mike *CLI> -- Executing RxFAX("SIP/uid-c5b6", "/tmp/testfax.tif") in new stack Changed from phase 0 to 1 Slow carrier up Slow carrier down 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 Slow carrier down T4 timeout in state 9 Changed from phase 3 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 T2 timeout Start receiving document 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
Dunno about not being able to generate a tiff, I got rxfax to do that, but they're badly malformed. roanoke-voip01.psknet.com/fax -- Troy Settle Pulaski Networks psknet.com 866.477.5638> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > Mike Heininger > Sent: Saturday, May 22, 2004 12:52 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] RxFAX generates no tiff file > > Hi, > > I am trying to receive a fax with the spandsp library. > The sending fax says "success" but there is no tiff file generated. > > I use "exten => 7000,1,rxfax(/tmp/testfax.tif)" in my extensions.conf. > The connection is via SIP/G.711 as I have read on the list that this > can sometimes work (I know Fax over IP is troublesome without T.38). > > I think the transmission should not be the problem because of the > "success" on the sending fax. > > This is the debug output. > > Am I missing something? > > TIA, > Mike > > > *CLI> -- Executing RxFAX("SIP/uid-c5b6", > "/tmp/testfax.tif") in new > stack > Changed from phase 0 to 1 > Slow carrier up > Slow carrier down > 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 > Slow carrier down > T4 timeout in state 9 > Changed from phase 3 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 > T2 timeout > Start receiving document > 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 > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users >
Hi Mike, Your log seems to be incomplete. It stops in the middle of the call. Regards, Steve Mike Heininger wrote:> Hi, > > I am trying to receive a fax with the spandsp library. > The sending fax says "success" but there is no tiff file generated. > > I use "exten => 7000,1,rxfax(/tmp/testfax.tif)" in my extensions.conf. > The connection is via SIP/G.711 as I have read on the list that this > can sometimes work (I know Fax over IP is troublesome without T.38). > > I think the transmission should not be the problem because of the > "success" on the sending fax. > > This is the debug output. > > Am I missing something? > > TIA, > Mike > > > *CLI> -- Executing RxFAX("SIP/uid-c5b6", "/tmp/testfax.tif") in new > stack > Changed from phase 0 to 1 > Slow carrier up > Slow carrier down > 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 > Slow carrier down > T4 timeout in state 9 > Changed from phase 3 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 > T2 timeout > Start receiving document > 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