[App_rpt-users] Occasional URI Glitch (Mark Tinney W4GVX)

Mark Tinney mark at tinney.us
Mon Dec 15 10:07:37 UTC 2014


Which channel are you using when you have this problem? I had channel A for the repeater audio and channel B for a monitor and when I lost channel A, channel B would still be working fine. Recently moved everything to channel B only and so far it has been fine. 


Sent from my Verizon Wireless 4G LTE smartphone


-------- Original message --------
From: app_rpt-users-request at ohnosec.org 
Date: 12/15/2014  02:23  (GMT-05:00) 
To: app_rpt-users at ohnosec.org 
Subject: App_rpt-users Digest, Vol 70, Issue 25 

Send App_rpt-users mailing list submissions to
app_rpt-users at ohnosec.org

To subscribe or unsubscribe via the World Wide Web, visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
or, via email, send a message with subject or body 'help' to
app_rpt-users-request at ohnosec.org

You can reach the person managing the list at
app_rpt-users-owner at ohnosec.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of App_rpt-users digest..."


Today's Topics:

   1. Occasional URI Glitch (Dave)
   2. Re: Occasional URI Glitch (Tim Sawyer)
   3. FW:  AllStarLink Financial Donation (Marshall Oldham)
   4. Re: Show link topology from cli? (Salik Satti)


----------------------------------------------------------------------

Message: 1
Date: Sun, 14 Dec 2014 11:30:18 -0700
From: Dave <k7dmk.1 at gmail.com>
To: app_rpt-users at ohnosec.org
Subject: [App_rpt-users] Occasional URI Glitch
Message-ID: <548DD73A.2040904 at gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed

have a later model URI (CM119A) on my backyard repeater currently 
running the newest build of Acid. I use WOL to start up the 1U 
Supermicro Atom powered server every AM to bring up the repeater since 
it is only on about 14-16 Hrs/day. I do this by dialling an extension on 
my Asterisk home phone system. A WOL command gets fired off to start the 
server. When Asterisk starts on the Acid box, a GPIO pin on the URI 
turns on a SSR to power up the repeater hardware.

Occasionally, maybe once in 15 or 20 times, the machine seems to come up 
normally, but the id and transmit audio is very low level and distorted. 
The only way to fix it is to unplug the USB connector from the URI and 
plug it back in. This resets the URI and all is good until the next time 
it happens. Updating CentOS/Acid/Asterisk over the last year has not 
helped. I suspect that some register in the CM119A is getting corrupted 
while the machine is down.

I have tried a USB reset script I found that sends a bus reset command 
to the C-Media USB port. I identified it's device id with the lsusb 
command and inserted the proper bus and device id into the script. I 
then added the script to rc.local to run it each time the computer 
boots. It does appear to reset the bus, but it does not clear the 
problem. Remotely rebooting or powering down the computer via DTMF does 
not help either since USB power normally stays on. The only way to clear 
the problem is to interrupt the USB power and create a power up reset 
state for the URI.

Has anyone else seen this behavior?  Any ideas short of some actual 
hardware to interact with the USB power supply? A IP controlled power 
switch could work, but it seems a bit of a overkill.

It's not a show-stopper with the repeater in my house, but when the 
system gets moved to a remote location it will be.

Sorry if this gets double-posted, I inadvertently used a different email 
address the first time.

Thanks, K7DMK


------------------------------

Message: 2
Date: Sun, 14 Dec 2014 10:44:00 -0800
From: Tim Sawyer <tim.sawyer at mac.com>
To: Dave <k7dmk.1 at gmail.com>
Cc: app_rpt-users at ohnosec.org
Subject: Re: [App_rpt-users] Occasional URI Glitch
Message-ID: <5BF2AF12-B5E4-45A0-8CA6-6DF913195AF5 at mac.com>
Content-Type: text/plain; charset=utf-8

I don?t know if there is some bug in WOL but Linux likes to run all the time. If you leave the system on does it run ok?

> On Dec 14, 2014, at 10:30 AM, Dave <k7dmk.1 at gmail.com> wrote:
> 
> have a later model URI (CM119A) on my backyard repeater currently running the newest build of Acid. I use WOL to start up the 1U Supermicro Atom powered server every AM to bring up the repeater since it is only on about 14-16 Hrs/day. I do this by dialling an extension on my Asterisk home phone system. A WOL command gets fired off to start the server. When Asterisk starts on the Acid box, a GPIO pin on the URI turns on a SSR to power up the repeater hardware.
> 
> Occasionally, maybe once in 15 or 20 times, the machine seems to come up normally, but the id and transmit audio is very low level and distorted. The only way to fix it is to unplug the USB connector from the URI and plug it back in. This resets the URI and all is good until the next time it happens. Updating CentOS/Acid/Asterisk over the last year has not helped. I suspect that some register in the CM119A is getting corrupted while the machine is down.
> 
> I have tried a USB reset script I found that sends a bus reset command to the C-Media USB port. I identified it's device id with the lsusb command and inserted the proper bus and device id into the script. I then added the script to rc.local to run it each time the computer boots. It does appear to reset the bus, but it does not clear the problem. Remotely rebooting or powering down the computer via DTMF does not help either since USB power normally stays on. The only way to clear the problem is to interrupt the USB power and create a power up reset state for the URI.
> 
> Has anyone else seen this behavior?  Any ideas short of some actual hardware to interact with the USB power supply? A IP controlled power switch could work, but it seems a bit of a overkill.



------------------------------

Message: 3
Date: Sun, 14 Dec 2014 18:11:32 -0800
From: "Marshall Oldham" <ke6pcv at cal-net.org>
To: <app_rpt-users at ohnosec.org>
Subject: [App_rpt-users] FW:  AllStarLink Financial Donation
Message-ID: <019d01d0180c$71e6ce10$55b46a30$@org>
Content-Type: text/plain; charset="us-ascii"

Greetings, 

I am reposting this message as I know some folks may not have caught this original message. 

The donations so far have been rather underwhelming and will not even begin to cover the
associated cost for 
running the various servers which support Allstarlink.

If you can spare the funds please help out. 

You can donate by using the following URL. 

https://allstarlink.org/


At the top of the webpage just slightly down there is a PayPal donate button

73

Marshall - ke6pcv



From: app_rpt-users-bounces at ohnosec.org [mailto:app_rpt-users-bounces at ohnosec.org] On Behalf Of
Marshall Oldham
Sent: Saturday, November 29, 2014 10:24 AM
To: app_rpt-users at ohnosec.org
Subject: [App_rpt-users] AllStarLink Financial Donation



Greetings fellow AllStarLink members, 



Once again I am reposting this email which is very similar to last year with the hopes that we
as the amateur community can step forward and support our hobby, mainly the app_rpt and
AllStarLink technology that we all enjoy today. 



As many of you that are new to app_rpt might NOT know. The creator of app_rpt and the
Allstarlink network has never charged or asked for financial support to keep the system going
for use in amateur radio.



He has never charged users money to be a part of app_rpt or for use of the network, nor has he
ever made any profit off of specific hardware sales for the Allstarlink network.  Through the
years he has put in a great deal of time and dedication along with his exceptional talents to
make app_rpt and the Allstarlink network the great VOIP technology that it has become today.
No other VOIP technology in the amateur radio community can even compare to the technology,
features and capability that is offered for free to anyone wishing to setup a node.  



Another understated fact is that there are monthly costs associated with keeping things running
smoothly for the system. These costs are for server collocation, domain certifications and so
on, amounting to roughly $175 per month.  Jim pays these monthly fees from donations, but
mostly out of his own pocket. It would be nice if we could all pitch in and help him to at the
least cover these monthly costs for this coming year?  



I am proposing that we all donate to this cause via PayPal at the following URL. 



https://allstarlink.org/



At the top of this webpage just slightly down there is a PayPal donate button.



In the spirit and season of giving, let's all try and help out with the financial side, so we
can continue to use and enjoy this great technology that we have all come to know and love!



I would also like to thank Jim, WB6NIL for all the many hours of work and support that he and
others have donated to this hobby so that the amateur community at large can benefit and enjoy
the use of his technology on a daily basis for free. 



73



Marshall - ke6pcv

Node 2065, 2066, 2067, 2068, 29147, 29148, 29149, 29947, 29948, 29949  





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ohnosec.org/pipermail/app_rpt-users/attachments/20141214/396eb16d/attachment-0001.html>

------------------------------

Message: 4
Date: Mon, 15 Dec 2014 07:23:36 +0000 (UTC)
From: Salik Satti <saliksatti at yahoo.com>
To: Doug Crompton <doug at crompton.com>, k5tra <k5tra at austin.rr.com>
Cc: "app_rpt-users at ohnosec.org" <app_rpt-users at ohnosec.org>
Subject: Re: [App_rpt-users] Show link topology from cli?
Message-ID:
<783962974.71192.1418628216605.JavaMail.yahoo at jws10069.mail.ne1.yahoo.com>

Content-Type: text/plain; charset="utf-8"

Hi Doug,???????? I have setup a DMK Uri to work with XIPAR. And from asterisk cli when i issue radio tune command like:
radio tune rxnoise or rxvoiceit says:Done tries=12, Setting=5.000000, meas=505.000000ERROR: RX VOICE GAIN ADJUST FAILED.
?Salik Mumtaz Satti, Assistant Exective Engineer
National Radio And Telecommunication Corporation, Haripur kpk Pakistan 
www.nrtc.com.pk
salik.satti at nrtc.com.pk
Contact: +923155414048
Skype: salik.satti6



     On Wednesday, November 19, 2014 11:12 AM, Salik Satti <saliksatti at yahoo.com> wrote:
   

Hi 
why do i need to connect my node with allstar or echolink i just want to set it up locally. how to set all this totally locally between two nodes. 
Regards,
?Salik Mumtaz Satti, A-EXEN
National Radio And Telecommunication Corporation, Haripur Pakistan 
www.nrtc.com.pk
salik.satti at nrtc.com.pk
Contact: +923155414048
Skype: salik.satti6



     On Monday, November 17, 2014 11:27 PM, Doug Crompton <doug at crompton.com> wrote:
   

#yiv5996377240 --.yiv5996377240hmmessage P{margin:0px;padding:0px;}#yiv5996377240 body.yiv5996377240hmmessage{font-size:12pt;font-family:Calibri;}#yiv5996377240 That is certainly a way to do it. Here is another option that doesn't mess with the CLI. The 'archivedir' command in rpt.conf creates dated text files of all node activity. Unfortunately it also saves wav files of all of the audio. This is not a problem on a large disk based system but on the BBB it would just not work. So new in the BBB code is a command called 'archiveaudio' which was created to turn off the saving of the audio portion of the archive thus greatly reducing the storage load. I am not sure if this command has made its way to Acid. If you do use this on the BBB make sure you archive to a tmpfs like /tmp and also delete past files periodically because even they get large depending on you nodes activity. 'archivedir' saves based on date, creating one file per calendar day. 

Example of using command in rpt.conf:

[27225]
rxchannel = SimpleUSB/usb
duplex=1
erxgain=-3
etxgain=3
archivedir=/var/log/asterisk/audio
archiveaudio=0????????? ; Disable saving .wav files

This creates a directory under the archivedir path of the node number.? Multiple archives can be stored if you put these commands in each node stanza. This listing shows files dating back to July 31 of all node activity. This is an Acid system modified to not save audio files.

[root at WA3DSP_Allstar asterisk]# cd /var/log/asterisk/audio/27225/
[root at WA3DSP_Allstar 27225]# ls
20140731.txt? 20140815.txt? 20140830.txt? 20140914.txt? 20140929.txt? 20141014.txt? 20141029.txt? 20141113.txt
20140801.txt? 20140816.txt? 20140831.txt? 20140915.txt? 20140930.txt? 20141015.txt? 20141030.txt? 20141114.txt
20140802.txt? 20140817.txt? 20140901.txt? 20140916.txt? 20141001.txt? 20141016.txt? 20141031.txt? 20141115.txt
20140803.txt? 20140818.txt? 20140902.txt? 20140917.txt? 20141002.txt? 20141017.txt? 20141101.txt? 20141116.txt
20140804.txt? 20140819.txt? 20140903.txt? 20140918.txt? 20141003.txt? 20141018.txt? 20141102.txt? 20141117.txt
20140805.txt? 20140820.txt? 20140904.txt? 20140919.txt? 20141004.txt? 20141019.txt? 20141103.txt? rxlog.txt
20140806.txt? 20140821.txt? 20140905.txt? 20140920.txt? 20141005.txt? 20141020.txt? 20141104.txt? tail.pl
20140807.txt? 20140822.txt? 20140906.txt? 20140921.txt? 20141006.txt? 20141021.txt? 20141105.txt? 
20140808.txt? 20140823.txt? 20140907.txt? 20140922.txt? 20141007.txt? 20141022.txt? 20141106.txt
20140809.txt? 20140824.txt? 20140908.txt? 20140923.txt? 20141008.txt? 20141023.txt? 20141107.txt
20140810.txt? 20140825.txt? 20140909.txt? 20140924.txt? 20141009.txt? 20141024.txt? 20141108.txt
20140811.txt? 20140826.txt? 20140910.txt? 20140925.txt? 20141010.txt? 20141025.txt? 20141109.txt
20140812.txt? 20140827.txt? 20140911.txt? 20140926.txt? 20141011.txt? 20141026.txt? 20141110.txt
20140813.txt? 20140828.txt? 20140912.txt? 20140927.txt? 20141012.txt? 20141027.txt? 20141111.txt
20140814.txt? 20140829.txt? 20140913.txt? 20140928.txt? 20141013.txt? 20141028.txt? 20141112.txt

tail.pl, a Perl script which is attached, deals with the extraction of the data. In this case the RXKEY's only indicating who key the circuit. I also pull in the database file to nicely display the node QTH and location.

Here is what the processed rxlog looks like:

09/09/2014 08:41:26 RXKEY 40865?? WD9EQD? 147.435 Simplex?????? Smithville, NJ
09/09/2014 08:41:39 RXKEY 40561?? WA3DSP? ECHOLINK - 147090???? Richboro, PA - Hub
09/09/2014 08:41:45 RXKEY 40865?? WD9EQD? 147.435 Simplex?????? Smithville, NJ
09/09/2014 08:41:49 RXKEY 40561?? WA3DSP? ECHOLINK - 147090???? Richboro, PA - Hub
09/09/2014 08:41:59 RXKEY 29817?? NY3J??? 446.150 Simplex 91.5? Bensalem, PA

The rxlog is read by a simple script which keeps tabs on what the system is doing. The Perl script, tail.pl, is run in the background constantly monitoring the current archive file and saving parsed data to rxlog.txt :

[root at WA3DSP_Allstar 27225]# cat /usr/local/sbin/rxlog.sh
#! /bin/bash

tail -f /var/log/asterisk/audio/27225/rxlog.txt

Of course this could be expanded to view other parameters as all of the control data is in the individual text files. In my case the only thing that was important to me was who keyed or who is keyed in a situation where someone is hanging a circuit. It would be easy to show keyed status in a display using RXKEY and RXUNKEY 

Where you put the files and how you deal with the data is your option. These are only examples.

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



_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. 

    

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ohnosec.org/pipermail/app_rpt-users/attachments/20141215/c3a1af14/attachment.html>

------------------------------

_______________________________________________
App_rpt-users mailing list
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users


End of App_rpt-users Digest, Vol 70, Issue 25
*********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20141215/62de88c8/attachment.html>


More information about the App_rpt-users mailing list