[asterisk-users] [Fwd: Re: spandsp 0.0.3 RxFax fax
reception crashes bristuffed asterisk 1.2.13]
Danny
dineshg at hostway.com
Tue Dec 19 00:56:37 MST 2006
Hi Hermann !
I am using this script [ check the commented line ]
#!/bin/sh
FAXFILE=$1
RECIPIENT=$2
FAXSENDER=$3
#tiff2ps -2eaz -w 8.3 -h 11.7 $FAXFILE |
# ps2pdf - |
# mime-construct --to $RECIPIENT --subject "Fax from $FAXSENDER" \
# --attachment fax.pdf --type application/pdf --file -
######################################### yur work is done here ! !!
# Modified version >>>>
dirname=`dirname $FAXFILE`
basename=`basename $FAXFILE`
cd $dirname
zip ${basename}.zip $basename
mime-construct --to $RECIPIENT --subject "Fax from $FAXSENDER" \
--attachment fax.tiff.zip --type application/x-gzip --file
${FAXFILE}.zip #"gzip -c $FAXFILE "
- Danny
Hermann Wecke wrote:
> Danny wrote:
>> Finally I got 0.0.2pre26 running on debian sarge 3.1, without a crash !
>
> After a lot of trouble, I was able to make RxFAX to work with 1.2.14,
> debian sarge and 2pre26.
>
> Now the problem is the TIF to PS to PDF... Are you using the debian
> ghostscript (gs-gpl) package? The command
> tiff2ps -1eaz -w 8.5 -h 11 ${FAXFILE} | ps2pdf - ${FAXFILE}.pdf
> results in a blank pdf page.
>
More information about the asterisk-users
mailing list