[arm-allstar] Echolink command to turn off and on

David McGough kb4fxc at inttek.net
Sun Nov 5 18:27:27 EST 2023



Okay, the scripting can be done many ways, here is one way:

Put this bash script in the /usr/local/sbin folder. Here are the steps to 
download it:

cd /usr/local/sbin
wget https://hamvoip.org/downloads/echolink-control
chmod 755 echolink-control



Now, add something like these commands to your appropriate rpt.conf 
[functions] stanza.  For example, this is for node 2289. Change the DTMF 
command as needed. In this example, "B70" blocks and "B71" un-blocks:


; rpt.conf
[functions2289]
B70=cmd,/usr/local/sbin/echolink-control off     ; Block echolink
B71=cmd,/usr/local/sbin/echolink-control on      ; Un-Block echolink



73, David K4FXC


On Sun, 5 Nov 2023, Dave Petrie wrote:

> ok that looks good, but i am not a linux guru, been trying but still need
> help.
> so how do i write the two scripts, i can then put them in rpt.conf for dtmf
> commands
> and in control for supermon.
> but i need the actual bash scripts
> 
> 
> 
> On Sun, Nov 5, 2023 at 5:43 PM David McGough <kb4fxc at inttek.net> wrote:
> 
> >
> > The echolink module doesn't have an explicit, on-demand enable/disable
> > capability.  There are several different ways this could be accomplished,
> > however.
> >
> > If you're just wanting to disrupt all echolink connections, a simple,
> > foolproof method is to use some firewall rules. This will instantly stop
> > echolink.  Something like:
> >
> > .....Disable (drop) all echolink VoIP/control packets:
> >
> > iptables -I INPUT -p udp --dport 5198:5199 -j DROP
> > iptables -I OUTPUT -p udp --dport 5198:5199 -j DROP
> >
> >
> > .....To re-enable echolink, just remove these rules:
> >
> > iptables -D INPUT -p udp --dport 5198:5199 -j DROP
> > iptables -D OUTPUT -p udp --dport 5198:5199 -j DROP
> >
> >
> >
> > 73, David K4FXC
> >
> >
> >
> > On Sun, 5 Nov 2023, Dave Petrie via ARM-allstar wrote:
> >
> > > I already have that with two allstar nodes and echolink assigned to only
> > one on the same raspberry, but i want to be able to disable echolink and
> > not have to disconnect anything
> > thanks for the idea though
> >
> >
> > On Sun, Nov 5, 2023 at 3:52 PM Michael Webb via ARM-allstar <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > My way would be to create another node number on your system, point
> > > echolink to the new node number, then you can disconnect and connect via
> > > dtmf or Supermon easily.
> > >
> > > On Sun, Nov 5, 2023, 1:50 PM Dave Petrie via ARM-allstar <
> > > arm-allstar at hamvoip.org> wrote:
> > >
> > > > Good Morning, I am looking for a way to dtmf command echolink on my
> > > hamvoip
> > > > allstar node, so i can disable echolink or enable without interfering
> > > with
> > > > allstar connections. I know i can edit the echolink.conf and change the
> > > > name to echolink.conf.turnedoff and restart but im looking for a dtmf
> > > > command.
> > > > maybe i need another cup of coffee and the the light bulb will come on.
> > > >
> > > > Thanks
> > > > Dave
> > > > _______________________________________________
> > > >
> > > > 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
> > >
> > _______________________________________________
> >
> > 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