Displaying 1 result from an estimated 1 matches for "__fax_to_email".
2007 Nov 14
0
Help in getting a dialplan to produce the right CDR info
...-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 at htt-consult.com)
exten => 29809,n,Macro(just-user-callerid,)
exten => 29809,n,Goto(custom-fax1,s,1)
[macro-just-user-callerid]
exten => s,1,Set(AMPUSER=${DB(DEVICE/${CALLERID(number)}/user)})
exten => s,n,Set(AMPUSERCIDNAME=${DB(AMPUSER/${AMPUSER}/cidname)})
exten => s,n,Set(...