[asterisk-users] Unable to execute

Steven Ringwald ringwald at gmail.com
Wed Nov 11 06:40:58 CST 2009


Is SELinux enabled on the machine? If it is, you might have a problem with
the asterisk process being able to execute in that directory.

On Wed, Nov 11, 2009 at 4:38 AM, her Garcia <herlit11 at lycos.com> wrote:

> 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
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091111/e933fb4e/attachment.htm 


More information about the asterisk-users mailing list