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