[asterisk-users] Unable to execute

her Garcia herlit11 at lycos.com
Wed Nov 11 05:45:58 CST 2009


An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091111/2b828eff/attachment.htm 
-------------- next part --------------
Hello. I am trying to execute an fax reception script and i am getting the following:
[Nov 11 08:40:52] WARNING[12800]: app_system.c:88 system_exec_helper: Unable to execute '/var/lib/asterisk/scripts/mailfax "" "" "" "" "" ""'
I tried changing the permissions to the mailfax script but Asterisk still can´t execute the script.
The  macro is the following:
[macro-faxreceive] exten => s,1,Set(FAXFILE=/var/spool/asterisk/fax/${CALLEDFAX}/${UNIQUEID}) exten => s,2,Set(EXTEMAIL=${MACRO_EXTEN}/xEmail) exten => s,3,NoOP() exten => s,4,Set(EXTNAME=${MACRO_EXTEN}/xName) exten => s,5,NoOP() exten => s,6,Set(EXTCOMPANY=${MACRO_EXTEN}/xCompany) exten => s,7,nvfaxdetect(${FAXFILE}.tif) exten => s,103,Set(EXTMAIL=hsalvarezza at bit2net.com) exten => s,104,Goto(7) exten => s,105,Set(EXTNAME=Hernan) exten => s,106,Goto(7) exten => s,107,Set(EXTCOMPANY=Bit2net S.A) exten => s,108,Goto(7)
[fax] exten => 9299,1,Macro(faxreceive)
exten => h,1,System(/var/lib/asterisk/scripts/mailfax "${CALLERIDNUM}" "${CALLEDFAX}" "${EXTNAME}" "${EXTEMAIL}" "${FAXFILE}" "${EXTCOMPANY}")
Any ideas? Thanks in advanceHernán


More information about the asterisk-users mailing list