[arm-allstar] Next problem modifying rpt.conf

Bryan St Clair bryan at k6cbr.us
Sun Sep 8 01:29:09 EDT 2019


I am only able to make the custom/rpt.conf to work for ct8 changes if I
copy the entire [telemetry] stanza and comment out the original from the
rpt.conf file.

That what others see as well?

Of course, a rpt reload to see the change each time.  Also, a script to
load changes quickly works.

On Sat, Sep 7, 2019 at 8:58 PM "Danny K5CG via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Hi Kip,
>
> We are doing something similar for normal/net mode switching in Richardson
> by using a symbolic link named rpt.conf linked to one of two copies;
> rpt.normal and rpt.netmode. The command to switch just recreates the
> symlink to the correct file and reloads asterisk (not restarts).
>
> Danny
> k5CG
> Plano
>
> ----- Original Message -----
> From: "ARM Allstar" <arm-allstar at hamvoip.org>
> To: "ARM Allstar" <arm-allstar at hamvoip.org>
> Cc: "Kipton Moravec" <kip at kdream.com>
> Sent: Saturday, September 7, 2019 2:38:52 PM
> Subject: [arm-allstar] Next problem modifying rpt.conf
>
> On our repeater we have a couple of different modes.
>
> 97% of the time we are in normal mode.
>
> However sometimes we go into an ARES Net/Skywarn Net mode when we have
> severe weather warnings.
>
> The users are accustomed to hearing a Morse code "N". as a Courtesy tone
> when we have a Weather Net, as opposed to a simple beep normally.
> If they listen, they know immediately if we are in a net or not.
>
> So I built a new courtesy tone ct11=|iN
>
> and tested it and it works.
>
> Now the question is how to switch from ct4 to ct11?
>
> Right now to keep it simple I want to just change unlinkedct=ct4 to
> unlinkedct=ct11.
>
> One way would be to have a rpt.normal and a rpt.net copy of the rpt.conf
> file, and when I wanted to switch copy from one of them to rpt.conf and
> restart the asterisk server. I do not like that because now I have two
> configuratiuon files that are the same except for what is now 1 line.
> And I have to make sure whatever I have in the normal one gets
> propagated to the other one.  That is a problem waiting to happen.
>
> At the end of the rpt.conf file I saw a line:
> #includeifexists custom/rpt.conf
>
> Eureka I thought. I can have a custom file for each mode in
> custom/rpt.conf and it only needs to have the settings that are different.
>
> Since there was no custom folder, I created one, and made a rpt.conf
> file with one line.
> unlinkedct=ct11
>
> Saved everything and restarted Asterisk and it still had ct4 courtesy tone.
> So I thought I forgot to comment out the one in asterisk/rpt.conf and
> instead of using the last variable it sees, it uses the first variable
> it sees. So I commented out ;unlinkedct=ct4. saved the file, and
> restarted asterisk, and now I have no courtesy tone.
>
> I went back to the last line and made sure everything was spelled
> correctly. But I was not 100% sure where the program thought it was for
> custom/rpt.conf to work.
>
> So I changed the last line in the rpt.conf file to explicitly use the
> whole file name where I put it.
>
> #includeifexists /etc/asterisk/custom/rpt.conf
>
> Saved it restarted Asterisk and still no courtesy tone.
>
> I am pretty sure I am doing something stupid, because I am new to this.
>
> But can someone please explain how this works and how I should do what I
> want?
>
> Kip
> AE5IB
>
>
> _______________________________________________
>
> 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 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 web page - http://hamvoip.org



-- 
Bryan
K6CBR
bryan at k6cbr.us

Allstar Hubs: 43919, 47036


More information about the ARM-allstar mailing list