I have written a shell script to create custom node names to replace the announcing of nodes by their node number to the "callsign" configured for each node on the system. Its 2 parts. First uses a php script to download all the AllStar Node data and saves as txt file called nodenames.
I save mine as 'getnodes.php'. The code can be found here: http://pastebin.com/cSCuAZnS
After this runs, I run the second script:
I save mine as 'nodenames.sh'. The code can be found here: http://pastebin.com/AWtPpYjY
This script looks up the node number and finds the callsign, it then creates a .ulaw file using the letters and digits found in the AllStar systems. No TTS! It saves all the ####.ulaw files in /var/lib/asterisk/sounds/rpt/nodenames.
Now when a node connects or disconnects, its announces a callsign instead of a node number.
-- Marshall Dias .-- ----- --- - -- Ottumwa, IA EN31ta 4SQRP #310
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.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.