<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.35">
<TITLE>Software FAX Modem--One Last Request For Help</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Here's one last plea for help from the list before I give up on the totally cool software FAX modem concept in complete despair (for now, at least, until I have more time to dig into it)....</FONT></P>
<P><FONT SIZE=2>I am simply not able to successfully receive a FAX no matter what device I transmit from or how I bring the call into Asterisk. My lastest effort was a call from a Pitney-Bowes FAX machine into an X100P on an analog extension off our Nortel Option 11C PBX. It's not the Nortel PBX--we have analog modems and faxmodems all over the place here, and even a Lucent Portmaster on a CT1, hanging off that PBX and all work fine. Besides, I've already tried several different faxmodems plugged directly into an S100U on the * box running RxFax, I've tried sending calls across my T100P, I've tried TDMoE on a lightly-loaded Ethernet segment, I even tried an IAX trunk just for kicks. None of these configurations gave substantially different results. The only thing I haven't tried is a TDM400P, because I don't own one.</FONT></P>
<P><FONT SIZE=2>Anyway, here is my configuration. Does anyone see ANYTHING that looks amiss? Do I need SCSI drives? A P4 CPU? Patched kernel? Disabled sound? Enabled sound? Windows Server 2003? (just checking...) Does anything jump out? What's going wrong for me?</FONT></P>
<P><FONT SIZE=2>Sorry for the long message, and thanks for any pointers anyone can provide,</FONT>
<BR><FONT SIZE=2>Randy Johnson</FONT>
</P>
<P><FONT SIZE=2>Linux: Linux ucrpsmb01.spang.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux (stock RH 9 kernel)</FONT>
<BR><FONT SIZE=2>Asterisk: Asterisk CVS-10/22/03-14:42:42 built by root@ucrpsmb01.spang.com on a i686 running Linux</FONT>
<BR><FONT SIZE=2>Spandsp: built from spandsp-20031021.tgz</FONT>
<BR><FONT SIZE=2>Hardware: Dell Dimension 4100, IDE HD, PIII-933Mhz, 512MB RAM, 3Com 3C905B-TX NIC</FONT>
</P>
<P><FONT SIZE=2>/etc/asterisk/zapata.conf (for X100P):</FONT>
<BR><FONT SIZE=2>echocancel=no</FONT>
<BR><FONT SIZE=2>echocancelwhenbridged=no</FONT>
<BR><FONT SIZE=2>context=demo</FONT>
<BR><FONT SIZE=2>callerid=asreceived</FONT>
<BR><FONT SIZE=2>signalling=fxs_ls</FONT>
<BR><FONT SIZE=2>channel => 1</FONT>
</P>
<P><FONT SIZE=2>Cat /proc/interrupts:</FONT>
<BR><FONT SIZE=2> CPU0</FONT>
<BR><FONT SIZE=2> 0: 319219 XT-PIC timer</FONT>
<BR><FONT SIZE=2> 1: 106 XT-PIC keyboard</FONT>
<BR><FONT SIZE=2> 2: 0 XT-PIC cascade</FONT>
<BR><FONT SIZE=2> 3: 26070 XT-PIC eth0</FONT>
<BR><FONT SIZE=2> 8: 1 XT-PIC rtc</FONT>
<BR><FONT SIZE=2> 9: 565549 XT-PIC es1371</FONT>
<BR><FONT SIZE=2> 10: 0 XT-PIC usb-uhci</FONT>
<BR><FONT SIZE=2> 11: 2664131 XT-PIC wcfxo</FONT>
<BR><FONT SIZE=2> 12: 399 XT-PIC PS/2 Mouse</FONT>
<BR><FONT SIZE=2> 14: 9956 XT-PIC ide0</FONT>
<BR><FONT SIZE=2> 15: 86218 XT-PIC ide1</FONT>
<BR><FONT SIZE=2>NMI: 0</FONT>
<BR><FONT SIZE=2>ERR: 0</FONT>
</P>
<P><FONT SIZE=2>Output on * console when receiving FAX:</FONT>
</P>
<P><FONT SIZE=2> -- Executing Answer("Zap/1-1", "") in new stack</FONT>
<BR><FONT SIZE=2> -- Executing RxFAX("Zap/1-1", "/tmp/testfax.tiff") in new stack</FONT>
<BR><FONT SIZE=2>Changed from phase 0 to 1</FONT>
<BR><FONT SIZE=2>Start receiving document</FONT>
<BR><FONT SIZE=2>Changed from phase 1 to 4</FONT>
<BR><FONT SIZE=2>Sending ident</FONT>
<BR><FONT SIZE=2>>>> CSI: 40 38 37 36 35 34 33 32 31 20 20 20 20 20 20 20 20 20 20 20 20</FONT>
<BR><FONT SIZE=2>DIS:</FONT>
<BR><FONT SIZE=2>Store and forward Internet fax: no</FONT>
<BR><FONT SIZE=2>Real-time Internet fax: no</FONT>
<BR><FONT SIZE=2>Preferred octets: 256</FONT>
<BR><FONT SIZE=2>Can receive fax</FONT>
<BR><FONT SIZE=2>Data signalling rate: V.29</FONT>
<BR><FONT SIZE=2>R8x7.7lines/mm and/or 200x200pels/25.4mm OK</FONT>
<BR><FONT SIZE=2>2D coding OK</FONT>
<BR><FONT SIZE=2>Scan line length: 215mm</FONT>
<BR><FONT SIZE=2>Recording length: A4 (297mm)</FONT>
<BR><FONT SIZE=2>Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85</FONT>
<BR><FONT SIZE=2>R8x15.4lines/mm OK</FONT>
<BR><FONT SIZE=2>Inch-based resolution preferred: no</FONT>
<BR><FONT SIZE=2>Metric-based resolution preferred: no</FONT>
<BR><FONT SIZE=2>Minimum scan line time for higher resolutions: T15.4 = T7.7</FONT>
<BR><FONT SIZE=2>>>> DIS: 80 00 c6 f0 80 80 01</FONT>
<BR><FONT SIZE=2>HDLC underflow in state 9</FONT>
<BR><FONT SIZE=2>Changed from phase 4 to 3</FONT>
<BR><FONT SIZE=2><<< TSI: 43 20 20 20 20 20 20 20 20 33 33 33 30 20 36 39 36 20 32 31 34</FONT>
<BR><FONT SIZE=2>TSI without final frame tag</FONT>
<BR><FONT SIZE=2>Remote fax gave TSI as: "412 696 0333 "</FONT>
<BR><FONT SIZE=2><<< DCS: 83 00 46 78 00</FONT>
<BR><FONT SIZE=2>DCS with final frame tag</FONT>
<BR><FONT SIZE=2>In state 9</FONT>
<BR><FONT SIZE=2>DCS:</FONT>
<BR><FONT SIZE=2>Store and forward Internet fax: no</FONT>
<BR><FONT SIZE=2>Real-time Internet fax: no</FONT>
<BR><FONT SIZE=2>Can receive fax</FONT>
<BR><FONT SIZE=2>Data signalling rate: V.29, 9600bps</FONT>
<BR><FONT SIZE=2>R8x7.7lines/mm and/or 200x200pels/25.4mm OK</FONT>
<BR><FONT SIZE=2>Scan line length: 215mm</FONT>
<BR><FONT SIZE=2>Recording length: B4 (364mm)</FONT>
<BR><FONT SIZE=2>Minimum scan line time: 0ms</FONT>
<BR><FONT SIZE=2>Get at V.29</FONT>
<BR><FONT SIZE=2>Changed from phase 3 to 5</FONT>
<BR><FONT SIZE=2>Fast carrier up</FONT>
<BR><FONT SIZE=2>Fast carrier down</FONT>
<BR><FONT SIZE=2>Changed from phase 5 to 4</FONT>
<BR><FONT SIZE=2>0 bad bits in trainability test</FONT>
<BR><FONT SIZE=2>Start rx document - compression 1</FONT>
<BR><FONT SIZE=2>Start rx page</FONT>
<BR><FONT SIZE=2>>>> CFR: 84</FONT>
<BR><FONT SIZE=2>HDLC underflow in state 5</FONT>
<BR><FONT SIZE=2>Post trainability</FONT>
<BR><FONT SIZE=2>Changed from phase 4 to 5</FONT>
<BR><FONT SIZE=2>Fast carrier up</FONT>
<BR><FONT SIZE=2>Fast carrier down</FONT>
<BR><FONT SIZE=2>Fast carrier up</FONT>
<BR><FONT SIZE=2>Fast carrier down</FONT>
<BR><FONT SIZE=2>Fast carrier up</FONT>
<BR><FONT SIZE=2>Equalizer state:</FONT>
<BR><FONT SIZE=2> -7 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2> -6 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2> -5 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2> -4 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2> -3 ( -0.61756, -0.03965) -> 0.38295</FONT>
<BR><FONT SIZE=2> -2 ( 0.23038, 0.68354) -> 0.52031</FONT>
<BR><FONT SIZE=2> -1 ( -0.30216, -0.17821) -> 0.12306</FONT>
<BR><FONT SIZE=2> 0 ( -2.34509, -1.86243) -> 8.96806</FONT>
<BR><FONT SIZE=2> 1 ( -0.30216, -0.17821) -> 0.12306</FONT>
<BR><FONT SIZE=2> 2 ( 0.23038, 0.68354) -> 0.52031</FONT>
<BR><FONT SIZE=2> 3 ( -0.61756, -0.03965) -> 0.38295</FONT>
<BR><FONT SIZE=2> 4 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2> 5 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2> 6 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2> 7 ( 0.00000, 0.00000) -> 0.00000</FONT>
<BR><FONT SIZE=2>Equalizer state:</FONT>
<BR><FONT SIZE=2> -7 ( -0.26413, 0.01494) -> 0.06999</FONT>
<BR><FONT SIZE=2> -6 ( 0.21546, 0.63969) -> 0.45563</FONT>
<BR><FONT SIZE=2> -5 ( 0.18946, 0.39304) -> 0.19038</FONT>
<BR><FONT SIZE=2> -4 ( -0.30719, -0.28631) -> 0.17634</FONT>
<BR><FONT SIZE=2> -3 ( -1.06797, -0.37488) -> 1.28108</FONT>
<BR><FONT SIZE=2> -2 ( 0.33797, 1.14351) -> 1.42183</FONT>
<BR><FONT SIZE=2> -1 ( 0.20738, 0.77454) -> 0.64292</FONT>
<BR><FONT SIZE=2> 0 ( -1.96690, -1.42811) -> 5.90821</FONT>
<BR><FONT SIZE=2> 1 ( -0.33907, -0.76008) -> 0.69269</FONT>
<BR><FONT SIZE=2> 2 ( 0.20528, -0.06647) -> 0.04656</FONT>
<BR><FONT SIZE=2> 3 ( -0.45137, -0.01184) -> 0.20388</FONT>
<BR><FONT SIZE=2> 4 ( 0.24556, 0.41087) -> 0.22911</FONT>
<BR><FONT SIZE=2> 5 ( 0.00681, -0.19050) -> 0.03634</FONT>
<BR><FONT SIZE=2> 6 ( -0.07823, -0.72290) -> 0.52871</FONT>
<BR><FONT SIZE=2> 7 ( 0.05250, -0.20101) -> 0.04316</FONT>
<BR><FONT SIZE=2><...more of this...></FONT>
<BR><FONT SIZE=2>Fast carrier training failed</FONT>
<BR><FONT SIZE=2>Equalizer state:</FONT>
<BR><FONT SIZE=2> -7 ( -0.04391, -0.15671) -> 0.02649</FONT>
<BR><FONT SIZE=2> -6 ( 0.02656, 0.18895) -> 0.03641</FONT>
<BR><FONT SIZE=2> -5 ( -0.04580, 0.17080) -> 0.03127</FONT>
<BR><FONT SIZE=2> -4 ( -0.02037, -0.30735) -> 0.09488</FONT>
<BR><FONT SIZE=2> -3 ( 0.05777, -0.24864) -> 0.06516</FONT>
<BR><FONT SIZE=2> -2 ( 0.09588, 0.97571) -> 0.96119</FONT>
<BR><FONT SIZE=2> -1 ( -0.65363, -0.09264) -> 0.43581</FONT>
<BR><FONT SIZE=2> 0 ( -1.12343, -2.36205) -> 6.84135</FONT>
<BR><FONT SIZE=2> 1 ( -0.94664, -0.85239) -> 1.62270</FONT>
<BR><FONT SIZE=2> 2 ( -0.01332, 0.46148) -> 0.21314</FONT>
<BR><FONT SIZE=2> 3 ( 0.04255, -0.31674) -> 0.10214</FONT>
<BR><FONT SIZE=2> 4 ( -0.04883, -0.07892) -> 0.00861</FONT>
<BR><FONT SIZE=2> 5 ( -0.12097, 0.02353) -> 0.01519</FONT>
<BR><FONT SIZE=2> 6 ( 0.07535, 0.07333) -> 0.01106</FONT>
<BR><FONT SIZE=2> 7 ( 0.05340, -0.04189) -> 0.00461</FONT>
<BR><FONT SIZE=2>Fast carrier down</FONT>
<BR><FONT SIZE=2>Fast carrier up</FONT>
<BR><FONT SIZE=2>Fast carrier down</FONT>
<BR><FONT SIZE=2>Fast carrier up</FONT>
<BR><FONT SIZE=2>Fast carrier down</FONT>
<BR><FONT SIZE=2>Fast carrier up</FONT>
<BR><FONT SIZE=2>Fast carrier down</FONT>
</P>
</BODY>
</HTML>