[arm-allstar] Play Message on local unkey out locally and over the network link to other nodes

Patrick Perdue borrisinabox at gmail.com
Mon Nov 1 12:50:23 EDT 2021


Not quite.

A playback command will be heard by *all* connected nodes, regardless of 
telemetry settings on remote nodes. The requirement here is that the 
node playing the file needs to be in a duplex mode other than 0. 
telemdefault is not relevant in this context. telemdefault=0 and 
duplex=1 will still play files to all nodes if the playback command is used.

If you have holdofftelem=1, which is the default, and a playback command 
is issued, then the file won't play until nothing is keying toward the 
node. The only time this may become a problem is if someone is dropping 
packets when a scheduled event occurs, and the length of a dropout 
exceeds the length of telemwait, as defined in your node's stanza for 
rpt.conf.

You could tie a playback command to an event as well, though I'm not 
quite clear on exactly what you want to accomplish that isn't done with 
just the playback command. The following would be super annoying, but is 
an example of playing a file every time node 99998 unkeys from the 
remote side of node 99999, at least theoretically. I haven't tested it.

[events99999]
P99998 = v|e|${RPT_ALINKS} =~ "\",99998[TRC]K\""
asterisk -rx "rpt playback 99999 /etc/asterisk/local/path_to_file" = 
s|t|P99998

On 11/1/2021 7:48 AM, "Dave Petrie via ARM-allstar" wrote:
> Sorry Jeff, I should really wait until the caffeine kicks in before
> replying. The header of your message answered my questions.
> The connected nodes would need telemetry turned on to hear what you are
> playing globally, and if they don't then they will
> keyup and will be competing with your announcement and not know it.
> Dave
>
> On Sun, Oct 31, 2021 at 9:38 PM "Jeff Ackerman via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> I am looking for a way to play a message out the link and locally, i know
>> rpt playback xxxx "audio file" is a way to do that but is there a mechanism
>> on local unkey to run that command in a script via the events system like
>> RPT_RXUNKEYED or something like that, i know that doesnt exist but is there
>> some other way to do it?
>>
>> --
>> _______________________________________________
>>
>> 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