Changes

Jump to navigation Jump to search
m
no edit summary
Line 22: Line 22:  
# 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="text">
 
# Run the following commands to update your node configuration files:<syntaxhighlight lang="text">
<pre>
   
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 29: Line 28:  
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
</pre>
+
</syntaxhighlight>
   −
#Restart your node with:<syntaxhighlight lang="text">
+
Restart your node with:<syntaxhighlight lang="text">
<pre>
   
sudo service asterisk restart
 
sudo service asterisk restart
</pre>
+
</syntaxhighlight>
    
#Login to your node, start asterisk and verify your node is registered with:<syntaxhighlight lang="text">
 
#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
178.32.160.85:4569    Y      41638      73.11.141.48:4569        120  Registered
+
178.32.160.85:4569    Y      41638      73.11.141.48:4569        120  Registered</syntaxhighlight>
   −
  #For good measure, reboot your node to ensure that all the changes you made to the support scripts take effect:<syntaxhighlight lang="text">
+
#For good measure, reboot your node to ensure that all the changes you made to the support scripts take effect:<syntaxhighlight lang="text">
  sudo reboot
+
sudo reboot</syntaxhighlight>
    
#Wait for your system to come back online.
 
#Wait for your system to come back online.

Navigation menu