[arm-allstar] Autopatch CT & ARRL news

Doug Crompton doug at crompton.com
Sun May 22 20:33:48 EST 2016


The key thing to remember is that the cron start time must precede the actual play time by at least 5 minutes and could be anytime in the preceding 24 hours. Here is my cron entry to play Monday night at 9:01 PM -

 30 20 * * 1 /etc/asterisk/local/playnews/playnews-0.8 ARRL 21:01 27225

This starts the download and processing at 8:30PM and it sits there waiting until 9:01PM to start.

Since the where to play is left off it will play globally - to all attached nodes. Adding an "L" parameter after the node number will play locally. 

If you want to play immediately substitute NOW for the time. This would only be done in command line mode not cron. Also if you are specifying a time in manual mode - lets say it is currently  21:00 and you say 21:01 or 21:02 it probably won't play since the time you specify is after the time for processing. It could take 1-2 minutes to process the files. 

Look for TMPDIR="/tmp" in the script and change it to the usbstick full directory name. Avoid writing to the SD card though. /tmp is a ramdisk.

Also please note the ARRL does NOT do a news on holidays. They take several holidays throughout the year on Fridays when there are Monday holidays. I don't know if there will be a news this coming week. When there isn't the script will ignore processing and just exit. They take the preceding weeks news off on that Friday and news does not appear again until the next Friday. So if it isn't working after this Friday that is probably why. 

73 Doug
WA3DSP
http://www.crompton.com/hamradio


Subject: Re: [arm-allstar] Autopatch CT & ARRL news
From: w2ymm1 at gmail.com
Date: Sun, 22 May 2016 20:27:00 -0400
CC: doug at crompton.com
To: arm-allstar at hamvoip.org

Hi Doug, I think I'm missing something too. I just installed the script into /etc/asterisk/local/playnewsThen to test I tried running it from the command line. 
I couldn't get past the 24 hour time portion. 
I also added it to my cron,  
But will have to spend more time with it when I get home from work. 
Also interested in how to implement saving the file to a usb stick instead of the/tmp file on my BBB. 
Thanks Bob w2ymm
Sent from my iPhoneBob Prybyzerski631-960-1051W2YMM
On May 22, 2016, at 8:12 PM, Doug Crompton via arm-allstar <arm-allstar at hamvoip.org> wrote:




Robert,

 OK I will be around tonight.

73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Sun, 22 May 2016 18:07:59 -0500
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] Autopatch CT & ARRL news
From: arm-allstar at hamvoip.org
CC: n4wgy.ham at gmail.com

Hi Doug, I would like to take your offer for some setup help with the playnews script, thank you very much for the generous offer. Will put a call out for you on 27225.
On the autopatch thing, agree it is a bit antiquated   Our area, Northern Alabama, has great cell phone coverage. But it is also prone to periodically getting torn up by tornadoes. The last major weather event we experience was in April of 2011, urban Huntsville was without power or internet for two weeks and without cell phone service for a full week. The repeater I am building with Allstar/Autopatch is destined for installation at a DoD facility on Redstone Arsenal (in Huntsville). This facility enjoys a hardened/armored T3 line and superb backup power infrastructure. During the April 2011 event the power and internet at this facility was uninterrupted. Would like to have the autopatch available for the local ARES/RACES amateur radio community for the inevitability of another April 2011 event.I agree that the CT over the autopatch is not that important, am not going to worry about it anymore. --Robert ConklinN4WGY

On Sun, May 22, 2016 at 4:02 PM, Doug Crompton via arm-allstar <arm-allstar at hamvoip.org> wrote:



Robert,

 On the playnews script. It is not hard to implement. I can help if you want. Let me know what you were having problems with.

The problem with using a direct feed as you mentioned is that there is no timing included. The playnews script stops every 2.5 minutes for 20 seconds to allow system reset and so other nodes can send commands if necessary. You can customize the messages if desired.

You would have to manually add your own timing and breaks for ID's. On a connected network assume timeouts are at about 3 minutes.

For the autopatch, first of all that is something that is rarely used anymore except maybe in an emergency. Don't you have a cellphone and service where you live? Unless you live out in the sticks where cell coverage is sparse I would recommend not using it.  

If you must use it I would just explain as soon as the person answers that it is a one way conversation and to use over. 

73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Sun, 22 May 2016 12:52:33 -0500
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] Autopatch CT & ARRL news
From: arm-allstar at hamvoip.org
CC: n4wgy.ham at gmail.com

I am genuinely appreciative of everyone's time. Thank you!
Explanation:Have observed that few people realize or remember that with most equipment an autopatch call is a half duplex conversation.Even if I state we are conversing at half duplex at the beginning of the autopatch conversation, doubles happen frequently.Am thinking that If I could tell folks I am calling via autopatch and that they should not to talk til after they hear the CT beep & say "over" after their piece is said, this would maybe reduce doubles.
Changing the noct=1 to noct=0 enables CT to be heard on the RF side during an autopatch qso, but does not propagate the CT to the telephone. Don't know what to do next.
In regards to the Scripts "how to" for setting up an automated ARL news feed on my node; I have been trying to implement with no success yet, but that's almost certainly my lack of experience. I am not proficient in implementing or manipulating code.Was wondering if there was a simpler way by possibly using the echolink news feeds from the ARRL. I will keep hammering at it, success is inevitable with persistance.
Thank you all very much for your advise!--Robert ConklinN4WGY

On Sat, May 21, 2016 at 11:32 PM, Mark Johnston via arm-allstar <arm-allstar at hamvoip.org> wrote:
I have not setup a ct for autopatch but I believe the line in rpt.conf similar to:








6=autopatchup,context=to-callcentric,noct=1,farenddisconnect=1,dialtime=20000
change noct=1 to noct=0 or remove that portion, and reload config..




"Got Root?"
How many software engineers does it take to change a light bulb?None. It's a hardware problem.

Unix is user friendly. It's just very particular about who it's friends are.WINDOWS: Will Install Needless Data On Whole SystemMICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers.

A ntennas
P oorly
P laced
L acks
E ngineering

The best way to accelerate a computer running Windows is at 9.81 m/s².
"I get paid to support Windows, I use Linux to get work done."



On Sat, May 21, 2016 at 8:45 PM, Robert Conklin via arm-allstar <arm-allstar at hamvoip.org> wrote:
Hello, hope everyone is well.I regards to autopatch, how would I propagate a courtesy tone from the radio user unkeying to the phone user?Also wondering if it would be possible to set up a cron job to play the ARRL news from the W1AWBDCT echolink node, or is there a better way to do this?Thank you for any advise!--Robert ConklinN4WGY


_______________________________________________



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 		 	   		  

_______________________________________________



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/20160522/503b80ad/attachment.html>


More information about the arm-allstar mailing list