[App_rpt-users] Executing a script - does not work
Stephen - K1LNX
k1lnx at k1lnx.net
Fri Jan 22 23:22:40 UTC 2016
I am trying to get a script to execute based on a DTMF sequence and it's
not working for whatever reason.
I put the following in rpt.conf under the functions stanza:
[functions2376]
(default functions removed for readability)
; testing script functions
123=cmd,/root/scripts/test.sh
The script is nothing more than a simple shell script for testing right
now, I validated it worked:
#!/bin/bash
echo test1234 > test.out
Permissions are set 777 on it to ensure it's able to be executed by
anything, but when I go to the Asterisk console and execute:
rpt fun 2376 *123
The script does not execute. What is it I could be missing here if
anything?
tnx
Stephen
K1LNX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20160122/a950dfdf/attachment.html>
More information about the App_rpt-users
mailing list