I am trying very hard to get Asterisk to execute an external bash script. What I am looking for is a simple script that calls vinagre to refresh a display.
I copied vinagre to vncopen so I can kill it and leave any other vinagre open and am trying to call it through a bash script.
vncopen (vinagre) does not run BUT the sleep command does work. It exits with a 0 and it doesnt work with AGI System TrySystem or others. What am I doing wrong? I hope to use this for alot of home automation type stuff but unless it will call a bash shell script I don’t know.
Here is the script, the extensions.conf portion and the output to the log file