Config multiple nodes in a QTH: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
So for node 10000 you will need to edit rpt.conf file. | So for node 10000 you will need to edit rpt.conf file. | ||
sudo nano /etc/asterisk.rpt.conf | |||
Search for the nodes stanza '''[nodes]''' | Search for the nodes stanza '''[nodes]''' | ||
Line 20: | Line 20: | ||
So for node 20000 you will need to edit rpt.conf file. | So for node 20000 you will need to edit rpt.conf file. | ||
sudo nano /etc/asterisk.rpt.conf | |||
Search for the nodes stanza '''[nodes]''' | Search for the nodes stanza '''[nodes]''' |
Latest revision as of 19:47, 1 January 2021
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.
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.
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>.
PTTLink Server IAX ports
Login to your PTTLink 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 PTTLink account.