Hi All I'm using this extension to try and get Asterisk 1.8.11.0 to run a bash script:
exten=>802,n,System(/bin/sh -f /root/wireless.sh) This file is -rwxr-xr-x 1 root root 171 Mar 2 16:23 wireless.sh e.g. root owns the file, and it has execute permissions for all users. Asterisk runs as root as well. Asterisk executes the command without any errors at max verbosity. The file wireless.sh contains: #!/bin/bash touch wireless-executed In my /root folder however, the file wireless-executed is never written - indicating the script does not execute, even though it is owner by the same user asterisk runs as, and is world-executable. How can I use System to run a bash script? Thanks! Regards Stefan -- _____________________________________________________________________ -- 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
