<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" color="#000000" face="Tahoma,sans-serif">Attached is the write_nodename script with a few last minute refinements. It will now include both call and node number with the -i argument. This is handy when you have more than one node with the same callsign. With the -i option it will say:<br><br>w3xyz node 40000 connected to ......<br><br>You would probably only want to do this for selected nodes but you could do the entire node list that way if desired. Using the -o (overwrite) option would replace an existing entry. To revert to the default just node message simply deleted the <node>.gsm file or files manually from /var/lib/asterisk/sounds/rpt/nodenames<br><br>It now also requires a -a option to process all of the nodes. Executing without any options will just give the usage screen. This prevents things from happening unexpectedly when just running the script without any options. <br><br>Replace any prior scripts with this one and put it in your search path. /usrlocal/sbin is a good place. Comments always welcome.<br><br>If you are using this with a BBB or RPI2 or anything with an SD card it would not be a good idea to run this as a daily job with the -o (overwrite) option as it would mean many unnecessary writes. Using it without the -o option should be OK but better yet just update manually when necessary.<br><br>write_nodename v0.5<br>Usage: write_nodename options<br><br>Writes voice files of call signs from node numbers<br><br>OPTIONS:<br><br> -h Show this message<br> -a Process all nodes<br> -i Include node number with call<br> -o Overwrite existing file(s)<br> -n node Process single node (overrides -a)<br> -d path Specify path to output files<br> Default: /var/lib/asterisk/sounds/rpt/nodenames<br> -v Verbose<br><br>Write callsign for node 40000, no overwrite, all nodes -<br> write_nodename -an 40000<br>Write callsign for node 40000, overwrite, all nodes -<br> write_nodename -aon 40000<br>Write all callsigns, no overwrite -<br> write_nodename -a<br>Write all callsigns, overwrite<br> write_nodename -ao<br>Write single node to specific directory -<br> write_nodename -n 40000 -d /etc/asterisk/local<br>Write single node including both call and node number, overwrite<br> write_nodename -ion 40000<br><br id="FontBreak"></font><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font> </div></body>
</html>