Changes

Jump to navigation Jump to search
m
no edit summary
Line 1: Line 1:  
if you are not going to use first-time.sh (and it's name derivatives)
 
if you are not going to use first-time.sh (and it's name derivatives)
 +
or, you are moving your PTTLink node to an existing Debian or Ubuntu machine;
 +
or, just want to do things some arbitrary way:
   −
Do the following  
+
Do the following:
      −
copy some shit from the original WORKING ASL node machine
+
Copy the ENTIRE /etc/asterisk folder from the WORKING PTTLink node machine to:
 +
- another Linux/Windows box for safe keeping,
 +
- (and replace the existing) to your new node host PTTLink machine
   −
paste some shit to the new ALS node machine
      
perform side-by-side comparisons to make confirm correct file copy
 
perform side-by-side comparisons to make confirm correct file copy
Line 16: Line 19:  
restart asterisk again
 
restart asterisk again
   −
check for errors
+
check for errors in the Asterisk Console and /var/log/asterisk/messages.
 +
Logs sometimes appear in /etc/asterisk/messages
    
if:
 
if:
Line 27: Line 31:  
<code>ls -la /dev/dsp</code>
 
<code>ls -la /dev/dsp</code>
    +
Credit belongs to N4IRS for the direct above commands.
   −
if /dev/dsp is something like this: crw-rw---- 1 root audio 14, 3 May 15 18:49 /dev/dsp
+
 
 +
if:
 +
/dev/dsp is something like this:  
 +
crw-rw---- 1 root audio 14, 3 May 15 18:49 /dev/dsp
 
then:
 
then:
 
<code>chmod 775 /dev/dsp </code>
 
<code>chmod 775 /dev/dsp </code>
 +
    
<code> systemctl status</code>
 
<code> systemctl status</code>
Line 36: Line 45:  
usually restarting Asterisk will cause the update node list service to fail.
 
usually restarting Asterisk will cause the update node list service to fail.
 
In this case, you may see something such as:
 
In this case, you may see something such as:
 +
 
State: degraded
 
State: degraded
 
     Jobs: 0 queued
 
     Jobs: 0 queued
 
   Failed: 1 units
 
   Failed: 1 units
 +
 +
 +
Now do:
    
<code>
 
<code>
Line 44: Line 57:  
</code>
 
</code>
 
  UNIT                  LOAD  ACTIVE SUB    DESCRIPTION
 
  UNIT                  LOAD  ACTIVE SUB    DESCRIPTION
● updatenodelist.service loaded failed failed AllStar NodeList updater
+
● updatenodelist.service loaded failed failed PTTLink NodeList updater
       +
Then do this:
 
<code> systemctl restart updatenodelist.service</code>
 
<code> systemctl restart updatenodelist.service</code>
   Line 54: Line 68:        +
 +
Those who read all the instructions:
 +
- you must make absolutely sure all of the files you copied have the SAME permissions as on the working PTTLink node.
 +
- you may have to either:
 +
  - use sudo if you put PTTLink Asterisk on a daily use machine that has a normal user, other than root
 +
    or, you can just typer <code>sudo su</code> instead of prefixing all commands with <code>sudo</code>
     

Navigation menu