Multiple nodes on one server

Setup Information

asl3-asterisk 2:22.5.2+asl3-3.6.3-1.deb12

I am attempting to setup two nodes on the same server and have not been able to locate a couple of pieces of information I think I need.

  1. I understand that each node should have their own port. How do I show that in iax.conf?
  2. I attempted to set up allmon3.ini for multiple nodes and it failed. When the dashboard tried to load it flashed an error message and did not give me access to either node.

Does anyone have a procedure for setting up the multiple nodes and examples how each of the configuration files look that need to be modified?

Thank you,

Eric AJ4QR

You would use bindaddr:bindport for multiple addresses, like

bindaddr = 192.168.1.10:4569
bindaddr = 192.168.1.11:4570

If you are truly meaning 1 server and 2 nodes, then you use the same IAX port for both. The IAX port only needs to change for multiple hosts on the same internal network that are behind a single NAT address. In your case, just use a stock setup and use asl-menu to setup two nodes. It will 'just do' the right thing.

If you are setting up multiple nodes on the same physical host/interface, they don’t need individual ports.

I am hosting 8 nodes on one server, and they are all on port 4569,accessible from the outside world. Each node is just an extension.

The only time you need separate ports is when using separate machines behind NAT, or possibly separate interfaces on the same machine, though I think there is probably not much advantage to that.

Basically, if you use asl-menu to add more nodes, everything should work out of the box, so long as those node numbers are all assigned in the ASL portal to a server with the port number to which your IAX2 is bound for all nodes on that system.

Thank youfor the answers on the ASL side of things. What about allmon? I seem to have access to just one node. How can I switch between them?

For Allmon3 use the first node for the config and then set the multinodes option.