Hello everyone. I am using fax macro from voip-info.org/wiki/view/Aste … x+to+email to receive faxes in asterisk and i am getting two erros in the CLI:
Connected to Asterisk 1.6.1.6 currently running on localhost (pid = 3520)
[Nov 9 17:05:30] WARNING[3558]: pbx.c:3170 pbx_extension_helper: No application ‘DBGet’ for extension (macro-faxreceive, s, 2)
[Nov 9 17:05:30] WARNING[3558]: app_system.c:88 system_exec_helper: Unable to execute ‘/var/lib/asterisk/scripts/mailfax “” “” “” “” “/var/spool/asterisk/fax//1257797130.1” “”’
The macro i am using is the following:
[macro-faxreceive]
exten => s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${CALLEDFAX}/${UNIQUEID})
exten => s,2,DBGet(EXTEMAIL=${MACRO_EXTEN}/xEmail)
exten => s,3,NoOP()
exten => s,4,DBGet(EXTNAME=${MACRO_EXTEN}/xName)
exten => s,5,NoOP()
exten => s,6,DBGet(EXTCOMPANY=${MACRO_EXTEN}/xCompany)
exten => s,7,rxfax(${FAXFILE}.tif)
exten => s,103,SetVar(EXTMAIL=fax@company.com)
exten => s,104,Goto(7)
exten => s,105,SetVar(EXTNAME=Unknown)
exten => s,106,Goto(7)
exten => s,107,SetVar(EXTCOMPANY=Company)
exten => s,108,Goto(7)
[fax]
exten => 123456789,1,Macro(faxreceive)
exten => h,1,System(/var/lib/asterisk/scripts/mailfax “${CALLERIDNUM}” “${CALLEDFAX}” “${EXTNAME}” “${EXTEMAIL}” “${FAXFILE}” “${EXTCOMPANY}”)
[default]
exten => 123456789,1,SetVar(CALLEDFAX=${EXTEN})
exten => 123456789,2,Answer
exten => 123456789,3,Goto(fax,${EXTEN},1)
Any ideas? sorry for the long post, thanks in advance
Herlit11