[arm-allstar] V1.5 question
Justin Reed
celltech161 at gmail.com
Sat Jan 28 19:46:55 EST 2017
Thank you. It appears that something similar to this is included in
v1.5, so I uncommented the lines and assigned my own DTMF ID.
I'll try it out hopefully tomorrow.
Thanks,
Justin
NV8Q
And it's 42640, not 42460 as I previously typed ;)
On 1/28/2017 6:28 PM, "Lawrence Roney via arm-allstar" wrote:
> On my repeater I have an admin function defined in rpt.conf that calls a shell script that reads the public IP over the air.
>
> In rpt.conf I have a line:
> =====================================
> 906=cmd,/usr/local/sbin/saypublicip.sh 44045 ; Say Public IP to radio
> =====================================
>
>
> /usr/local/sbin/saypublicip.sh contains:
> ====================================
> #!/bin/bash
> if [ -z "$1" ]
> then
> echo "No node number supplied - saypublicip.sh <node> "
> exit 1
> fi
>
> ip=`dig +short myip.opendns.com @resolver1.opendns.com 2>&1`
>
> cat /var/lib/asterisk/sounds/letters/i.gsm /var/lib/asterisk/sounds/letters/p.gsm /var/lib/asterisk/sounds/address.gsm > /tmp/ip.gsm
>
> asterisk -rx "rpt localplay $1 /tmp/ip"
> sleep 1
> /usr/local/sbin//speaktext.sh $ip $1
>
> rm /tmp/ip.gsm
> ====================================
>
> Thanks,
> Lawrence
> N6YFN
>
> -----Original Message-----
> From: arm-allstar [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of "Justin Reed via arm-allstar"
> Sent: Saturday, January 28, 2017 4:19 PM
> To: ARM Allstar <arm-allstar at hamvoip.org>
> Cc: Justin Reed <celltech161 at gmail.com>
> Subject: Re: [arm-allstar] V1.5 question
>
> Group,
> I'm an experienced IRLP node owner but I'm pretty new to Allstar. I've been waiting for v1.5 before deploying my node to a far away site, so I could take advantage of the ability to apply updates rather than flashing a whole new card.
>
> Anyway, the question I have is, at the site I plan on deploying to, I have a DSL connection where the modem is simply a bridge and I am not using a router because I can get a public IP address for each device plugged into the switch. These are DHCP assigned and will change on occasion. Is there a way I can remotely see what the IP address is for my Allstar node? IRLP has it's own DNS service similar to DynDNS so it's a simple matter, but I wasn't sure if there was something similar for Allstar. If I were smart enough I could maybe have the Pi e-mail me the current IP address each time it changes, but I haven't explored that yet.
>
> Thanks,
> Justin
> NV8Q
> 42460
>
> _______________________________________________
>
> 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
>
> Scanned by Symantec Email Security.cloud service.
>
>
>
> _______________________________________________
>
> 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
More information about the arm-allstar
mailing list