Displaying 1 result from an estimated 1 matches for "fax_to_email".
Did you mean:
__fax_to_email
2007 Nov 14
0
Help in getting a dialplan to produce the right CDR info
...-custom
#include extensions_fax.conf
[custom-fax1]
exten => s,1,Answer
exten => s,n,StopPlayTones
exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten => s,n,rxfax(${FAXFILE})
exten => s,n,Hangup
exten => h,1,system(/var/lib/asterisk/bin/fax-process.pl --to
${FAX_TO_EMAIL} --from ${FAX_RX_FROM} --subject "Fax from
${URIENCODE(${CALLERID(number)})} ${URIENCODE(${CALLERID(name)})}"
--attachment fax_${URIENCODE(${CALLERID(number)})}.pdf --type
application/pdf --file ${FAXFILE});
exten => h,2,Hangup()
And extensions_fax.conf has:
exten => 29809,1,S...