Search didn’t point me in the right direction so here I am…
I have multiple private nodes, all on the same subnet and vlan. I run one as a hub and the other 3 are connected to by the hub on startup (permanently). Well, all except one. Hub is node 1100 and other node in question is 1102
1100 cannot establish a connection to 1102 (Supermon reports “Connecting” in red and it never connects). However, if I connect FROM 1102 to 1100, connect is pretty much immediate.
[nodes] looks correct in both nodes and I am stumped!
Have had another look at the conf files and no typos found
As for NAT, unnecessary. As I said, same subnet, same vlan (as well as with another node on the same vlan and subnet, there is no problem connecting to it)
Are you watching the asterisk consoles on 1100 and 1102 while connecting? Increase verbosity and debug to see connection attempts. Watch connection from 1102 to see what success looks like.
As I said, I have another node on the same VLAN and subnet and I’m only having issues with connecting from 1100 > 1102.
1100 connects to 1101 (a remotely located one on the AREDN Mesh) and 1103 (on the same VLAN and subnet) without problems. I don’t see any difference in extensions.conf (aside from node # of course) between them
If you do not specify the iax port of the remote private node… how does it know ?
Behind the same NAT, they are obviously not the same port number or you could not port forward to the correct machine… or perhaps that too is a issue if the same port, but you must specify it in the nodes segment as ‘connection info’ .
Maybe this belongs in the allmon part of the forum but as it turns out, Supermon for ASL doesn’t actually reload the Iax2, Rpt, & Dialplan files as the “Iax2, Rpt, & Dialplan Reload” button claims.
In my case,Asterisk was working with an old rpt.conf file with the wrong IP for node 1102 despite the above. Using the Asterisk CLI revealed that. Thanks to N4IRS for suggesting that
The connection is not being NATed since it’s on the same subnet. The 2 nodes could be on the same IAX port.That being said, I always add the port number to the entry in the nodes section even if it’s the default 4569. It leaves no room for doubt.