Re: [asterisk-users] "Problems" with System() application

2011-07-20 Thread Steve Edwards
On Wed, 20 Jul 2011, Antonio Modesto wrote: System(/bin/sh /var/spool/asterisk/calllog/log.sh ${FromExt} ${exten}); Specifying '/bin/sh' is not necessary. The system() dialplan application calls the execl() system function with the command '/bin/sh -c' so specifying '/bin/sh foo' results in

Re: [asterisk-users] "Problems" with System() application

2011-07-20 Thread Jorge GutiƩrrez
Are you able to execute: log.sh through the asterisk user? On Wed, 20 Jul 2011 14:53:53 -0300, Antonio Modesto wrote: > Good afternoon, > > I am trying to use the System() application but it is always > returning APPERROR in the ${SYSTEMSTATUS} variable, I am trying to run > this command:

[asterisk-users] "Problems" with System() application

2011-07-20 Thread Antonio Modesto
Good afternoon, I am trying to use the System() application but it is always returning APPERROR in the ${SYSTEMSTATUS} variable, I am trying to run this command: System(/bin/sh /var/spool/asterisk/calllog/log.sh ${FromExt} ${exten}); This is the content of the /var/spool/asterisk/cal