Does this still work with ASL3? I cannot get scripts to execute.
Running a Script via DTMF on AllStarLink
To execute a script using DTMF tones in AllStarLink, follow these steps:
Step-by-Step Instructions
Create Your Script
Write your bash script and save it in the /etc/asterisk/scripts directory.
Ensure the script is executable by running:
chmod 755 /etc/asterisk/scripts/your_script.sh
Edit the rpt.conf File
Open the rpt.conf file located in /etc/asterisk/.
Locate the [functionsxxxx] stanza for your node. If you have only one function stanza, go to that section.
Add the Command
Insert a line to define the DTMF command that will run your script. For example:
85=cmd,/etc/asterisk/scripts/your_script.sh
This means that when you dial 85, the specified script will execute
Restart Asterisk
After saving your changes to rpt.conf, restart the Asterisk service to apply the new configuration:
sudo systemctl restart asterisk