Displaying 1 result from an estimated 1 matches for "faxtxt".
Did you mean:
faxopt
2005 Feb 15
1
"System" command causes core dump Warning: Newbie help :)
With the following program:
#!/bin/sh
# mailfax: program to email received fax as pdf
FAXFILE=$1
RECIPIENT=$2
FAXSENDER=$3
FAXID=`basename $1|cut -d "." -f1,2`.pdf
FAXTXT=`basename $1|cut -d "." -f1,2`.txt
tiff2pdf $FAXFILE > $FAXID
sendfax.pl $FAXID $RECIPIENT $FAXSENDER $FAXFILE
#end of program
If I execute the following from the command line:
mailfax /var/spool/asterisk/fax/1108470308.13060.tif
somebody@company.co.uk 0178933333
everything works...