I think what I am just going to do is an inactivity timer. If the repeater has not had activity for 10 minutes and someone randomly kerchunks, the message goes off. Therefore it does not annoy you during a normal conversation if someone accidentally does not press the PTT button all the way when they are in a regular conversation. On Fri, Aug 31, 2018 at 10:27 PM David Shaw <shawpbx@gmail.com> wrote:
Thanks, Thats Cool
-- Thanks, David
"Laws that forbid the carrying of arms...disarm only those who are neither inclined nor determined to commit crimes. Such laws make things worse for the assaulted and better for the assailants; they serve rather to encourage than prevent homicides, for an unarmed man may be attacked with greater confidence than an armed one." Thomas Jefferson
On Fri, Aug 31, 2018 at 6:08 PM Skyler F <electricity440@gmail.com> wrote:
Just was playing with some scripting for fun. Not very practical and there are many problems, but thought I would share, maybe someone can do something more creative.
Video https://youtu.be/XvoDmcPuVVw
CODE Rpt.conf
[events]
/etc/asterisk/scripts/kerchunk.sh = s|t|RPT_RXKEYED
/etc/asterisk/scripts/unkey.sh = s|f|RPT_RXKEYED
Kerchunk.sh
#!/bin/bash
*touch* /etc/asterisk/scripts/keyed
sleep 1.3
if [ ! -f /etc/asterisk/scripts/keyed ]; then
*echo* *"File $FILE exists."*
asterisk -rx *"rpt localplay 45499 /etc/asterisk/sounds/kerchunk"*
fi
exit 0
unkey.sh
#!/bin/bash
*rm* /etc/asterisk/scripts/keyed _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-- Skyler Fennell amsatnet.info KDØWHB electricity440@gmail.com