Difference between revisions of "Switching To PTTLink"

From "PTTLink Wiki"
Jump to navigation Jump to search
Tag: visualeditor
Tag: visualeditor
Line 9: Line 9:
 
The easiest way to change your exiting configuration files to use pttlink.org servers is to as follows:
 
The easiest way to change your exiting configuration files to use pttlink.org servers is to as follows:
 
# Login to the node you wish to switch to using PTTLink
 
# Login to the node you wish to switch to using PTTLink
# Run the following commands to update your node configuration files:<syntaxhighlight lang="shell">
+
# Run the following commands to update your node configuration files:<syntaxhighlight lang="text">
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /usr/local/bin/rc.updatenodelist
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /usr/local/bin/rc.updatenodelist
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /usr/local/bin/NodeNameUpdate.sh
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /usr/local/bin/NodeNameUpdate.sh
Line 17: Line 17:
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /etc/asterisk/extensions.conf
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /etc/asterisk/extensions.conf
 
</syntaxhighlight>
 
</syntaxhighlight>
#Restart your node with:<syntaxhighlight lang="bash">
+
#Restart your node with:<syntaxhighlight lang="text">
 
sudo service asterisk restart
 
sudo service asterisk restart
 
</syntaxhighlight>
 
</syntaxhighlight>
#Login to your node, start asterisk and verify your node is registered with:<syntaxhighlight>
+
#Login to your node, start asterisk and verify your node is registered with:<syntaxhighlight lang="text">
 
KG7QIN*CLI> iax2 show registry  
 
KG7QIN*CLI> iax2 show registry  
 
Host                  dnsmgr  Username    Perceived            Refresh  State
 
Host                  dnsmgr  Username    Perceived            Refresh  State

Revision as of 04:13, 27 August 2021

The following information should help anyone who is attempting to setup a node with or switch to PTTLink.

Switching to PTTLink

Node Configuration

Changing the existing configuration to use PTTLink servers is easy.

Switching from allstarlink.org servers

The easiest way to change your exiting configuration files to use pttlink.org servers is to as follows:

  1. Login to the node you wish to switch to using PTTLink
  2. Run the following commands to update your node configuration files:
    sudo sed -i 's/allstarlink.org/pttlink.org/g' /usr/local/bin/rc.updatenodelist
    sudo sed -i 's/allstarlink.org/pttlink.org/g' /usr/local/bin/NodeNameUpdate.sh
    sudo sed -i 's/allstarlink.org/pttlink.org/g' /usr/local/bin/NodeUpdate.sh
    sudo sed -i 's/allstarlink.org/pttlink.org/g' /etc/asterisk/rpt.conf
    sudo sed -i 's/allstarlink.org/pttlink.org/g' /etc/asterisk/iax.conf
    sudo sed -i 's/allstarlink.org/pttlink.org/g' /etc/asterisk/extensions.conf
    
  3. Restart your node with:
    sudo service asterisk restart
    
  4. Login to your node, start asterisk and verify your node is registered with:
    KG7QIN*CLI> iax2 show registry 
    Host                  dnsmgr  Username    Perceived             Refresh  State
    178.32.160.85:4569    Y       41638       73.11.141.48:4569         120  Registered