[arm-allstar] playnews-0.9

Doug Crompton wa3dsp at gmail.com
Mon Oct 24 17:24:50 EST 2016


Robert,

 Yes that is a good way to do it. I have 32G USB sticks on several of my
nodes. The advantage is it does not go away with power loss but then the
playnews files are only temporary anyway so that should not matter.



*73 Doug*

*WA3DSP*

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

On Mon, Oct 24, 2016 at 5:46 PM, Robert Conklin via arm-allstar <
arm-allstar at hamvoip.org> wrote:

> News is working well now, am writing the temporary news file to a USB
> drive. Auto-mounting USB storage with udev to the /media directory working
> well too.
> Thank you very much for you help and fast response Doug!
>
> --
> Robert Conklin
> *N4WGY <http://qrz.com/db/N4WGY>*
>
> On Sat, Oct 22, 2016 at 3:01 PM, Doug Crompton via arm-allstar <
> arm-allstar at hamvoip.org> wrote:
>
>> Robert,
>>
>>  You can put playnews and its associated files wherever you want but I
>> recommend making a directory under /etc/asterisk/local called playnews.
>> Then change the VOICEDIR variable in the script to point to that directory.
>> Don't change /tmp - that is a ramdisk - you don't want to be writing all
>> the temporary files to the SD when it runs. Here is my cron - obviously sub
>> your node, times. etc.
>>
>> 30 20 * * 1 /etc/asterisk/local/playnews/playnews-0.9 ARRL 21:01 27225
>>
>> Start script at 8:30 PM on  Monday. Actually play ARRL news at 9:01 PM to
>> node 27225. Node has to be on the same server as the playnews script. Play
>> globally.
>>
>> I hope that answers your question. Let me know how you make out.
>>
>>
>>
>> *73 Doug*
>>
>> *WA3DSP*
>>
>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>>
>> On Sat, Oct 22, 2016 at 12:08 PM, Robert Conklin via arm-allstar <
>> arm-allstar at hamvoip.org> wrote:
>>
>>> Having some trouble with the playnews script.
>>> Wondering if I have script directory wrong. The cronjob sample in the
>>> playews-9.0 readme gives a directory of "/etc/asterisk/playnews". I put the
>>> script files at "/etc/asterisk/local/playnews" and changed the cronjob
>>> accordingly. The actual script file is named "playnews-0.9", should that be
>>> the directory name?
>>> Also, If I leave the TMPDIR as the default /tmp, will this be a problem?
>>> The SD card has 64GB capacity.
>>> Thanks!
>>> --
>>> Robert Conklin
>>> *N4WGY <http://qrz.com/db/N4WGY>*
>>>
>>> _______________________________________________
>>>
>>> arm-allstar mailing list
>>> arm-allstar at hamvoip.org
>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>
>>> Visit the BBB and RPi2 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 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 web page - http://hamvoip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20161024/ba9894c8/attachment.html>


More information about the arm-allstar mailing list