[Asterisk-Users] Software FAX Modem--One Last Request For Help

Johnson, Randy rjohnson at Spang.com
Tue Oct 28 07:50:50 MST 2003


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)....

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.

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?

Sorry for the long message, and thanks for any pointers anyone can provide,
Randy Johnson

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)
Asterisk:  Asterisk CVS-10/22/03-14:42:42 built by root at ucrpsmb01.spang.com
on a i686 running Linux
Spandsp:  built from spandsp-20031021.tgz
Hardware:  Dell Dimension 4100, IDE HD, PIII-933Mhz, 512MB RAM, 3Com
3C905B-TX NIC

/etc/asterisk/zapata.conf (for X100P):
echocancel=no
echocancelwhenbridged=no
context=demo
callerid=asreceived
signalling=fxs_ls
channel => 1

Cat /proc/interrupts:
           CPU0
  0:     319219          XT-PIC  timer
  1:        106          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:      26070          XT-PIC  eth0
  8:          1          XT-PIC  rtc
  9:     565549          XT-PIC  es1371
 10:          0          XT-PIC  usb-uhci
 11:    2664131          XT-PIC  wcfxo
 12:        399          XT-PIC  PS/2 Mouse
 14:       9956          XT-PIC  ide0
 15:      86218          XT-PIC  ide1
NMI:          0
ERR:          0

Output on * console when receiving FAX:

    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing RxFAX("Zap/1-1", "/tmp/testfax.tiff") in new stack
Changed from phase 0 to 1
Start receiving document
Changed from phase 1 to 4
Sending ident
>>> CSI: 40 38 37 36 35 34 33 32 31 20 20 20 20 20 20 20 20 20 20 20 20
DIS:
Store and forward Internet fax: no
Real-time Internet fax: no
Preferred octets: 256
Can receive fax
Data signalling rate: 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
Inch-based resolution preferred: no
Metric-based resolution preferred: no
Minimum scan line time for higher resolutions: T15.4 = T7.7
>>> DIS: 80 00 c6 f0 80 80 01
HDLC underflow in state 9
Changed from phase 4 to 3
<<< TSI: 43 20 20 20 20 20 20 20 20 33 33 33 30 20 36 39 36 20 32 31 34
TSI without final frame tag
Remote fax gave TSI as: "412 696 0333        "
<<< DCS: 83 00 46 78 00
DCS with final frame tag
In state 9
DCS:
Store and forward Internet fax: no
Real-time Internet fax: no
Can receive fax
Data signalling rate: V.29, 9600bps
R8x7.7lines/mm and/or 200x200pels/25.4mm OK
Scan line length: 215mm
Recording length: B4 (364mm)
Minimum scan line time: 0ms
Get at V.29
Changed from phase 3 to 5
Fast carrier up
Fast carrier down
Changed from phase 5 to 4
0 bad bits in trainability test
Start rx document - compression 1
Start rx page
>>> CFR: 84
HDLC underflow in state 5
Post trainability
Changed from phase 4 to 5
Fast carrier up
Fast carrier down
Fast carrier up
Fast carrier down
Fast carrier up
Equalizer state:
 -7 (        0.00000,         0.00000) ->         0.00000
 -6 (        0.00000,         0.00000) ->         0.00000
 -5 (        0.00000,         0.00000) ->         0.00000
 -4 (        0.00000,         0.00000) ->         0.00000
 -3 (       -0.61756,        -0.03965) ->         0.38295
 -2 (        0.23038,         0.68354) ->         0.52031
 -1 (       -0.30216,        -0.17821) ->         0.12306
  0 (       -2.34509,        -1.86243) ->         8.96806
  1 (       -0.30216,        -0.17821) ->         0.12306
  2 (        0.23038,         0.68354) ->         0.52031
  3 (       -0.61756,        -0.03965) ->         0.38295
  4 (        0.00000,         0.00000) ->         0.00000
  5 (        0.00000,         0.00000) ->         0.00000
  6 (        0.00000,         0.00000) ->         0.00000
  7 (        0.00000,         0.00000) ->         0.00000
Equalizer state:
 -7 (       -0.26413,         0.01494) ->         0.06999
 -6 (        0.21546,         0.63969) ->         0.45563
 -5 (        0.18946,         0.39304) ->         0.19038
 -4 (       -0.30719,        -0.28631) ->         0.17634
 -3 (       -1.06797,        -0.37488) ->         1.28108
 -2 (        0.33797,         1.14351) ->         1.42183
 -1 (        0.20738,         0.77454) ->         0.64292
  0 (       -1.96690,        -1.42811) ->         5.90821
  1 (       -0.33907,        -0.76008) ->         0.69269
  2 (        0.20528,        -0.06647) ->         0.04656
  3 (       -0.45137,        -0.01184) ->         0.20388
  4 (        0.24556,         0.41087) ->         0.22911
  5 (        0.00681,        -0.19050) ->         0.03634
  6 (       -0.07823,        -0.72290) ->         0.52871
  7 (        0.05250,        -0.20101) ->         0.04316
<...more of this...>
Fast carrier training failed
Equalizer state:
 -7 (       -0.04391,        -0.15671) ->         0.02649
 -6 (        0.02656,         0.18895) ->         0.03641
 -5 (       -0.04580,         0.17080) ->         0.03127
 -4 (       -0.02037,        -0.30735) ->         0.09488
 -3 (        0.05777,        -0.24864) ->         0.06516
 -2 (        0.09588,         0.97571) ->         0.96119
 -1 (       -0.65363,        -0.09264) ->         0.43581
  0 (       -1.12343,        -2.36205) ->         6.84135
  1 (       -0.94664,        -0.85239) ->         1.62270
  2 (       -0.01332,         0.46148) ->         0.21314
  3 (        0.04255,        -0.31674) ->         0.10214
  4 (       -0.04883,        -0.07892) ->         0.00861
  5 (       -0.12097,         0.02353) ->         0.01519
  6 (        0.07535,         0.07333) ->         0.01106
  7 (        0.05340,        -0.04189) ->         0.00461
Fast carrier down
Fast carrier up
Fast carrier down
Fast carrier up
Fast carrier down
Fast carrier up
Fast carrier down
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031028/4e6a2409/attachment.htm


More information about the asterisk-users mailing list