Displaying 1 result from an estimated 1 matches for "fax_rx_from".
2007 Nov 14
0
Help in getting a dialplan to produce the right CDR info
...sions_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,Set(__FAX_TO_EMAIL=rgm...