[App_rpt-users] Web transceiver node display

iain macdonnell - N6ML ar at dseven.org
Wed Aug 20 03:45:44 UTC 2014


The code snippet posted first checks the length of the string, before
checking if the first digit is a '4'.

I'm confident that the code change(s) should be trivial .. what I'm
more concerned about is getting it to build (including any dependency
libraries) and getting the jar signed (as someone mentioned). I have a
request in to Jim for access to the source, and will see what we can
dig up....

73,

    ~iain / N6ML



On Tue, Aug 19, 2014 at 8:12 PM, Doug Crompton <doug at crompton.com> wrote:
> The leading "4" needs to be changed to a leading "8"  IRLP is now designated
> as 8xxxx. There still are unofficial bridges and in my lsnodes script I
> often see real IRLP nodes that show up with the leading 8 which I strip. The
> problem is though you can't just check for the leading 8 you really have to
> check for the entire string and make sure it is in the 80,000 to 89999
> range.
>
> I would think the web transceiver code does this now for the 40000-49999
> range. Just needs to be changed to 80000-89999. If it is a number in that
> range strip the leading 8 and present as an IRLP node.
>
>
> 73 Doug
> WA3DSP
> http://www.crompton.com/hamradio
>
>
> ________________________________
> From: mike at midnighteng.com
> To: app_rpt-users at ohnosec.org
> Date: Tue, 19 Aug 2014 19:32:00 -0700
>
> Subject: Re: [App_rpt-users] Web transceiver node display
>
>
>
> If you have the correct segment...
>
> a simple change will prevent the problem until something better can be
> worked out.
>
> }
> String s0 = str.substring(1, 2);
> if (s0.equals("4")) {
> return false;
> }
> return false;
> }
>
> ...mike/kb8jnm
>
> -------- Original Message --------
> Subject: Re: [App_rpt-users] Web transceiver node display
> From: Bryan Fields <Bryan at bryanfields.net>
> Date: Tue, August 19, 2014 9:58 pm
> To: APP RPT <app_rpt-users at ohnosec.org>
>
> It's Java, it practically ships with the source.
>
> http://jd.benow.ca/, the online version works fine for messing around with
> it.
>
> I'd say the offending code is this:
>
> private boolean isIRLP(String str)
> {
> if (str.length() != 6) {
> return false;
> }
> for (int i = 2; i < str.length(); i++)
> {
> char ch = str.charAt(i);
> if (!Character.isDigit(ch)) {
> return false;
> }
> }
> String s0 = str.substring(1, 2);
> if (s0.equals("4")) {
> return true;
> }
> return false;
> }
>
> it's in the BeanCanFrameManager.class in the jar.  It's a signed jar, so the
> hard part will be resigning it and getting it to be happy with a different
> rsa key.
> I'm no programer, just a guy that knows some assembler and has a copy of
> IDA.  I don't have the time to mess with it either right now :(
>
> 73's
>
> On 8/19/14, 8:11 PM, mike at midnighteng.com wrote:
>
>
>
> Since we no longer bridge to irlp, it should be a easy fix in a evaluation
> statement of node number over 4xxxx. (short fix)
>
> Or eliminating all code to irlp connects (long fix) not desirable as things
> could change again.
>
> Not having seen the code, I should refrain from comment though. There could
> be all kinds of hidden treasures there. Not always as easy as one might
> think.
>
> ...mike/kb8jnm
>
> -------- Original Message --------
> Subject: Re: [App_rpt-users] Web transceiver node display
> From: iain macdonnell - N6ML <ar at dseven.org>
> Date: Tue, August 19, 2014 7:58 pm
> To: mike at midnighteng.com
> Cc: "App_rpt-users at ohnosec.org" <app_rpt-users at ohnosec.org>
>
> There's (apparently) some logic that makes it display node numbers of
> the form '4xxxx' as if they were IRLP nodes. e.g. my node is 40898,
> and it appears in WebTransceiver as something like "IRLP:0898"
>
> 73,
>
> ~iain / N6ML
>
>
>
> On Tue, Aug 19, 2014 at 4:50 PM, <mike at midnighteng.com> wrote:
>>
>>
>> Through all the chatter on this, I lost sight of what the problem is that
>> we
>> are trying to FIX ?
>> Outside of being a java web app.
>>
>> ...mike/kb8jnm
>>
>> -------- Original Message --------
>> Subject: Re: [App_rpt-users] Web transceiver node display
>> From: Doug Crompton <doug at crompton.com>
>> Date: Tue, August 19, 2014 7:22 pm
>> To: "app_rpt-users at ohnosec.org" <app_rpt-users at ohnosec.org>
>>
>> Would he be willing to just fix the problem? It seems like a rather simple
>> fix if we are just talking about the node display.
>>
>> 73 Doug
>> WA3DSP
>> http://www.crompton.com/hamradio
>>
>>
>> ________________________________
>> From: tim.sawyer at mac.com
>> Date: Tue, 19 Aug 2014 15:43:26 -0700
>> To: app_rpt-users at ohnosec.org
>> Subject: Re: [App_rpt-users] Web transceiver node display
>>
>> I talked to Jim Dixon about this yesterday. He said he is willing to
>> supply
>> the source under certain conditions. Please contact him directly if
>> interested.
>> --
>> Tim
>> :wq
>>
>> On Aug 17, 2014, at 1:48 PM, Bob Brown - WØNQX <bbrown at byrg.net> wrote:
>>
>> well guys here is the list for the web site.... emails are included for
>> most
>> take your pick.....
>>
>>
>>
>> AllStar Link Network -- Developers
>>
>> Allstar Link Web Site Development Team
>>
>>
>> w0otm at w0otm.com -- Marshall Dias, W0OTM
>>
>>
>>
>> jim at lambdatel.com -- Jim Dixon, WB6NIL
>>
>>
>>
>> dsuper7 at gmail.com -- Daniel Issac, No call (at least not yet)
>>
>>
>> App_rpt Development Team
>>
>>
>> jim at lambdatel.com -- Jim Dixon, WB6NIL
>>
>>
>>
>> hwstar at rodgers.sdcoxmail.com -- Steve RoDgers, WA6ZFT
>>
>>
>>
>> sph at xelatec.com -- Steve Henke, W9SH
>>
>>
>>
>> And many other who have generously contributed to this technology
>>
>>
>> Allstar Link OS And Sotware Distrubutions (ACID and Limey Linux)
>>
>>
>> hwstar at rodgers.sdcoxmail.com -- Steve RoDgers, WA6ZFT
>>
>>
>> Other Developers
>>
>>
>> Other Developers
>>
>>
>> --
>> Thanks in Advance
>>
>> Bob Brown, WØNQX
>>
>> Kansas City Metro Area
>>
>> http://drsm0ke.net
>>
>> http://byrg.net
>>
>> http://sm0kenet.net
>>
>> http://kcdstar.byrg.net
>>
>> Quis custodiet ipsos custodes?
>>
>>
>>
>>
>> --
>>
>>
>> On Sun, Aug 17, 2014 at 3:46 PM, Doug Crompton <doug at crompton.com> wrote:
>>
>> Well if you don't have source for the current web transceiver apparently
>> there is source for iaxrpt which works well. It could be used as a base
>> for
>> something new on the web page.
>>
>> It is really a shame to start all over again when this is probably a very
>> simple fix to the current code. Who had the source? Can we contact that
>> person?
>>
>>
>> 73 Doug
>> WA3DSP
>> http://www.crompton.com/hamradio
>>
>>
>>> Date: Sun, 17 Aug 2014 12:26:04 -0700
>>> From: ar at dseven.org
>>> To: kb4fxc at inttek.net
>>> CC: app_rpt-users at ohnosec.org
>>
>>> Subject: Re: [App_rpt-users] Web transceiver node display
>>>
>>> Some desire to get away from Java was expressed, and HTML5 suggested.
>>> I don't know much about HTML5 yet, to be honest. Does anyone see an
>>> easy path to a web client based on HTML5 + IAX2 ?
>>>
>>> It appears that the current WebTransceiver is based on Mexuar Corraleta
>>>
>>> http://www.voip-info.org/wiki/view/Mexuar
>>>
>>> 73,
>>>
>>> ~iain / N6ML
>>>
>>>
>>> On Sun, Aug 17, 2014 at 12:12 PM, David McGough <kb4fxc at inttek.net>
>>> wrote:
>>> >
>>>
>>> > Hi Guys,
>>> >
>>> > SIP and IAX2 are completely different protocols. It's rather like
>>> > comparing a Chevy to a Ford or English to Chinese---Both VoIP protocols
>>> > accomplish a lot of the same things, but, they aren't interchangeable
>>> > nor
>>> > are they directly compatible.
>>> >
>>> > However, there are many IAX2 toolkits out there, including some written
>>> > in
>>> > Java, etc. So, I recommend abandoning the notion of SIP for the Web
>>> > Transceiver entirely--go with IAX2 from the start. SIP won't do what's
>>> > needed for interfacing with the app_rpt code since SIP doesn't natively
>>> > pass the telemetry used by app_rpt, etc.
>>> >
>>> > 73, David KB4FXC
>>> >
>>> >
>>> >
>>> > On Sun, 17 Aug 2014 mike at midnighteng.com wrote:
>>> >
>>> >>
>>> >> My understanding of
>>> >>
>>> >> Differences to sip and iax is that underlying command/control/comment
>>> >> data.
>>> >>
>>> >> If you have and send that data, asterisk is ready for it.
>>> >>
>>> >> Any sip device can be a iax device, but to have iax control, you must
>>> >> send that extra iax data formatted.
>>> >> Any iax device can be used as a sip device without control.
>>> >>
>>> >> any clues where the original java source may be found ?
>>> >>
>>> >> ...mike/kb8jnm
>>> >> -------- Original Message --------
>>> >> Subject: Re: [App_rpt-users] Web transceiver node display
>>> >> From: Tim Sawyer <tim.sawyer at mac.com>
>>> >> Date: Sun, August 17, 2014 1:35 pm
>>> >> To: mike at midnighteng.com
>>> >> Cc: app_rpt-users at ohnosec.org
>>> >>
>>> >> Why is (a nicely commented) iax.conf shown there?
>>> >> --
>>> >> Tim
>>> >> :wq
>>> >>
>>> >> On Aug 17, 2014, at 10:14 AM, mike at midnighteng.com wrote:
>>> >>
>>> >> It's already sourced as iax.
>>> >>
>>> >>
>>> >>
>>> >> iax.conf?r=126">https://code.google.com/p/sipml5/source/browse/trunk/asterisk/etc/iax.conf?r=126
>>> >>
>>> >>
>>> >>
>>> >>
>>> >
>>> > _______________________________________________
>>> > 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.
>>> _______________________________________________
>>> 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.
>>>
>>
>> _______________________________________________
>> 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.
>>
>>
>> _______________________________________________
>> 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.
>>
>>
>>
>> _______________________________________________ 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.
>> ________________________________
>> _______________________________________________
>> 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.
>>
>>
>> _______________________________________________
>> 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.
>
>
>
> _______________________________________________
> 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.
>
>
>
> --
> Bryan Fields
>
> 727-409-1194 - Voice
> 727-214-2508 - Fax
> http://bryanfields.net
>
> ________________________________
> _______________________________________________
> 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.
>
>
> _______________________________________________ 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.
>
> _______________________________________________
> 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.



More information about the App_rpt-users mailing list