[Asterisk-Users] FAX application does not work for me....

Dan dtoma at fx.ro
Thu Dec 11 09:03:32 MST 2003


Hi,

I have tried to install and configure the FAX app using the steps described
in several mails on this list.
When a FAX call arrives on X100P, the fax extension is executed, which looks
like:

exten => fax,1,RxFax(/var/spool/asterisk/incoming/${CALLERIDNUM}.tif)
exten => fax,2,Hangup

It tries to negociate, but nothing is received at the end and the other part
times out.
More, after this I need to manually stop and start * in order to free up the
phone line.

Can someone (who suceed using this) all the library needed to run this app,
including their versions?
Maybe I have missed something.

If I redirect the fax to a physical fax machine connected to an ATA or
TDM400 it works, so it is not an issue with the X100card (echo or something
else)

Best regards,
Dan
P.S. This is the log in the * console:

*CLI> -- Starting simple switch on 'Zap/1-1'
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing Ringing("Zap/1-1", "") in new stack
    -- Executing Wait("Zap/1-1", "3") in new stack
    -- Redirecting Zap/1-1 to fax extension
  == Spawn extension (in-pstn, fax, 0) exited non-zero on 'Zap/1-1'
    -- Executing RxFAX("Zap/1-1",
"/var/spool/asterisk/incoming/0722123456.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
T4 timeout in state 9
Changed from phase 3 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
T2 timeout
Start receiving document
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
T4 timeout in state 9
Changed from phase 3 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
T2 timeout
Start receiving document
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
T2 timeout
Start receiving document
Changed from phase 3 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
T4 timeout in state 9
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
<<< DCN: fb
DCN with final frame tag
In state 9
Disconnecting
Changed from phase 3 to 7
    -- Hungup 'Zap/1-1'





More information about the asterisk-users mailing list