[arm-allstar] newsline

Dave Petrie wa2kjc at gmail.com
Wed Nov 24 16:55:36 EST 2021


ok, I am not a linux guru, sorry but I do want to solve this and I do
appreciate everyone who responds,
where do i put the :
IDWAIT=${INCREMENT}+20
sleep $IDWAIT

and how does 6 more seconds unkey the play so all nodes reset timers.
my sleep time is 599



On Wed, Nov 24, 2021 at 4:41 PM David McAnally <david.mcanally at gmail.com>
wrote:

> I suggest changing the "sleep 175" statement at about line 303 in
> playnews-0.11 to a value 20 seconds longer than your INCREMENT value. In
> your case, 585 + 20 = 605.
> sleep 605
>
> A more flexible solution would be to update the script to calculate the
> sleep value. e.g.
> let IDWAIT=${INCREMENT}+20
> sleep $IDWAIT
>
> Regards,
> David M.
> WD5M
>
>
> On Wed, Nov 24, 2021 at 2:48 PM "Dave Petrie via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> Hi Darrell, that's fine for your choice, we have 6 repeaters on a
>> microwave
>> linked system and I have set all the timers the way I need and want them.
>> rpt.conf
>> tx_timeout=1800000
>> idtime=600000
>> politeid=10000
>> rx_timeout=600000
>>
>> playnews-0.11
>> #echo $LENGTH
>> START=0
>> INCREMENT=585
>>
>> # Divide into 2.5 minute segments
>> INCREMENT=585
>>
>> # send start announcment
>> sleep 22
>>
>> # Start news
>> sleep 599
>>
>>
>> I just need to be able to stop the play at the end of the increment, for
>> 20-30 seconds and start the second play increment.
>> Almost there.
>> Hey I am retired and I will figure it out someday, maybe not this winter
>> but I will get it.
>> I was hoping one of you linux guys would have an easy solution.
>> IT's the technical challenge, not the need to play newsline.
>> I have accomplished so much in the last year or so and having so much fun
>> with this hamvoip software, and I know there is so much more to learn. I
>> don't want to fell like I am back at work, it's so nice to close the
>> laptop
>> and take a nap anytime I feel like it.
>> Thanks for the reply, any others ?
>> Dave
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Nov 24, 2021 at 3:28 PM Darrell Black <gigahacker at gmail.com>
>> wrote:
>>
>> > Hi Dave, I played with this when I set up our news server.
>> >
>> > in file /etc/asterisk/local/playnews/playnews-0.11
>> > Around line ~210 >INCREMENT=150 <==== 150 seconds is 2.5 minutes.
>> >
>> > Warning if you increase the time, it like I did. The repeater timeout
>> > timer and all the allstar hotspot linked timers need to be greater than
>> > your slice time, or they will timeout. In the end I went back to 2.5
>> > minutes.
>> >
>> >
>> > On Wed, Nov 24, 2021 at 2:41 PM "Dave Petrie via ARM-allstar" <
>> > arm-allstar at hamvoip.org> wrote:
>> >
>> >> I am trying to control the playtime for newsline, everything is
>> working as
>> >> I want it to except for when the first segment finishes, i can't get
>> the
>> >> broadcast to shutdown or unkey or be quiet long enough for the forced
>> >> repeater ID time to play.
>> >> I have edited the mp3 file so that the audio play timing fits.
>> >> I want 9 minutes 30 seconds for the play times and the first section is
>> >> perfect, INCREMENT=585.
>> >> I can't get things to shut down for 20-30 seconds to allow for the ID
>> >> timers to complete and can't seem to control the start of the second
>> mp3
>> >> play file. I am not a linux guru, but I don't give up easily.
>> >> So to recap, I want to be able to choose my play windows timing and I
>> want
>> >> things to unkey at the end of the playtimes and restart up again, all
>> that
>> >> timing should be under my control.
>> >> Thanks
>> >> Dave
>> >> _______________________________________________
>> >>
>> >> 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
>> >>
>> >
>> >
>> > --
>> >
>> > Darrell Black
>> >
>> > (517) 917-2226
>> > GigaHacker at gmail.com
>> > http://www.linkedin.com/in/darrellblack
>> >
>> >
>> > 73 de W8DSB
>> > "In God we trust, all others we monitor"
>> >
>> > GMRS WRDE739
>> > ALLSTAR 50964
>> > DMR 310195
>> >
>> >
>> _______________________________________________
>>
>> 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