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
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@w0otm.com To: app_rpt-users@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@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.
Hmmm... Your getnodes.php is a line-for-line copy of my one version back astdb.php from allmon2. Allmon is open source and anyone is welcome to use parts of it as they see fit. However, vaguely claiming it's your code is less than forthcoming. It's brain dead simple code and I'm not claiming it's my stolen master piece. It's just low you imply that you wrote it. On Mon, Aug 17, 2015 at 2:08 PM, W0OTM <w0otm@w0otm.com> wrote:
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@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.
-- -- Tim
Tim, if you feel you need credit for a few lines of code...then Im happy do send a mass email put to everyone on this list to announce I used your old code. But, no where in the astdb.php file in my raspberry pi distro from the UK AllStar Group is your name listed. Nowhere is there an indication of who the author is...so, I will take your word that you deserve credit...I'll get the plaque ordered:) Sent from my iPhone
On Aug 17, 2015, at 9:11 PM, Tim Sawyer <tisawyer@gmail.com> wrote:
Hmmm...
Your getnodes.php is a line-for-line copy of my one version back astdb.php from allmon2. Allmon is open source and anyone is welcome to use parts of it as they see fit. However, vaguely claiming it's your code is less than forthcoming. It's brain dead simple code and I'm not claiming it's my stolen master piece. It's just low you imply that you wrote it.
On Mon, Aug 17, 2015 at 2:08 PM, W0OTM <w0otm@w0otm.com> wrote: 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@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.
-- -- Tim
Tim, I wrote ALL the code for the AllStarLink Web Configuration Portal years ago. NOWHERE is it documented that I authored it. You don't see me crying over not getting credit for my contributions! It's really ridiculous that you are pissing and moaning over a few lines of code...now that you've made a BIG stink, we ALL now know you authored the astdb.php script (although it's not documented in the actual file anywhere, I'll have to take your word for it) EVERYONE give Tim a round of applause! I will never offer another contribution to this project EVER again. Jim Dixon, mark my word! EVER! Sent from my iPhone
On Aug 17, 2015, at 9:11 PM, Tim Sawyer <tisawyer@gmail.com> wrote:
Hmmm...
Your getnodes.php is a line-for-line copy of my one version back astdb.php from allmon2. Allmon is open source and anyone is welcome to use parts of it as they see fit. However, vaguely claiming it's your code is less than forthcoming. It's brain dead simple code and I'm not claiming it's my stolen master piece. It's just low you imply that you wrote it.
On Mon, Aug 17, 2015 at 2:08 PM, W0OTM <w0otm@w0otm.com> wrote: 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@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.
-- -- Tim
Ha! Your name is all over the the AllStar portal code. And so is Jim's name. On Mon, Aug 17, 2015 at 9:37 PM, W0OTM <w0otm@w0otm.com> wrote:
Tim, I wrote ALL the code for the AllStarLink Web Configuration Portal years ago. NOWHERE is it documented that I authored it. You don't see me crying over not getting credit for my contributions!
It's really ridiculous that you are pissing and moaning over a few lines of code...now that you've made a BIG stink, we ALL now know you authored the astdb.php script (although it's not documented in the actual file anywhere, I'll have to take your word for it)
EVERYONE give Tim a round of applause!
I will never offer another contribution to this project EVER again. Jim Dixon, mark my word! EVER!
Sent from my iPhone
On Aug 17, 2015, at 9:11 PM, Tim Sawyer <tisawyer@gmail.com> wrote:
Hmmm...
Your getnodes.php is a line-for-line copy of my one version back astdb.php from allmon2. Allmon is open source and anyone is welcome to use parts of it as they see fit. However, vaguely claiming it's your code is less than forthcoming. It's brain dead simple code and I'm not claiming it's my stolen master piece. It's just low you imply that you wrote it.
On Mon, Aug 17, 2015 at 2:08 PM, W0OTM <w0otm@w0otm.com> wrote:
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@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.
-- -- Tim
-- -- Tim
participants (3)
-
Doug Crompton -
Tim Sawyer -
W0OTM