[Asterisk-Users] Problems reciving fax with Asterisk

Michael Løjtnant ml at zyxel.dk
Fri Jun 18 02:37:40 MST 2004


Hi,

I am trying to recice a fax with * using SpanDSP - but it doesn't create the output file. (See the bottom of log file).
* Loads both app_rxfax.so and app_txfax.so fine.
Also I can't make * autodetect an incomming fax call (yes I have enabled faxdetect=both in zapata.conf - though it's not a Zap device)

Any ideas are welcome :-)

Best Regards
 Michael Løjtnant

System Details:

Lastest * CVS-HEAD
Libtiff-3.5.7
Linux-2.6.6 kernel
Fritz AVM ISDN Card

extension.conf:

[incomming]

exten => s,1,Answer
exten => s,2,rxfax("/tmp/minfax.tif")
exten => s,3,hangup

Console Log:

    -- Executing Answer("Modem[i4l]/ttyI0", "") in new stack
    -- Executing RxFAX("Modem[i4l]/ttyI0", "/tmp/minfax.tif") in new stack
Changed from phase 0 to 1
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
T4 timeout in state 9
Changed from phase 3 to 4
Sending ident
>>> CSI: 40 08 14 ce 18 f0 7a 15 af 14 c6 ef 10 e7 61 0b 44 1b 20 fb 59
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 08 14 ce 18 1b 38 0e a4 ec af e6 e4 06 02 1c 21 09 a9 e9 0c
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
T4 timeout in state 9
Changed from phase 3 to 4
Sending ident
>>> CSI: 40 84 1c 0a 06 ae e5 65 f3 2b 17 ba 12 49 ec af e9 40 0e 0c 19
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 08 14 ce 18 19 b4 12 49 ef e8 e5 2c 01 8e 1b 78 0d bf eb b3
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
T2 timeout
Start receiving document
Changed from phase 3 to 4
Sending ident
>>> CSI: 40 08 14 ce 18 01 8e 1b 78 0d bf eb b3 e7 61 07 04 1c 2e 08 ae
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
T4 timeout in state 9
Sending ident
>>> CSI: 40 08 14 ce 18 ec f0 12 8c 17 58 f2 dc e5 83 07 04 1c 01 ff 7b
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
T2 timeout
Start receiving document
Changed from phase 3 to 4
Sending ident
>>> CSI: 40 08 14 ce 18 18 9e f8 fb e3 d1 f7 51 17 ba 15 76 f3 c9 e4 22
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
T4 timeout in state 9
Sending ident
>>> CSI: 40 84 1b 38 0e a4 ec af e6 e4 06 02 1c 21 09 a9 e9 0c e9 e1 0b
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
T2 timeout
Start receiving document
Changed from phase 3 to 4
Sending ident
>>> CSI: 40 08 14 ce 18 ec f0 0e f0 1b 20 ff 7b e4 c7 f1 5b 13 50 19 1b
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
T4 timeout in state 9
Sending ident
>>> CSI: 40 84 1b 38 0e a4 ec af e6 e4 06 02 1c 21 09 a9 e9 0c e9 e1 0b
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
<<< XCN: fa
XCN with final frame tag
In state 9
Disconnecting
Changed from phase 3 to 7
Changed from phase 7 to 8
Jun 18 11:30:27 NOTICE[327684]: channel.c:1651 ast_set_read_format: Unable to find a path from SLINR to UNKN
Jun 18 11:30:27 WARNING[327684]: app_rxfax.c:253 rxfax_exec: Unable to restore read format on 'Modem[i4l]/ttyI0'
Jun 18 11:30:27 NOTICE[327684]: channel.c:1618 ast_set_write_format: Unable to find a path from UNKN to SLINR
Jun 18 11:30:27 WARNING[327684]: app_rxfax.c:259 rxfax_exec: Unable to restore write format on 'Modem[i4l]/ttyI0'
  == Spawn extension (incomming, s, 2) exited non-zero on 'Modem[i4l]/ttyI0'
    -- Hungup 'Modem[i4l]/ttyI0'


-- 
Med venlig hilsen / Best regards

Michael Løjtnant - Systems Engineer
ZyXEL Communications A/S
Columbusvej 5 - 2860 Søborg
Tel (+45) 3955 0700 - Fax (+45) 3955 0707



More information about the asterisk-users mailing list