[arm-allstar] Playnews now

Wayne Jauss jauss at pacbell.net
Mon Dec 17 09:59:29 EST 2018


 I have playnews now  working with a DTMF command but when using G for global or not using it, I still only xmit on my local node. Am I missing something.Example: 976=cmd,/etc/asterisk/local/playnews/playnews-0.11 ARN now 41306
Wayne Jauss / N6TBQ. 
    On Thursday, December 13, 2018, 9:00:05 AM PST, arm-allstar-request at hamvoip.org <arm-allstar-request at hamvoip.org> wrote:  
 
 Send ARM-allstar mailing list submissions to
    arm-allstar at hamvoip.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
or, via email, send a message with subject or body 'help' to
    arm-allstar-request at hamvoip.org

You can reach the person managing the list at
    arm-allstar-owner at hamvoip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ARM-allstar digest..."


Today's Topics:

  1. Re: Message Playback following Timeout-Timer reset? (Randy Neals)
  2. Re: Message Playback following Timeout-Timer reset? (Chuck)
  3. Re: Message Playback following Timeout-Timer reset?
      (Doug Crompton)


----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Dec 2018 02:04:51 -0800
From: Randy Neals <randy at neals.ca>
To: David McGough <kb4fxc at inttek.net>
Cc: BeagleBone Black ARM Allstar <arm-allstar at hamvoip.org>
Subject: Re: [arm-allstar] Message Playback following Timeout-Timer
    reset?
Message-ID:
    <CAHDTD7opxxBWkD_2TAmHL1yCzNH+bhUnEdaqy0aAiOZEJvjkbw at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Cool, thanks!

On Wed, Dec 12, 2018 at 9:01 PM David McGough <kb4fxc at inttek.net> wrote:

>
> Randy,
>
> Agreed, that would be a useful feature. I'll put it on the list. That
> actually probably isn't too hard to implement.
>
>
> 73, David KB4FXC
>
>
> On Wed, 12 Dec 2018, "Randy Neals via ARM-allstar" wrote:
>
> > We would like to playback a message on reset of tx_timeoute timer.
> >
> > I didn't see an obvious way to do that, and didn't uncover anything with
> a
> > search of this list.
> > Hoping someone has figured this out and might throw a clue our way...
> >
> > The use case is to play a message when a long-winded user releases their
> > PTT, following expiry of the Time Out Timer. In hardware controllers it
> > might say "Time Out Timer Reset".
> > Upon release of PTT, this tells the user that they timed out the repeater
> > and they will need to say part of their transmission again.
> >
> > Thanks,
> > Randy, W3RWN
> > Seattle, WA
> > _______________________________________________
> >
> > 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
> >
>
>


------------------------------

Message: 2
Date: Thu, 13 Dec 2018 08:57:04 -0600
From: Chuck <bbb at nbcog.com>
To: BeagleBone Black ARM Allstar <arm-allstar at hamvoip.org>
Subject: Re: [arm-allstar] Message Playback following Timeout-Timer
    reset?
Message-ID:
    <CADEYVwg9-qaLcSMweEvL29ZHX_t8B2b=o6j_Ongb7MK2ywOusw at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

It can be done in with the event subsystem (capability has been there for a
very long time) and some tiny shell scripts.
I have it working on my system.
This is more than what is necessary, but I also have other scripts that use
these temp files.
There are probably several other better ways to do this.

; the below 4 lines are in the events section of rpt.conf
/usr/local/bin/weunkey.sh = s|f|RPT_RXKEYED
/usr/local/bin/wekey.sh = s|t|RPT_RXKEYED
/usr/local/bin/wetxunkey.sh = s|f|RPT_TXKEYED
/usr/local/bin/wetxkey.sh = s|t|RPT_TXKEYED


cat wekey.sh
#!/bin/sh
touch /tmp/key27383


cat wetxkey.sh
#!/bin/sh
touch /tmp/txkey27383


cat wetxunkey.sh
#!/bin/sh
rm -f /tmp/txkey27383


cat weunkey.sh
#!/bin/sh
rm -f /tmp/key27383
if [ ! -f /tmp/txkey27383 ]
        then {
        /usr/bin/asterisk -rx "rpt localplay 27383 ha/reset"
} fi

That's all it takes.  Be sure to do a "rpt reload" or restart asterisk
after editing the rpt.conf file.
Also create the scripts and make them executable before adding the lines to
the rpt.conf file.



On Thu, Dec 13, 2018 at 4:12 AM "Randy Neals via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Cool, thanks!
>
> On Wed, Dec 12, 2018 at 9:01 PM David McGough <kb4fxc at inttek.net> wrote:
>
> >
> > Randy,
> >
> > Agreed, that would be a useful feature. I'll put it on the list. That
> > actually probably isn't too hard to implement.
> >
> >
> > 73, David KB4FXC
> >
> >
> > On Wed, 12 Dec 2018, "Randy Neals via ARM-allstar" wrote:
> >
> > > We would like to playback a message on reset of tx_timeoute timer.
> > >
> > > I didn't see an obvious way to do that, and didn't uncover anything
> with
> > a
> > > search of this list.
> > > Hoping someone has figured this out and might throw a clue our way...
> > >
> > > The use case is to play a message when a long-winded user releases
> their
> > > PTT, following expiry of the Time Out Timer. In hardware controllers it
> > > might say "Time Out Timer Reset".
> > > Upon release of PTT, this tells the user that they timed out the
> repeater
> > > and they will need to say part of their transmission again.
> > >
> > > Thanks,
> > > Randy, W3RWN
> > > Seattle, WA
> > > _______________________________________________
> > >
> > > 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
>


------------------------------

Message: 3
Date: Thu, 13 Dec 2018 11:22:42 -0500
From: Doug Crompton <wa3dsp at gmail.com>
To: ARM Allstar <arm-allstar at hamvoip.org>
Subject: Re: [arm-allstar] Message Playback following Timeout-Timer
    reset?
Message-ID:
    <CAMp6vsuLqiMG26G3FkJeoWEfZu2wCNeAx3MTBC=xgB3q9W8aFQ at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Chuck,

  Yes we know well about events we use them all the time but that was not
what he was asking. He wanted specific playback after timeout. There is no
event for that.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*


On Thu, Dec 13, 2018 at 11:20 AM "Chuck via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> It can be done in with the event subsystem (capability has been there for a
> very long time) and some tiny shell scripts.
> I have it working on my system.
> This is more than what is necessary, but I also have other scripts that use
> these temp files.
> There are probably several other better ways to do this.
>
> ; the below 4 lines are in the events section of rpt.conf
> /usr/local/bin/weunkey.sh = s|f|RPT_RXKEYED
> /usr/local/bin/wekey.sh = s|t|RPT_RXKEYED
> /usr/local/bin/wetxunkey.sh = s|f|RPT_TXKEYED
> /usr/local/bin/wetxkey.sh = s|t|RPT_TXKEYED
>
>
> cat wekey.sh
> #!/bin/sh
> touch /tmp/key27383
>
>
> cat wetxkey.sh
> #!/bin/sh
> touch /tmp/txkey27383
>
>
> cat wetxunkey.sh
> #!/bin/sh
> rm -f /tmp/txkey27383
>
>
> cat weunkey.sh
> #!/bin/sh
> rm -f /tmp/key27383
> if [ ! -f /tmp/txkey27383 ]
>        then {
>        /usr/bin/asterisk -rx "rpt localplay 27383 ha/reset"
> } fi
>
> That's all it takes.  Be sure to do a "rpt reload" or restart asterisk
> after editing the rpt.conf file.
> Also create the scripts and make them executable before adding the lines to
> the rpt.conf file.
>
>
>
> On Thu, Dec 13, 2018 at 4:12 AM "Randy Neals via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Cool, thanks!
> >
> > On Wed, Dec 12, 2018 at 9:01 PM David McGough <kb4fxc at inttek.net> wrote:
> >
> > >
> > > Randy,
> > >
> > > Agreed, that would be a useful feature. I'll put it on the list. That
> > > actually probably isn't too hard to implement.
> > >
> > >
> > > 73, David KB4FXC
> > >
> > >
> > > On Wed, 12 Dec 2018, "Randy Neals via ARM-allstar" wrote:
> > >
> > > > We would like to playback a message on reset of tx_timeoute timer.
> > > >
> > > > I didn't see an obvious way to do that, and didn't uncover anything
> > with
> > > a
> > > > search of this list.
> > > > Hoping someone has figured this out and might throw a clue our way...
> > > >
> > > > The use case is to play a message when a long-winded user releases
> > their
> > > > PTT, following expiry of the Time Out Timer. In hardware controllers
> it
> > > > might say "Time Out Timer Reset".
> > > > Upon release of PTT, this tells the user that they timed out the
> > repeater
> > > > and they will need to say part of their transmission again.
> > > >
> > > > Thanks,
> > > > Randy, W3RWN
> > > > Seattle, WA
> > > > _______________________________________________
> > > >
> > > > 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
> >
> _______________________________________________
>
> 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
>


------------------------------

Subject: Digest Footer

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


------------------------------

End of ARM-allstar Digest, Vol 55, Issue 28
*******************************************
  


More information about the ARM-allstar mailing list