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