ASL3 questions - AutoConnect to another node, Change Morse ID to Voice ID & Logs

Here are some issues or I can’t seem to find the answer, so far :slight_smile: and am hoping someone here might know for ASL3

1 - I want to be able to connect to my other node on startup. In HamVoip there is a place in the Rpt.conf, but something is different, so I don’t know where that is.
When I try to connect my node 62030 to 61172 or the other way around, it just sits there saying connecting and will not connect. But when I connect to another node of someone it connects. Both nodes are currently at my home on the same network.

I did change the one port from 4569 to 4580 and opened the port up. Am I missing another port that I need to change and open up?

2 - how to I change from Morse code ID to Voice ID instead?

3 - Logging for connections and web connections, how and where to turn that on?

So far, I have been doing searching, but so far, no luck in getting this resolved.

Does anyone know if DVSwitch works with ASL3?

Thank you and 73

Rob - K6IRK

In order of your questions:

1 - Two nodes on a local network will be always be squirrely regardless of ASL3 or HamVOIP because the system is using your public IP address as NAT’d through your router. Depending on a whole host of randomness in a given setup, it’s hard to predict how that may work. If these nodes don’t move, then I’d suggest putting custom entries into rpt.conf and hard-code your local LAN IPs. Another possibility is that your router setup is doing enough traffic handling to send your traffic to a node but it’s responding locally. In this case, you could try toggling off the firewall in cockpit to see if that resolves your issue. However that is NOT recommend as a permanent solution.

2 - Simply change your idrecording in your local node’s [62030](node-main) staza from an |i to a path to an appropriate encoded .gsm file. See Rpt.conf - AllStarLink Wiki.

3 - I’m not sure what you mean by "logging for connections and web connections? Can you clarify?

4 - By “DVSwitch” are you asking about the DVSwitch Mobile app? If so, yes it does.

Yes, hairpin NAT can be a problem on some routers. That’s where the [nodes] stanza the OP mentioned comes into play. ASL3 is no different in that regard than any other AllStar system.

Two nodes behind a NAT router is well documented and has not changed in ASL3. See https://wiki.allstarlink.org/images/0/0c/ASL_two_servers_one_netwrok.pdf

Thank you for the information.

I have my 2 allstar nodes now communicate.

For the logs, I would like to see the Connection Log, AST Log & Linux Log

Using Supermon for the Connection log log, it is looking for this:

File: /var/log/asterisk/connectlog.2

File: /var/log/asterisk/connectlog.1

File: /var/log/asterisk/connectlog

AST Log I get this
File: /var/log/asterisk/messages

Linux Log I get this
Commands: echo '/var/log/messages:'; /bin/cat /var/log/messages; echo; echo '/var/log/syslog:'; /bin/cat /var/log/syslog

/var/log/messages:

/var/log/syslog:

The connection log would be the most handy one for sure.

DVSwitch I was talking about is what would load onto the node, not the mobile app :slight_smile:

I have added info to connect to my other node from the ASL3 node on startup

62030
statpost_url = http://stats.allstarlink.org/uhandler
duplex = 1
idrecording = |iK6IRK
;;;;;;;;;;;;;;;;;;; Your node settings here ;;;;;;;;;;;;;;;;;;;
rxchannel = SimpleUSB/62030 ; SimpleUSB
startup_macro = *8161172 ; *8132000
wait_times = wait-times_hd
hangtime = 100

One example showed *8361172 and this one above shows *8161172

I have restarted the node each time, but still no luck. Am I using the wrong format?

Thank you
Rob

I cannot advise you on anything about Supermon. I know that /var/log/asterisk/connectlog requires installing and configuring some process specific to Supermon - the “smlogger” stuff. Have you tried managing the connections and data in Allmon3? That works out-of-the-box and does not require any special configuration or local installation files.

Regarding /var/log/* items, I assume you’re using the Pi appliance. The Pi appliance is not running syslog by default to cut down on write-wear of SD cards. I would not suggest it, but you can install the rsyslog package if you want traditional syslog logs.

Finally, what are you trying to accomplish with the startup_macro line?

with the startup_macro I am trying to connect this node to my other node

the asl3 node is 62030 and the node I want to connect up with is 61172 when I startup the node instead of manually connecting it

startup_macro=*361172

Perfect and thank you. the information in the file showed *8132000, so I assumed that was the format it had to be in.

works now.

Rob

Oh, I see what you were trying to do… *813 is the default “persistent link” command. So you could use *81361172 but that’s likely overkill for the startup_macro.

The 813 DTMF function is commented by default in rpt.conf. Uncomment it, change your startup macro back to 813 and restart asterisk.

Permanent connects (*813) are very useful for automatically reconnecting after a network outage or far end node going off line.

I should mention that when uncommenting and using 813, functions 811 and 812 should also be uncommented and used.