[App_rpt-users] Custom NodeNames

Buddy Brannan buddy at brannan.name
Tue Aug 18 04:03:30 UTC 2015


I haven't looked at this yet, but does it check for node ID files so that it doesn't override ones you already have for specific nodes? For instance, ones for the WAN system, let's say. If it doesn't check for those, maybe another addition? 

--
Buddy Brannan, KB5ELV - Erie, PA
Phone: 814-860-3194 
Mobile: 814-431-0962
Email: buddy at brannan.name




> On Aug 17, 2015, at 11:59 PM, Doug Crompton <doug at crompton.com> wrote:
> 
> Marshall,
> 
>  I certainly was not criticizing your work, just making a few suggestions.  If you are using the RPi2 (or BBB) then the astdb.txt file is located in  /var/log/asterisk updated by a cron entry daily. You could simply read it from there. You do not have to create another copy of astdb.php.
> 
> Also I was looking for your comments on the ffmpeg. Why is that needed? Are the file types different that you are combining? You could just cat them together if they are all one type and just play them. gsm files will play as well as ulaw. You could also use sox to adjust the volume. There are examples of that in the scripts on the RPi2. 
> 
> I think this would be a worthwhile script to maybe include in the RPi2/BBB image. It just needs a little refinement.
> 
> 73 Doug
> WA3DSP
> http://www.crompton.com/hamradio
> 
> 
> From: w0otm at w0otm.com
> Subject: Re: [App_rpt-users] Custom NodeNames
> Date: Mon, 17 Aug 2015 22:29:34 -0500
> To: doug at crompton.com
> 
> Everyone has an opinion, you are certainly entitled to yours.  In the AllStar raspberry pi image I downloaded, it didn't contain a solution for what I was trying to solve. What I made works well for me and I'm happy with it.  Maybe others will see value in it as well.
> 
> Best regards
> md
> 
> Sent from my iPhone
> 
> On Aug 17, 2015, at 8:03 PM, Doug Crompton <doug at crompton.com> wrote:
> 
> Marshall,
> 
>   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. 
> 
> Also I have a simple combine script I include in the BBB and RPi2 release that simply combines the gsm files with like this
>  
> cat file1.gsm file2.gsm file3.gsm > node.gsm
> 
> As long as all files type are the same there is no need to do any conversion. So maybe ffmpeg is not needed?
> 
> 73 Doug
> WA3DSP
> http://www.crompton.com/hamradio
> 
> 
> Date: Mon, 17 Aug 2015 16:08:06 -0500
> From: w0otm at w0otm.com
> To: app_rpt-users at ohnosec.org
> Subject: [App_rpt-users] Custom NodeNames
> 
> 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 at 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.
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at 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.




More information about the App_rpt-users mailing list