[asterisk-users] txfax/rxfax fun

Danny Nicholas danny at debsinc.com
Mon Dec 22 14:51:15 CST 2008


Hi Gang,

             I'm trying to make an application to upload a tiff via a web
interface, slap a cover page onto it, merge the two into a new tiff and send
it out via txfax.  I'm able to get it out to a fax machine using this
sequence:

/usr/bin/tiff2pdf /tmp/faxout/1229978819_filea.tif -o
/tmp/faxout/1229978819_filea.pdf
/usr/bin/gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite
-OutputFile=/srv/www/htdocs/faxout/1229978819_fin.pdf
/srv/www/htdocs/faxout/1229978819_faxout.pdf
/tmp/faxout/1229978819_filea.pdf
cp /srv/www/htdocs/faxout/1229978819_fin.pdf
/srv/www/htdocs/faxout/1229978819_faxout.pdf
convert -compress group4 -monochrome -negate -units pixelsperinch -page
1758x1075 /srv/www/htdocs/faxout/1229978819_fin.pdf
/srv/www/htdocs/faxout/1229978819_out.tif

 

Call file 

Channel: Zap/2/ww205xxxxxxx,60

CallerID: SIP/108

MaxRetries: 1

WaitTime: 60

retryTime: 5

SetVar: LOCALHEADERINFO=Asterisk Fax 

Application: txfax

Data: /srv/www/htdocs/faxout/1229978108_out.tif|caller|debug|ecm

 

The problems I'm having are:

1.	RXFax won't receive the fax
2.	I can't change the page resolution or TXFax will fail to send the
fax.

 

Any Ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081222/70273d75/attachment.htm 


More information about the asterisk-users mailing list