DTMF commands to run scripts in ASL

How would I go about setting up a DTMF script to run commands.
----- looking to start and stop the mmdvm_bridge over my android phone while linked into node via DVSwitch app-----
DTMF 11 would run: sudo systemctl start mmdvm_bridge
DTMF 10 would run: sudo systemctl stop mmdvm_bridge

I see some references to doing similar in rpt.cof

Thank YOU
James VE1JCS

Yes sir, see:

I would like to ask the same question.

The old way was to use the autopatch *6 then ext to run the script.

; dial 700 = Restart Asterisk
exten => 700,1,Playback(posix-restarting) ; “Restarting asterisk”
exten => 700,2,Wait(1)
exten => 700,3,System(/usr/sbin/asterisk -rx reload)
exten => 700,4,Hangup

In rpt.conf add 980 = cmd,command

980 = cmd,/sbin/reboot