Hi,

I am experimenting with receiving faxes in asterisk:

exten => in_fax,1,Macro(faxreceive)
exten => in_fax,2,system(tiff2ps -2eaz -w 8.5 -h 11 ${FAXFILE} | ps2pdf - ${FAXFILE}.pdf) exten => in_fax,3,system(cp ${FAXFILE}.pdf /var/www/faxes/${CALLERID(number)}.pdf) exten => in_fax,4,system(mime-construct --to [EMAIL PROTECTED] --subject "Fax from ${CALLERID(number)} ${CALLERID(name)}" --attachment ${CALLERID(number)}.pdf --type application/pdf --file ${FAXFILE}.pdf)
exten => in_fax,5,system(rm ${FAXFILE} ${FAXFILE}.pdf)
exten => in_fax,6,Hangup

That is an extension Freepbx made, with some extensions from me, because FreePBX doesn't work well with mISDN... Wel, it receives faxes and it saves them as an tif, it also converts them to a pdf file, but the other commands aren't executed... why?

thanks for help
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to