# Running a Script via DTMF on AllStarLink

**URL:** <https://community.allstarlink.org/t/running-a-script-via-dtmf-on-allstarlink/25210>\
**Category:** AllStarLink\
**Created:** [November 19, 2026, 8:10pm UTC](https://community.allstarlink.org/t/running-a-script-via-dtmf-on-allstarlink/25210 "2026-11-19T20:10:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WB2HKK](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wb2hkk/32/843_2.png) [@WB2HKK](https://community.allstarlink.org/u/WB2HKK)\
**Post date:** [November 19, 2026, 8:10pm UTC](https://community.allstarlink.org/t/running-a-script-via-dtmf-on-allstarlink/25210/1 "2026-11-19T20:10:03Z")

</div>

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
