[arm-allstar] Announce when Internet is lost

Dave Petrie wa2kjc at gmail.com
Tue Nov 14 18:21:12 EST 2023


Hi Loyd, well i figured out how to play something if the internet is lost
on your repeater node.
use the Internet Lost announcement doc to setup having the offline.ul
placed in the
announcements folder. make the offline.ul audio something you would like
because
it will play everytime you unkey the repeater if the internet is lost.
you can edit the rpt.conf  file down in the
 tailmessagelist=/tmp/AUTOSKY/WXA/wx-tail,/etc/asterisk/local/announcements/offline
by just removing the /offline and it won't be played every 3 minutes when
the repeater is active
if you don't want both unkey and tailmessage.
part of the Internet Lost announcement was i added in the rpt.conf
[functions40039]
BAD=localplay,/etc/asterisk/local/announcements/offline
so i could dtmf command when on the repeater so i didn't have to wait the 3
minutes
to know if the internet was lost. I have attached both documents.
good luck
Dave WA2KJC

then edit the rpt.conf file and add events=events40039 ; replace with your
node
and then down just before [wait-times40039]  ;40039 is my node, look for
your node
[events40039] ;replace 40039 with your node

COS = v|e|${RPT_RXKEYED}
*BAD = f|t|COS ;replace *BAD with your dtmf command you want to play


On Mon, Nov 13, 2023 at 11:37 PM Lloyd Duck <lduck at icloud.com> wrote:

> You are really on to something good with the change in courtesy tones.
>
> Please publish when you have it working, I will most definitely copy for
> all mine.
>
> Lloyd Duck
> W5LND
>
> On Nov 13, 2023, at 9:13 PM, Dave Petrie via ARM-allstar <
> arm-allstar at hamvoip.org> wrote:
>
> ok i changed the internet.sh and chmod +x and i got the online
> announcement
> every minute
> so i unplugged the ethernet to the raspberry and got nothing and waited for
> three minutes
> then plugged ethernet back in and got three plays of online announcement
> and am still
> getting it every minute, i like to tinker but don't want to keep you up all
> night
>
> maybe a different way to look at it if i can get the offline to work and
> the online is
> working right now every minute
> maybe command the ct= in rpt to change depending on what state
> so that the only way i will know there is internet or no internet is to
> hear
> the courtesy tone change depending on the state but only if i key up the
> repeater
>
>
>
> On Mon, Nov 13, 2023 at 9:33 PM Danny K5CG <k5cg at hamoperator.org> wrote:
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Internet lost announcement.pdf
Type: application/pdf
Size: 60178 bytes
Desc: not available
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20231114/702fa076/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Changing ct tone when Internet is lost.pdf
Type: application/pdf
Size: 117429 bytes
Desc: not available
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20231114/702fa076/attachment-0001.pdf>


More information about the ARM-allstar mailing list