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.VideoCODERpt.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.