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?

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to