[Asterisk-Users] SoftFAX/spandsp

reseaux reseauxit at yahoo.it
Mon Mar 29 12:43:11 MST 2004


Dear Steve
	I installed the new version of spandsp 1i i used Mandrake 9.2 and upgrade my 
libtiff with newer and also copy tiff header files as you write in README:
libtiff3-3.5.7-11mdk
libtiff-progs-3.5.7-11mdk
libtiff3-devel-3.5.7-11mdk
--
But when i send a Fax from my Canon B150 i have the following error:
    -- Starting simple switch on 'Zap/33-1'
    -- Executing RxFAX("Zap/33-1", "/home/user/testfax.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
Slow carrier up
<<< TSI: 43 37 30 38 30 35 33 31 33 33 30 20 20 20 20 20 20 20 20 20 20
TSI without final frame tag
Remote fax gave TSI as: "031xxxxx"
<<< DCS: 83 00 86 a0 00
DCS with final frame tag
In state 9
DCS:
Can receive fax
Selected data signalling rate: V.29, 9600bps
2D coding OK
Scan line length: 215mm
Recording length: A4 (297mm)
Minimum scan line time: 10ms
Get at 9600
Changed from phase 3 to 5
Fast carrier up
Floating point exception
[root at pbx asterisk]# Ouch ... error while writing audio data: : Broken pipe
Ouch ... error while writing audio data: : Broken pipe
-----
And Crashed...
The Fax is connect to FXS line of my TDM400
Canon--->TDM400 

Finaly i used Asterisk cvs Satble 1_0.
Can you give some tips :-).
Thanks in advance
Dimitri

On Monday 29 March 2004 13:00, Reynaldo Simbulan wrote:
> Hi Steve,
>
> You're right it is just the libtiff. I have uninstall 3.6 and 3.5 and
> reinstall 3.5.7-11. Thanks,  it is now receiving fax.
>
> Although after receiving the fax, the zap channel is not disconnecting. ?
> On the fax client it was successfully sent and the tif file is complete.
>
> Here is my extensions.conf:
> exten => s,1,Answer
> exten => s,2,SetVar(FAXNAME=${TIMESTAMP}-${CALLERIDNUM})
> exten => s,3,RxFax(/var/lib/asterisk/fax/new/${FAXNAME}.tif)
> exten => s,4,Hangup
> exten => i,1,Hangup
> exten => h,1,Hangup
>
>
> And here is the log file:
>
> Page 1 of /var/lib/asterisk/fax/new/20040329-234801-0755965128.tif:
> 1116 rows received
> 0 total bad rows
> 0 max consecutive bad rows
> Rx page end detected
> Changed from phase 5 to 3
> Slow carrier up
> Slow carrier down
> Slow carrier up
> <<< EOP: 2f
> EOP with final frame tag
> In state 5
> Changed from phase 3 to 4
>
> >>> MCF: 8c
>
> HDLC underflow in state 8
> Changed from phase 4 to 3
> Slow carrier up
> <<< DCN: fb
> DCN with final frame tag
> In state 8
> Disconnecting
> Changed from phase 3 to 7
>
> *CLI> show channels
>         Channel  (Context    Extension    Pri )   State Appl.         Data
>         Zap/1-1  (faxserver    s            3   )      Up RxFAX
> /var/lib/asterisk/fax/new/20040329-234801-0755965128.tif
> 1 active channel(s)
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list