{"id":3428,"date":"2024-08-28T13:26:16","date_gmt":"2024-08-28T12:26:16","guid":{"rendered":"https:\/\/m0aws.co.uk\/?p=3428"},"modified":"2024-11-16T11:49:20","modified_gmt":"2024-11-16T11:49:20","slug":"add-node-names-to-shari-allstarlink-node","status":"publish","type":"post","link":"https:\/\/m0aws.co.uk\/?p=3428","title":{"rendered":"Add Node Names to SHARI AllstarLink Announcements"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is more of an aide memoire for myself more than anything but, may be useful to anyone who is using a SHARI powered AllStarLink node.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Out the box the SHARI build as documented <a href=\"https:\/\/m0aws.co.uk\/?p=3244\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> and <a href=\"https:\/\/m0aws.co.uk\/?p=3395\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> uses node numbers in announcements when connecting\/disconnecting. The information in this article will change this so that the announcements use the node callsigns instead of node numbers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As user repeater, login to the RaspberryPi that the SHARI is connected too via SSH and make the following changes:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1: Using your favourite command line text editor, edit  <em>\/usr\/sbin\/write-node-callsigns<\/em> and change <em>SRCDIR<\/em> to point to <em>\/var\/www\/html\/allmon2<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 28\/08\/24 - M0AWS - Changed path to point to allmon2\n##SRCDIR=\/var\/www\/html\/allmon\nSRCDIR=\/var\/www\/html\/allmon2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2: Copy the <em>astb.txt<\/em> file into the necessary directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo cp \/var\/hdd.log\/asterisk\/astdb.txt \/var\/www\/html\/allmon2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3: Run the programme to create the sound files. (This will run for some time on a RaspberryPi 3b) <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/usr\/sbin\/write-node-callsigns<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">4: Once all the sounds files have been created, connect to another node and you should now get node name announcements instead of node numbers &#8230;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More soon &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is more of an aide memoire for myself more than anything but, may be useful to anyone who is using a SHARI powered AllStarLink node. Out the box the SHARI build as documented here and here uses node numbers in announcements when connecting\/disconnecting. The information in this article will change this so that the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/m0aws.co.uk\/?p=3428\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Add Node Names to SHARI AllstarLink Announcements&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[332,356,54,39,36,287,132,329,334,4,38,186,135,122,349,133],"tags":[],"class_list":["post-3428","post","type-post","status-publish","format-standard","hentry","category-allstarlink","category-asterisk","category-audio","category-bash","category-code","category-commandline","category-debian","category-digitalvoice","category-dv","category-ham-radio","category-linux","category-nodes","category-opensource","category-raspberrypi","category-shari","category-ssh"],"_links":{"self":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3428"}],"version-history":[{"count":6,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3428\/revisions"}],"predecessor-version":[{"id":3637,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3428\/revisions\/3637"}],"wp:attachment":[{"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/m0aws.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}