<div dir="ltr">I am trying to get a script to execute based on a DTMF sequence and it's not working for whatever reason. <div><br></div><div>I put the following in rpt.conf under the functions stanza: </div><div><br></div><div>
<p class=""><span class="">[functions2376]</span></p>
<p class="">(default functions removed for readability) </p><p class="">; testing script functions<br></p>
<p class=""><span class="">123=cmd,/root/scripts/test.sh</span></p><p class="">The script is nothing more than a simple shell script for testing right now, I validated it worked: </p><p class=""><span class="">#!/bin/bash</span></p><p class="">echo test1234 > test.out</p><p class="">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: </p><p class="">rpt fun 2376 *123</p><p class="">The script does not execute. What is it I could be missing here if anything? </p><p class="">tnx</p><p class="">Stephen</p><p class="">K1LNX</p></div></div>