AllStarLink / ASL3

AllStarLink Version 3
https://www.allstarlink.org
GNU Affero General Public License v3.0
18 stars 3 forks source link

Echolink - No node information #78

Closed jetski28 closed 1 month ago

jetski28 commented 5 months ago

Describe the bug I feel like this might be an ASL issue as it appears to happen on both Supermon & Allmon3. Supermon shows Echolink connections with "No info" and Allmon3 shows "No database information". The Asterisk CLI command echolink show nodes shows the correct echolink information.

To Reproduce Steps to reproduce the behavior:

  1. Connect to node via Echolink
  2. View Supermon or Allmon
  3. Look at Echolink connections
  4. See no echolink information

Expected behavior See the correct callsign of echolink connections in dashboard

Screenshots Screenshot Supermon Screenshot Allmon3

Software versions (listed in asl-menu, option 4)

Have you run a software update and rebooted?

What is the platform - e.g. Raspberry Pi 4, Raspberry Pi 5, Virtual Machine, Desktop, etc.

Additional context This has been a problem with ASL2 as well.

jxmx commented 5 months ago

Can you provide the output you mentioned for echolink show nodes? Unfortunately, processing that output is pretty hairy because there's no data structure to it and likely something in your echolink info is unparsable.

jetski28 commented 5 months ago

ASL CLI

KB4MDD commented 5 months ago

It appears that your node is not downloading the master node list.

At the cli type core set debug 7 chan_echolink.so

Every 2 minutes chan_echolink will attempt to download the directory. If there is a problem, you should see it on the console.

I will note that echolink.conf should have these entries:

; Max 4 servers
server1 = nasouth.echolink.org
server2 = naeast.echolink.org
server3 = servers.echolink.org
server4 = backup.echolink.org
jetski28 commented 4 months ago

Servers are correct.

No database download errors but when I connect I get ... ERROR[11283]: chan_echolink.c:3219 do_new_call: Cannot find database entry for IP address x.x.x.x, Callsign <CALLSIGN RETRACTED>.

If I disconnect after a couple minutes and reconnect the error doesn't appear again, assuming because the database has updated with my callsign?

But still Allmon3 and Supermon doesn't show any connection info.

KB4MDD commented 4 months ago

Are you using the echolink client to connect to your allstar node?

If you wait 2 minutes for the node update, do you still have that problem?

Run the cli command echolink dbget callsign xxxxxx enter your call sign for xxxxx in upper case and see what it returns.

jetski28 commented 4 months ago

I'm using the Echolink client on my iPhone.

I've let the app connect, then a couple minutes later, I've checked to see if my callsign has populated with the echolink dbget command, once that shows correctly I've then connected, and still shows No Database Info or No Info on both Allmon3 and Supermon however it shows correctly with echolink show nodes

jxmx commented 4 months ago

After you connect will you please copy/paste the output of the following commands here replacing "NODE" with your node number and ECHOLINK_ID with your digit echolink ID that starts with a 3.

rpt xnode NODE
rpt nodes NODE
echolink dbget nodename ECHOLINK_ID
jetski28 commented 4 months ago

ASL-Echolink*CLI> rpt xnode 1055 43129 192.168.8.175 1 OUT 65:59:03 ESTABLISHED ~3224805 1 IN 05:27:42 ESTABLISHED ~3661351 1 IN 00:00:13 ESTABLISHED ~

T20, T25, T3001262, T3224805, T3661351, T430130, T43129, T45472, T458982, T48798, T49276, T50522, T508880, T510640, T513020, T521600, T521603, T521604, T521605, T521606, T521607, T521609, T52748, T53390, T53930, T545441, T547452, T550114, T55767, T565700, T565701, T570070, T589545, T59964, T60520, T61148, T61252, T61488, T61943, T622430, TVK3NCR

RPT_TXKEYED=0 RPT_NUMLINKS=41 RPT_LINKS=41,T43129,T50522,T53930,T3001262,T622430,T45472,T52748,T550114,T61148,T49276,T521603,T20,T521609,T458982,T521607,T53390,T545441,T55767,T430130,T59964,T48798,T61943,T510640,T547452,T570070,T508880,T60520,T513020,T61488,T589545,T25,T565700,TVK3NCR,T521605,T521600,T61252,T565701,T521604,T521606,T3661351,T3224805 RPT_NUMALINKS=3 RPT_ALINKS=3,43129TU,3661351TU,3224805TU RPT_ETXKEYED=0 RPT_AUTOPATCHUP=0 RPT_RXKEYED=0

parrot_ena=0 sys_ena=1 tot_ena=1 link_ena=1 patch_ena=1 patch_state=4 sch_ena=1 user_funs=1 tail_type=0 iconns=1 tot_state=2 ider_state=1 tel_mode=2

ASL-Echolink*CLI> rpt nodes 1055

CONNECTED NODES

T20, T25, T3001262, T3224805, T3661351, T430130, T43129, T45472 T458982, T48798, T49276, T50522, T508880, T510640, T513020, T521600 T521603, T521604, T521605, T521606, T521607, T521609, T52748, T53390 T53930, T545441, T547452, T550114, T55767, T565700, T565701, T570070 T589545, T59964, T60520, T61148, T61252, T61488, T61943, T622430 TVK3NCR

ASL-Echolink*CLI> echolink dbget nodename 661351 661351|VK3APJ|x.x.x.x (IP REDACTED)

jxmx commented 2 months ago

That all looks correct. Can you provide the output of rpt xstat 1055? Also, what version of asterisk are you currently running?

jetski28 commented 2 months ago

rpt xstat doesn't appear to be a command.

However just in case your referring to xnode or stats, see below. ASL-Echolink*CLI> rpt stats 1055 **** NODE 1055 STATISTICS *****

Selected system state............................: 0 Signal on input..................................: NO System...........................................: ENABLED Parrot Mode......................................: DISABLED Scheduler........................................: ENABLED Tail Time........................................: STANDARD Time out timer...................................: ENABLED Incoming connections.............................: ENABLED Time out timer state.............................: RESET Time outs since system initialization............: 2 Identifier state.................................: CLEAN Kerchunks today..................................: 0 Kerchunks since system initialization............: 0 Keyups today.....................................: 517 Keyups since system initialization...............: 10973 DTMF commands today..............................: 0 DTMF commands since system initialization........: 1 Last DTMF command executed.......................: 81343129 TX time today....................................: 02:54:52:94 TX time since system initialization..............: 73:48:28:877 Uptime...........................................: 553:57:18 Nodes currently connected to us..................: 43129, 3661351 Autopatch........................................: ENABLED Autopatch state..................................: DOWN Autopatch called number..........................: N/A Reverse patch/IAXRPT connected...................: DOWN User linking commands............................: ENABLED User functions...................................: ENABLED

ASL-Echolink*CLI> rpt xnode 1055 43129 192.168.8.175 0 OUT 539:14:42 ESTABLISHED ~3661351 1 IN 00:01:38 ESTABLISHED ~

T20, T28467, T3661351, T43129, T458982, T48798, T50522, T521600, T521601, T521603, T521604, T521605, T521606, T521607, T521609, T526610, T52697, T53390, T53930, T545441, T550114, T565700, T565701, T570070, T589545, T594540, T603781, T60754, T61935, T62375, T62657, TVK4GCR

RPT_NUMLINKS=32 RPT_LINKS=32,T43129,T50522,T28467,T62375,T545441,TVK4GCR,T521600,T62657,T550114,T20,T521603,T521609,T53390,T60754,T521607,T589545,T458982,T61935,T526610,T53930,T521605,T521601,T521604,T521606,T603781,T565701,T570070,T594540,T565700,T48798,T52697,T3661351 RPT_NUMALINKS=2 RPT_ALINKS=2,43129TU,3661351TU RPT_TXKEYED=0 RPT_ETXKEYED=0 RPT_AUTOPATCHUP=0 RPT_RXKEYED=0

parrot_ena=0 sys_ena=1 tot_ena=1 link_ena=1 patch_ena=1 patch_state=4 sch_ena=1 user_funs=1 tail_type=0 iconns=1 tot_state=2 ider_state=2 tel_mode=2

Versions OS : Debian GNU/Linux 12 (bookworm) OS Kernel : 6.1.0-22-amd64

Asterisk : 20.8.1+asl3-3.0.0-1.deb12 ASL [app_rpt] : 3.0.0

allmon3 1.2.1-2 asl3 3.1.1-1.deb asl3-asterisk 2:20.8.1+asl3-3.0.0-1.deb12 asl3-asterisk-config 2:20.8.1+asl3-3.0.0-1.deb12 asl3-asterisk-module 2:20.8.1+asl3-3.0.0-1.deb12 asl3-menu 1.6-1.deb12

jxmx commented 2 months ago

No, I need the output of "XStat" which I forgot isn't in the CLI, only in the AMI. This is something unique to your setup and I'm not sure why it's happening.

Also, would you please upgrade your software to the latest versions? Those are all older and I want to make sure we're looking at a current bug.

Allan-N commented 1 month ago

Did Allmon3 PR#250 and Allmon3 Release v1.3.5-1 address this issue?

jetski28 commented 1 month ago

I've just done an update/upgrade and its now looking good. Allmon3 is now reporting the Echolink callsign.

Package Version │ allmon3 1.3.5-1.deb12 │ asl3 3.5.0-1.deb │ asl3-asterisk 2:20.9.3+asl3-3.0.6-1.deb12 │ asl3-asterisk-config 2:20.9.3+asl3-3.0.6-1.deb12 │ asl3-asterisk-modules 2:20.9.3+asl3-3.0.6-1.deb12 │ asl3-menu 1.9-1.deb12

Allan-N commented 1 month ago

Good to hear that this issue has been resolved.