[arm-allstar] Installing ARRL/ARN Script
Mike Besemer - WM4B
mwbesemer at cox.net
Wed Nov 28 07:03:09 EST 2018
You da man, Doug! Hopefully I can give it a shot tonight.
Thanks!
Mike
WM4B
On Tue, Nov 27, 2018 at 10:36 PM, "Doug Crompton via ARM-allstar" wrote:
> Mike,
>
> I never did a howto on that thinking it probably would not be use by
> that
> many. It turns out many are using it. Here is quick howto.
>
> Log in to your server and use the menu item 9 start bash shell to get
> to
> the Linux prompt
>
> cd /etc/asterisk/local
>
> mkdir playnews
>
> cd playnews
>
> wget http://hamvoip.org/downloads/playnews-0.11.tar.gz
>
> tar xvzf playnews-0.11.tar.gz
>
> This will create all the files in this (playnews) directory.
>
> At this point it is ready to go. playnew-0.11 should be executable
> when
> extracted but if for some reason it is now just do -
>
> chmod 750 playnew-0.11
>
> You can look at the script to see examples at the beginning.
>
> less playnews-0.11
>
> You can run it either manually at the command line, set up a DTMF
> command
> to run it through a script or more likely run it in a cron at a
> specific
> time.
>
> Here are some examples -
>
> # Play Amateur Radio Newsline at 9 PM on Sunday (0 day) queue up at
> 8:30 PM
> # to node 40000 globally
> 30 20 * * 0 /etc/asterisk/local/playnews/playnews-0.11 ARN 21:00 40000
>
> # Play ARRL News at 9 PM on Monday (1 day) queue up at 8:30 PM
> # to node 40000 globally
> 30 20 * * 1 /etc/asterisk/local/playnews/playnews-0.11 ARRL 21:00
> 40000
>
> Either of these could have an 'L' last parameter to play only locally.
>
> To play right away, you would only do this manually.
>
> # Plays ARRL News NOW to node 40000 locally
> /etc/asterisk/local/playnews/playnews-0.11 ARRL NOW 40000 L
>
> When playing now it has a setup time to get and process the file and
> then
> you can hit any key to play.
>
> So the basic command syntax would be -
>
> /etc/asterisk/local/playnews/playnews-0.11 ARRL|ARN xx:xx|NOW <node>
> L|G
>
> G or global is assumed if no last parameter.
>
> If you have any other questions let me know.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
>
>
>
> On Tue, Nov 27, 2018 at 9:04 PM "Mike Besemer via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> What's the process for installing the ARRL/ARN script at
>> http://hamvoip.org/downloads/playnews-0.11.tar.gz?
>>
>> Sorry, but I'm still getting my feet wet with Linux and need some
>> specific
>> directions; didn't find what I was looking for on the website - maybe
>> I
>> overlooked it.
>>
>> Mike
>> WM4B
>> _______________________________________________
>>
>> 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
More information about the ARM-allstar
mailing list