Asl3 second node not taking incoming connections

I installed ASL3 in the cloud. The first node 50964 works as it should the second node 500264 added after the first was working will dial out but no incoming connections. I have both nodes on two different servers. The first at 4569 and the second at 4568. I manually change the rpt.conf to state this:

rpt.conf
50964 = radio@127.0.0.1:4569/50964,NONE
500264 = radio@127.0.0.1:4568/500264,NONE

Both nodes are setup as full duplex with “dahdi/pseudo” as the radio type.

allmon3.ini
[50964]
host=127.0.0.1
user=admin
pass=xxxx
[500264]
host=127.0.0.1
user=admin
pass=xxxx

Do I need to load two sets of fake radios? If so how do I do this?

1 Like

Does the second node have a port forward to the correct local IP ?

That is what it sounds like anyway.

This setup is in the cloud and I have NOT enabled any firewalls just yet.

This setup says both nodes are the same server, but different ports.

So, they are not behind the same NAT. Then the IP is wrong.
127.0.0.1 is local (this server)

When you said that the one node does not accept inbound connections, did you really mean a connection from you other node ?

Did you have someone/anyone from the outside see if they can connect ?

There’s only one iax port for a whole server. Two nodes on the same server have the same iax port. Your setup above is listing two ports which means your ASL portal has two servers defined for something that’s really one server. One server has 1 to N nodes.

He has at least stated he has 2 servers.

And seemed to indicate they are not on a single NAT.
So, he does need the ports if true, but the IP is the same (internal) on one server.
You can’t connect to a cloud node when the definition is hard labeled to internal.
He should take the definition out entirely and allow the nodelist data to make a foreign connection.

50964=radio@155.138.164.49:4569/50964,155.138.164.49
500264=radio@155.138.164.49:4568/500264,155.138.164.49,y

The registration data says they are the same server.

But 500264 is listed as a remote base and therefore only one connection can be made.
If it is not a remote base than this should be a N, no, none

Since I have no idea what is true. It is a config issue. Just can’t say where on this info.

He said two servers but is showing a configuration with two nodes both on “127.0.0.1” meaning two nodes on “local host” - I.e. same server.

Exactly, I did say that in the first place

.

When he typed “two different servers” I read it as “two different ports”. @Darrell_Black - will you please confirm if you are trying to configure two nodes on one single VPS/server or if you really have TWO different servers.

Sorry for the confusion when I said two servers, I meant two server definitions on the Allstar website. Which ultimately means two different ports. Both of these nodes were running on two separate raspberry pies when I moved them to the cloud, I moved them into one application, running to nodes.

Last night I changed everything back to default however I went to the Allstar website and changed both nodes to use the same server or port.

I was hoping everything would propagate overnight, but unfortunately The reverted port did not propagate.

To be clear, you now have two node numbers - 509264 and 500264 - that are configured in the portal to the same server item? And what IAX port is configured in the server item?

What do you then have configured in the [nodes] stanza of /etc/asterisk/rpt.conf and what bindport is configured in /etc/asterisk/iax.conf?

rpt.conf

50964 = radio@155.138.164.49:4569/50964,NONE
500264 = radio@155.138.164.49:4569/500264,NONE

iax.conf

bindport = 4569

IAX STATUS shows the “Perceived” as 4568 not 4569…How to I clear the cashe?

Host dnsmgr Username Perceived Refresh State
34.105.111.212:4569 Y 500264 155.138.164.49:4568 180 Registered
34.105.111.212:4569 Y 50964 155.138.164.49:4569 180 Registered

On the www.allstarlink.org portal settings, are you certain that node 500264 is set to use the same server as node 50964?

and don’t forget to click the “Submit” button after making any changes :slight_smile:

First off, I would strongly advise NOT using IAX registration method and instead use HTTP registration. The information is at HTTP Registration - AllStarLink Manual. Configure that and comment out any line starting with register => in iax.conf. Unless you have a complelling reason not to, it’s strongly suggested to use asl-menu to configure the node, even when you have multiple nodes.

The, go into the AllStarLink portal and edit the Server you have defined for this and make sure the port there is listed as 4569. Then for both Node registrations, make sure those nodes are associated with the single server you checked.

Then, restart Asterisk, wait about 15 seconds, and check your registration with rpt show registrations.

OK, it works now…I messed up after setting everything to default. I had a typo in my file.

Thank you everyone for the help.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.