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 <[email protected]> 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=
> [email protected]) 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
>
_______________________________________________
-- 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

Reply via email to