[arm-allstar] macro for net

Dave Petrie wa2kjc at gmail.com
Thu Dec 14 15:53:46 EST 2023


looks like my attached bash shell didn't make it to the forum
so here it is, N2DYI sent me the beginning format and i modified it for my
choices
change 529571 to your node
make your own netrequested, 15,warn, 5mwarn, cqx3  text to voice files
and any others to play from iaxrpt or dtmf playback commands


#!/bin/bash
#play a local sound to confirm that the script actually ran when called
from a macro
asterisk -rx "rpt playback 529571 /etc/asterisk/local/netrequested"
asterisk -rx "rpt fun 529571 *543"
asterisk -rx "rpt playback 529571 /etc/asterisk/local/15mwarn"
sleep 600
asterisk -rx "rpt playback 529571 /etc/asterisk/local/5mwarn"
sleep 300
asterisk -rx "rpt playback 529571 /etc/asterisk/local/cqx3"

exit 0


More information about the ARM-allstar mailing list