<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">Marshall,<br><br> Looks interesting. On systems that have either lsnodes or allmon the astdb.txt file should already exist and is updated daily. It might be better to use that file for the second script if it exists. That would avoid unnecessary reads from the database and having yet another astdb.php file on the system. The astdb.php file has changed recently also and has better error detection, retry support, and it sorts. Just a suggestion. <br id="FontBreak"></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">Also I have a simple combine script I include in the BBB and RPi2 release that simply combines the gsm files with like this</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"> </font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">cat file1.gsm file2.gsm file3.gsm > node.gsm</font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif"><br></font><font style="" face="Tahoma,sans-serif">As long as all files type are the same there is no need to do any conversion. So maybe ffmpeg is not needed?</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><br><br><div><hr id="stopSpelling">Date: Mon, 17 Aug 2015 16:08:06 -0500<br>From: w0otm@w0otm.com<br>To: app_rpt-users@ohnosec.org<br>Subject: [App_rpt-users] Custom NodeNames<br><br>
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="ecxmoz-txt-link-freetext" href="http://pastebin.com/cSCuAZnS" target="_blank">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="ecxmoz-txt-link-freetext" href="http://pastebin.com/AWtPpYjY" target="_blank">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;text-align:left;text-indent:0px;text-transform:none;white-space:normal;widows:1;word-spacing:0px;display:inline !important;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="ecxmoz-signature">--
Marshall Dias
.-- ----- --- - --
Ottumwa, IA EN31ta
4SQRP #310</pre>
<br>_______________________________________________
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.</div> </div></body>
</html>