[arm-allstar] write_node_callsigns.sh
Doug Crompton
wa3dsp at gmail.com
Fri Jun 5 19:02:47 EDT 2020
The write_node_callsigns.sh script has been moved from the download section
to /usr/local/sbin which is in the search path for you Hamvoip server. The
purpose of this script is to write callsigns derived from the astdb file in
place of node numbers in connect and disconnect messages. Since it is using
the call sign field in some few cases it might not actually be a call sign.
Also be aware this creates a directory size of (currently) about 130
megabytes of audio data of over 15,000 node numbers on the SD card. Once
this is written there is usually no reason to constantly rewrite it but
instead update it using just the -a option.
Simply running write_node_callsigns.sh yields the following options -
write_node_callsigns v0.8
Usage: write_nodecallsigns options
Writes Asterisk Allstar voice files of call signs from node numbers
OPTIONS:
-h Show this message
-a Process all nodes
-i Include node number with call
-o Overwrite existing file(s)
-n node Process single node (overrides -a)
-d path Specify path to output files
Default: /var/lib/asterisk/sounds/rpt/nodenames
-v Verbose
Write callsign for node 40000, no overwrite, all nodes -
./write_node_callsigns.sh -n 40000
Write callsign for node 40000, overwrite, all nodes -
./write_node_callsigns.sh -on 40000
Write all callsigns, no overwrite -
./write_node_callsigns.sh -a
Write all callsigns, overwrite
./write_node_callsigns.sh -ao
Write single node to specific directory -
./write_node_callsigns.sh -n 40000 -d /etc/asterisk/local
Write single node including both call and node number, overwrite
./write_node_callsigns.sh -ion 40000
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
More information about the ARM-allstar
mailing list