[arm-allstar] Global playback command
Doug Crompton
wa3dsp at gmail.com
Fri Jun 9 22:31:57 EST 2017
The playback command is global. The localplay command is local. So:
rpt playback 40000 somefile
would play global
rpt localplay 40000 somefile
would play local. You always omit the file extent. So no .gsm or .wav etc.
you could do this in a cron as such
00 20 * * 0 /usr/bin/asterisk -rx "rpt playback 40000 somefile"
This would play somefile from node 40000 at 8PM every Sunday.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Fri, Jun 9, 2017 at 3:48 PM, "Stephen - K1LNX via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> I'd like to have a message sent from the scheduler or cron 2-3 times a day
> with a canned announcement from my hub node so all the other nodes
> connected to it will hear it. I did some testing and it appears the global
> playback command is what I'm after to pull this off.
>
> I don't see a COP command for global playback, but it can be executed from
> the CLI doing "rpt fun xxxx /path/to/file" and appears to work as expected.
> I suppose I could write a shell script that sends "asterisk -rx rpt fun
> xxxx /path/to/file" but I wasn't sure if this was the only or best method?
>
> 73
> Stephen
> K1LNX
> _______________________________________________
>
> 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