<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">I have further embellished the attached script to make nodes names in call sign files. I think everything works but input is welcome either on problems or further suggestions. You can now specify overwrite, the output directory, a specific node, etc.<br><br>The specific node is useful if you just want to add a node or just make a file for an ID. You can specify the output directory - so write_node_callsigns -n <node> -d <path> would write just one gsm file with that nodes callsign to the specified path.<br><br>I AM soliciting suggestions and comments even if it is a typo!!!<br><br>Note that this script will write to the </font><font style="" color="#000000" face="Tahoma,sans-serif"><font style="" face="Tahoma,sans-serif">/var/lib/asterisk/sounds/rpt/nodenames directory by default unless you specify the -d path option. You also still must make sure the SRCDIR path is set correctly in the script for astdb.txt on your system.</font><font style="" face="Tahoma,sans-serif"><br></font><br>The options are now - <br id="FontBreak"></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Usage: write_node_callsigns options</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Writes voice files of call signs from node numbers</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">OPTIONS:</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> -h Show this message</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> -o Overwrite existing file(s)</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> -n node Specify node number - single write</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> -d path Specify path to output files</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> Default: /var/lib/asterisk/sounds/rpt/nodenames</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> -v Verbose</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Write callsign for node 40000, no overwrite -</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> ./write_node_callsigns -n 40000</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Write callsign for node 40000, overwrite -</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> ./write_node_callsigns -on 40000</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Write all callsigns to default directory, no overwrite -</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> ./write_node_callsigns</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Write all callsigns to default directory, overwrite</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> ./write_node_callsigns -o</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Write single node to specific directory -</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> ./write_node_callsigns -n 40000 -d /etc/asterisk/local</font><font style="" face="Tahoma,sans-serif"><br></font><br><br><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>