[arm-allstar] Telemetry

Billy Irwin billy.irwin at outlook.com
Fri Nov 10 20:54:56 EST 2023


Hi Patrick,

That is actually the plan. I am going to do a hub node that I have in a datacenter. I have 3 repeaters covering half the State of SC. Currently I am using the 2M repeater's node as the hub right now. I saw your info on QRZ and enjoyed the read. I use to live not far from Greensboro in the town of Hillsboro, NC. I was over their county's radio shop at that time. Hopefully I can link up to your nodes as time permits. If I am not mistaken you might have been on the conference call last night. If you were not, I am also blind and gave a talk on SKYWARN. I enjoyed meeting those folks.

73,

Billy - K9OH.

-----Original Message-----
From: ARM-allstar <arm-allstar-bounces at hamvoip.org> On Behalf Of Patrick Perdue via ARM-allstar
Sent: Friday, November 10, 2023 1:38 PM
To: Billy Irwin via ARM-allstar <arm-allstar at hamvoip.org>
Cc: Patrick Perdue <borrisinabox at gmail.com>
Subject: Re: [arm-allstar] Telemetry

Aww man, I did it again.

You should probably use rpt localplay, not rpt playback in that script.

I'm used to playing files on hub nodes for announcements of nets and the like.


On 11/10/2023 1:09 PM, Patrick Perdue wrote:
> I can think of a couple of less than ideal ways of accomplishing this.
>
> Even with telemdefault=0 and it's equivalent COP command, you will 
> still get those connect/disconnect messages if your duplex is anything 
> greater than 0.
>
> However, you could squish all telemetry in rpt.conf with 
> telemenabled=0. Since there is no COP command for this, you could do 
> something like the following:
>
> Somewhere in your node's stanza, include a custom file, say something 
> like this.
>
> #includeifexists /etc/asterisk/custom/notelem.conf
>
> Create a new file
>
> /etc/asterisk/custom/telem.conf
>
> In this file, there is only one line.
>
> telemenabled=0
>
> When the file /etc/asterisk/custom/notelem.conf exists, *all* 
> telemetry will be completely squished.
>
> Note that you have just created a file called 
> /etc/asterisk/custom/telem.conf, not 
> /etc/asterisk/custom/notelem.conf. This is purposeful, since you 
> normally want telemetry.
>
> To squish telemetry around a command, it could look something like 
> this. Note this is pretty sloppy, and maybe someone can suggest a 
> better way this could be done.
>
>
> ---------
>
> #!/bin/bash
> # cheap and sloppy workaround to replace built-in telemetry with a 
> custom file.
> # play some file to your node first, replace $NODE1 with your node 
> number if it isn't globally defined in allstar.env
> asterisk -rx "rpt playback $NODE1 /var/lib/asterisk/sounds/rpt/some_file"
> # you may wish to sleep for the length of the file in seconds to avoid 
> possible weird things.
> sleep 10
> # squish telemetry before making or dropping a connection
> mv /etc/asterisk/custom/telem.conf /etc/asterisk/custom/notelem.conf
> asterisk -rx "rpt reload"
> # make your connection or put other noisy commands here.
> asterisk  -rx "rpt fun $NODE1 *3506315"
> # unsquish telemetry
> mv /etc/asterisk/custom/notelem.conf /etc/asterisk/custom/telem.conf
> asterisk -rx "rpt reload"
>
>
> ---------
>
>
> 73
>
> N2DYI
>
>
> On 11/9/2023 7:29 PM, Billy Irwin via ARM-allstar wrote:
>
>> Greetings,
>>
>> I have macros for linking several repeaters for nets. Currently when 
>> they link, it plays the repeater 1 is connected to the main repeater, 
>> then the next message repeater 2 is connected to main repeater etc.. 
>> I would rather it just play my own custom file.
>>
>> So, my question is can I turn telemetry on and off inside of a macro, 
>> then play my custom wav file then turn it right back on with another 
>> macro at the end of the net. There is times where I would like to use 
>> telemetry. I also remember something about if telemetry is disabled, 
>> you can't play any files across the local node or remote nodes either.
>>
>> Thanks and 73,
>>
>> Billy - K9OH
>> _______________________________________________
>>
>> ARM-allstar mailing list
>> ARM-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
_______________________________________________

ARM-allstar mailing list
ARM-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2/3/4 web page - http://hamvoip.org


More information about the ARM-allstar mailing list