<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
<br>
I save mine as 'getnodes.php'. The code can be found here:
<a class="moz-txt-link-freetext" href="http://pastebin.com/cSCuAZnS">http://pastebin.com/cSCuAZnS</a><br>
<br>
After this runs, I run the second script:<br>
I save mine as 'nodenames.sh'. The code can be found here:
<a class="moz-txt-link-freetext" href="http://pastebin.com/AWtPpYjY">http://pastebin.com/AWtPpYjY</a><br>
<br>
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 <span
style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco,
'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 21px; orphans: auto;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(255, 255, 255);">/var/lib/asterisk/sounds/rpt/nodenames.<br>
</span><br>
Now when a node connects or disconnects, its announces a callsign
instead of a node number.<br>
<pre class="moz-signature" cols="72">--
Marshall Dias
.-- ----- --- - --
Ottumwa, IA EN31ta
4SQRP #310</pre>
</body>
</html>