<style> p {margin-top:0px;margin-bottom:0px;} </style> <table border=0 width=100%% cellpadding=0 cellspacing=0 align=center> <tr> <td valign=top style='padding:8pt;'><font size=2><div>Hello. I am trying to execute an fax reception script and i am getting the following:</div><div><br></div>[Nov 11 08:40:52] WARNING[12800]: app_system.c:88 system_exec_helper: Unable to execute '/var/lib/asterisk/scripts/mailfax "" "" "" "" "" ""'<div><br></div><div>I tried changing the permissions to the mailfax script but Asterisk still can´t execute the script.</div><div><br></div><div>The macro is the following:</div><div><br></div><div><div>[macro-faxreceive]</div><div> exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${CALLEDFAX}/${UNIQUEID})</div><div> exten => s,2,Set(EXTEMAIL=${MACRO_EXTEN}/xEmail)</div><div> exten => s,3,NoOP()</div><div> exten => s,4,Set(EXTNAME=${MACRO_EXTEN}/xName)</div><div> exten => s,5,NoOP()</div><div> exten =!
> s,6,Set(EXTCOMPANY=${MACRO_EXTEN}/xCompany)</div><div> exten => s,7,nvfaxdetect(${FAXFILE}.tif)</div><div> exten => s,103,Set(EXTMAIL=hsalvarezza@bit2net.com)</div><div> exten => s,104,Goto(7)</div><div> exten => s,105,Set(EXTNAME=Hernan)</div><div> exten => s,106,Goto(7)</div><div> exten => s,107,Set(EXTCOMPANY=Bit2net S.A)</div><div> exten => s,108,Goto(7)</div><div><br></div><div>[fax]</div><div> exten => 9299,1,Macro(faxreceive)</div><div><br></div><div>exten => h,1,System(/var/lib/asterisk/scripts/mailfax "${CALLERIDNUM}" "${CALLEDFAX}" "${EXTNAME}" "${EXTEMAIL}" "${FAXFILE}" "${EXTCOMPANY}")</div><div><br></div></div><div>Any ideas? Thanks in advance</div><div>Hernán</div>
</font></td></tr>
</table>