[Asterisk-Dev] RxFAX application

Sergio Serrano Revuelto sergio.serrano at avanzada7.com
Fri Dec 19 06:49:15 MST 2003


Hi all,
	I have tested RxFAX application through X100P card. When Fax
arrive  i obtain the next trace:

     -- Starting simple switch on 'Zap/1-1'
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing SetMusicOnHold("Zap/1-1", "random") in new stack
    -- Executing WaitMusicOnHold("Zap/1-1", "5") in new stack
    -- Started music on hold, class 'random', on Zap/1-1
    -- Redirecting Zap/1-1 to fax extension
    -- Stopped music on hold on Zap/1-1
  == Spawn extension (default, fax, 0) exited non-zero on 'Zap/1-1'
    -- Executing RxFAX("Zap/1-1", "/var/spool/asterisk/fax/uno.tif") 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 32 32 39 30 31 30 31 35 39 20 20 20 20 20 20 20 20 20 20 20
TSI without final frame tag Remote fax gave TSI as: "951010922" <<< DCS:
83 00 c6 f0 80 80 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
2D coding OK
Scan line length: 215mm
Recording length: A4 (297mm)
Minimum scan line time: 0ms
Inch-based resolution preferred: no
Metric-based resolution preferred: no
Minimum scan line time for higher resolutions: T15.4 = T7.7
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 2
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
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.00000,         0.00000) ->         0.00000
 -2 (        0.25105,         0.74039) ->         0.61121
 -1 (       -0.87268,        -0.36304) ->         0.89337
  0 (       -1.79414,        -2.01854) ->         7.29345
  1 (       -0.87268,        -0.36304) ->         0.89337
  2 (        0.25105,         0.74039) ->         0.61121
  3 (        0.00000,         0.00000) ->         0.00000
  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.00649,        -0.03380) ->         0.00118
 -6 (        0.02073,        -0.00508) ->         0.00046
 -5 (        0.03125,        -0.04397) ->         0.00291
 -4 (        0.02094,        -0.05189) ->         0.00313
 -3 (        0.00954,        -0.02848) ->         0.00090
 -2 (        0.26182,         0.72429) ->         0.59315
 -1 (       -0.84074,        -0.41198) ->         0.87657
  0 (       -1.76021,        -2.05082) ->         7.30420
  1 (       -0.85500,        -0.38151) ->         0.87658
  2 (        0.22413,         0.68563) ->         0.52033
  3 (       -0.03512,        -0.10808) ->         0.01291
  4 (       -0.02204,        -0.03244) ->         0.00154
  5 (        0.04513,         0.11010) ->         0.01416
  6 (        0.05265,         0.07431) ->         0.00829
  7 (       -0.01433,        -0.11280) ->         0.01293
Equalizer state:
 -7 (        0.14017,         0.08799) ->         0.02739
 -6 (       -0.18079,        -0.02633) ->         0.03338
 -5 (        0.00565,         0.03149) ->         0.00102
 -4 (        0.15813,        -0.07292) ->         0.03032
 -3 (       -0.28991,        -0.34523) ->         0.20324
 -2 (        0.10369,         0.59990) ->         0.37063
 -1 (        0.03284,        -0.02606) ->         0.00176
  0 (       -0.11463,        -0.90551) ->         0.83309
  1 (        0.03712,         0.71173) ->         0.50794
  2 (       -0.46280,         0.55488) ->         0.52208
  3 (       -1.38062,        -1.69745) ->         4.78743
  4 (       -0.95295,        -1.72961) ->         3.89964
  5 (        0.03678,         0.07704) ->         0.00729
  6 (        0.29737,         0.77668) ->         0.69166
  7 (       -0.14636,        -0.40090) ->         0.18214
Fast carrier training failed
Equalizer state:
 -7 (        0.10167,         0.06545) ->         0.01462
 -6 (       -0.18556,        -0.02461) ->         0.03504
 -5 (        0.03031,         0.02655) ->         0.00162
 -4 (        0.18932,        -0.08902) ->         0.04377
 -3 (       -0.27593,        -0.35412) ->         0.20154
 -2 (        0.10286,         0.60211) ->         0.37311
 -1 (        0.02693,        -0.04263) ->         0.00254
  0 (       -0.11627,        -0.93750) ->         0.89242
  1 (        0.05136,         0.71292) ->         0.51089
  2 (       -0.42897,         0.60647) ->         0.55182
  3 (       -1.34283,        -1.65177) ->         4.53153
  4 (       -0.93566,        -1.74854) ->         3.93285
  5 (        0.01456,         0.00457) ->         0.00023
  6 (        0.25813,         0.72770) ->         0.59617
  7 (       -0.16644,        -0.38103) ->         0.17289
Fast carrier down
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.00000,         0.00000) ->         0.00000
 -2 (       -0.01584,         0.69450) ->         0.48258
 -1 (       -0.63544,        -0.66028) ->         0.83976
  0 (       -1.27610,        -2.60252) ->         8.40156
  1 (       -0.63544,        -0.66028) ->         0.83976
  2 (       -0.01584,         0.69450) ->         0.48258
  3 (        0.00000,         0.00000) ->         0.00000
  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.01729,        -0.02378) ->         0.00086
 -6 (        0.00842,        -0.00890) ->         0.00015
 -5 (        0.02844,        -0.01999) ->         0.00121
 -4 (        0.04652,        -0.02743) ->         0.00292
 -3 (        0.01867,        -0.02455) ->         0.00095
 -2 (       -0.00929,         0.67264) ->         0.45253
 -1 (       -0.60910,        -0.68078) ->         0.83446
  0 (       -1.22249,        -2.61184) ->         8.31617
  1 (       -0.61487,        -0.66761) ->         0.82377
  2 (       -0.02600,         0.63082) ->         0.39861
  3 (       -0.01942,        -0.09216) ->         0.00887
  4 (       -0.00753,        -0.01532) ->         0.00029
  5 (        0.00905,         0.11644) ->         0.01364
  6 (        0.03480,         0.07496) ->         0.00683
  7 (        0.02605,        -0.10599) ->         0.01191
Equalizer state:
 -7 (        0.12394,         0.07182) ->         0.02052
 -6 (       -0.23955,        -0.03540) ->         0.05864
 -5 (        0.02479,         0.00434) ->         0.00063
 -4 (        0.23746,        -0.07843) ->         0.06254
 -3 (       -0.13782,        -0.31438) ->         0.11783
 -2 (       -0.19560,         0.54387) ->         0.33406
 -1 (        0.11114,         0.07807) ->         0.01845
  0 (        0.09516,        -1.03824) ->         1.08700
  1 (       -0.15217,         0.70940) ->         0.52640
  2 (       -0.58077,         0.48989) ->         0.57728
  3 (       -0.73900,        -2.01423) ->         4.60325
  4 (       -0.21887,        -1.96429) ->         3.90635
  5 (        0.03451,        -0.13917) ->         0.02056
  6 (       -0.02000,         0.76330) ->         0.58303
  7 (       -0.00427,        -0.30750) ->         0.09457
Fast carrier trained
Equalizer state:
 -7 (        0.13597,         0.04992) ->         0.02098
 -6 (       -0.24706,        -0.04071) ->         0.06269
 -5 (        0.01439,         0.01149) ->         0.00034
 -4 (        0.24032,        -0.07076) ->         0.06276
 -3 (       -0.12811,        -0.31134) ->         0.11334
 -2 (       -0.19000,         0.54483) ->         0.33294
 -1 (        0.11261,         0.07616) ->         0.01848
  0 (        0.09853,        -1.04006) ->         1.09144
  1 (       -0.14424,         0.71451) ->         0.53133
  2 (       -0.56515,         0.49992) ->         0.56931
  3 (       -0.72070,        -2.01557) ->         4.58195
  4 (       -0.21312,        -1.98480) ->         3.98486
  5 (        0.01679,        -0.16590) ->         0.02781
  6 (       -0.04451,         0.75304) ->         0.56904
  7 (       -0.01415,        -0.29305) ->         0.08608
Fast carrier down
Segmentation fault

And i obtain 8 byte tif file.

Any Idea? I have installed tiff-3.5.7 and  spandsp-20031021. 


Best Regards,
srsergio




More information about the asterisk-dev mailing list