ASL Config multiple nodes in a QTH

From WLPS Wiki
Jump to navigation Jump to search

For this tutorial we are going to use two sample node numbers 10000 and 20000. Considering both nodes will share the same DSL modem/connection, you will need to add some lines to both nodes and make some port forwarding i your modem.


Node 10000

So for node 10000 you will need to edit rpt.conf file.

repeater@repeater:~$ sudo nano /etc/asterisk.rpt.conf

Search for the nodes stanza [nodes]

Add the following line, observing that the node number appears twice and that the node 20000 IP is 192.168.0.102.

20000 = radio@192.168.0.102:4569/20000,NONE

After making your changes type <CTRL> + <X> and then type <Y> followed by <Enter>. You will be back to the previous menu and choose <Back>.

Node 20000

So for node 20000 you will need to edit rpt.conf file.

repeater@repeater:~$ sudo nano /etc/asterisk.rpt.conf

Search for the nodes stanza [nodes]

Add the following line, observing that the node number appears twice and that the node 10000 IP is 192.168.0.101.

10000 = radio@192.168.0.101:4569/10000,NONE

After making your changes type <CTRL> + <X> and then type <Y> followed by <Enter>. You will be back to the previous menu and choose <Back>.

ASL Server IAX ports

Login to your ASL account and on the Server settings for:

node 10000 change the IAX port to 4569.
node 20000 change the IAX port to 4570.

if you have more nodes, increase the port number as needed (4571, 4572, etc).

Modem Port Forwarding

Now on your modem you have to forward two ports as follow:

For node [10000]

IP 192.168.0.101
Local port 4569
External port 4569

For node [20000]

IP 192.168.0.102
Local port 4569
External port 4570

If you have more ports add them in a way that match the IAX numbers you changed on your ASL account.