Steve Underwood wrote:

I am taking note of people's messages about soft fax, even if I might appear to be ignoring them. I am getting V.27ter finished off right now, to flesh out the facilities in the software. V.27ter is used for 4800bps and 2400bps faxes - not critically important, but useless for lousy lines. That's seems to be nearly functional now, so I should soon be back to fixing things.

Most of the crashes seem to be where people have an older version of libtiff. In each case I've followed up on they have a nice new libtiff, but still had an old version too. Older versions seem to cause trouble. I don't intend to find out why, since newer versions are OK.

An 8 byte TIFF file means it has been opened, and a header written. The basic TIFF header is always 8 bytes.


I have "8 byte problem" only if the file name contains ':' ( if usung rxfax(/var/spool/fax/${DATETIME} ... )



Regards,
Steve


Brian West wrote:


Good for you... All I can get are 8 byte tiff files.

On Tue, 28 Oct 2003, Brian Schrock wrote:



Everyone,

Just thought I would drop a line telling everyone here I have the software
RxFAX/TxFAX up and running without any real problems. I did have to.....


RH 9.0

1) Install an audio devel rpm

1) install libtiff from source, and copy over a bunch of include files to
/usr/local/include


2) build/install spandsp

3) move app_rxfax.c and app_txfax.c to apps/ dir in asterisk source tree.

4) move Makefile.patch from oncall to apps/ dir in asterisk

5) patch the makefile

6) edit the makefile and remove all references to steve's home dir to make
it point to my spandsp source directory.


7) rebuild/install asterisk

8) Create a dir incoming/ in /var/spool/asterisk

9) edit extensions.conf and add the following line to the incoming call
contexts I have set up.
exten => fax,1,RxFAX(/var/spool/asterisk/incoming/${CALLERIDNUM}.tif)


10) create a script that emails me the tif files every time they are
received in incoming/ and delete them.

#/bin/sh
cd /var/spool/asterisk/incoming
for X in *.tif
do
       if [ -f $X ] ; then
               mutt -s "FAX from $X" -a $X [EMAIL PROTECTED] <
/dev/null
               rm $X
       fi
done

11) Add a cronjob to run my script every 5 minutes.
   */5 * * * * /usr/sbin/mailfax

12) Test and enjoy.

To send a fax all I have to do is....

1) Get the .tif file on the server somewhere

2) Put a file sample.call in the /var/spool/asterisk/outgoing/ directory and
it looks like this...


Channel: Zap/3/7989106

Application: txfax
Data: /root/fax.tiff

3) Asterisk will send it or keep trying until it send it as soon as I :wq
the file in vi.


Pretty simple, I hope this helps someone else.


Brian J. Schrock
Anistone Technologies, LLC
6926 Avery Rd.
Dublin, OH 43017
Phone: 614-798-9106
FAX: 614-798-9106



_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users



--
----
---------
Best Regards,
    Pavel Litvinenko.
    ICQ: 16224754
    Ph: (8632) 923962, 923640
    sip:[EMAIL PROTECTED]



_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to