Difference between revisions of "Switching To PTTLink"

From "PTTLink Wiki"
Jump to navigation Jump to search
(Created initial page)
Tag: visualeditor
 
Tag: visualeditor
Line 16: Line 16:
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /etc/asterisk/iax.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
 
sudo sed -i 's/allstarlink.org/pttlink.org/g' /etc/asterisk/extensions.conf
 +
</syntaxhighlight>
 +
#Restart your node with:<syntaxhighlight lang="bash">
 +
sudo service asterisk restart
 +
</syntaxhighlight>
 +
#Login to your node, start asterisk and verify your node is registered with:<syntaxhighlight>
 +
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
 +
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 04:09, 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