[email protected] wrote on 03/02/2015 08:27:07 AM:

> From: "Stefan Viljoen" <[email protected]>
> To: <[email protected]>, 
> Date: 03/02/2015 08:27 AM
> Subject: [asterisk-users] System() command refuses to execute bash 
script

> How can I use System to run a bash script?

Just to rule out some weird permissions issue, try to write the file to 
some directory that has full read/write permissions to everyone (eg 777). 
If the file can be written to that directory you probably have a 
permissions issue still. I run my asterisk under the asterisk user and 
have it kick of scripts that write to a folder on the system all the time. 
The folder has full permissions for the Asterisk user.

Give it a shot and see what you get.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to