Dear Steve I have try your very nice app for * but i have found the problem (see down) when i receive a fax to extension, can you give some more info about it? Another question how can i send a fax to a specified number? Thanks in advance Dimitri
-------------------------------------------------------------------------------------------------------------- CLI> -- 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 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: "0331350807" <<< 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 Coarse carrier frequency 1735.25 (9) Fast carrier down Fast carrier up Coarse carrier frequency 1699.33 (86) Fast carrier training failed Fast carrier down Fast carrier up Coarse carrier frequency 1700.11 (4915) Fast carrier down Fast carrier up Coarse carrier frequency 1699.27 (86) Fast carrier training failed Fast carrier down Fast carrier up Coarse carrier frequency 1700.09 (4914) Fast carrier down Fast carrier up Coarse carrier frequency 1699.28 (86) Fast carrier training failed Fast carrier down Fast carrier up Coarse carrier frequency 1700.11 (2925) Fast carrier down -- Executing Hangup("Zap/33-1", "") in new stack == Spawn extension (local, h, 1) exited non-zero on 'Zap/33-1' -- Hungup 'Zap/33-1' ------------------------------------------------------------------------------------ On Tuesday 16 March 2004 15:00, Steve Underwood wrote: > Hi all, > > After a long time having no time, I have finally done some fresh work on > my software fax machine. I have replaced the original carrier tracking > with something more robust. I have also added 4800, and 2400 bits per > second modes, and cleaned up a few bugs in areas like superfine mode > operation. I apologise for this update taking so long. > > At ftp://ftp.opencall.org/pub/spandsp you will find a new version of the > software. You will need TIFF version 5.5.7 or later installed on your > machine. Make sure no earlier version is there - they seem to cause > crashes. Depending how TIFF has been installed on your machine, you may > need to copy the header files, tif_dir.h and tiffiop.h, which you can on > my FTP site, to your /usr/include directory (some systems seem to > install these, and some do not - spandsp needs them installed to build). > The spandsp library may be built by unpacking the tarball, cd'ing to the > directory and using the time honoured incantation: > > ./configure > make > make install > > or if you are using RedHat, Fedora, or something else that uses RPMs > > rpmbuild -tb spandsp-0.0.1.tar.gz > > should build spandsp RPMs straight from the tar file. Then you just need > to install them. > > Add the files rxfax.c, txfax.c and dtmftotext.c (the last one has > nothing to do with the fax machine, but my makefile patch expects it to > be present) to the apps directory of your * source tree. Then use > Makefile.patch to patch the makefile in the apps directory with: > > patch < Makefile.patch > > Now if you rebuild and install * it should install these new apps. > > OK, so how do you use them? Something like the following: > > exten => 5678,1,rxfax(/home/steveu/testfax.tif) > > will receive a fax if a fax machine dials 5678. The fax will be stored > as the /home/steveu/testfax.tif. Similarly: > > exten => 6789,1,txfax(/home/steveu/testfax.tif) > > will send the fax file /home/steveu/testfax.tif, when a fax machine > dials 6789. > > Regards, > Steve > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users