[Asterisk-Users] Receiving Faxes...
Christian Gröger
mail at christiangroeger.de
Tue Apr 18 12:08:00 MST 2006
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 mail at server --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
More information about the asterisk-users
mailing list