Difference between revisions of "Fix Zaptel After a Yum Update"

From AllStarLink Wiki
Jump to navigation Jump to search
imported>N8THN
m
imported>N8THN
m
 
Line 5: Line 5:
  
 
First update Asterisk from SVN. This is the normal update process. While this isn't strictly necessary now is as good a time as any to update.
 
First update Asterisk from SVN. This is the normal update process. While this isn't strictly necessary now is as good a time as any to update.
 +
cd /usr/src
 +
rm -rf astsrc
 +
wget <nowiki>http://x.allstarlink.org/svn-trunk.tar.gz</nowiki> -O- | tar xzv
 +
mv trunk astsrc
 +
cd astsrc
 +
make upgrade-acid
 +
Next we update Zaptel. This is the part that actually fixes the problem. (written by Thor N7JCT)
 +
cd /usr/src/astsrc/zaptel
 +
./configure
 +
make
 +
make install
 +
make config
 +
modprobe zaptel
 +
service zaptel start
 +
service asterisk restart

Latest revision as of 18:46, 25 January 2019


Yum, the CentOS package manager, can update your system including the kernel. If you ever done a "yum update" you found out it breaks Asterisk/app_rpt. Here's how to recover from that.

First update Asterisk from SVN. This is the normal update process. While this isn't strictly necessary now is as good a time as any to update.

cd /usr/src
rm -rf astsrc
wget http://x.allstarlink.org/svn-trunk.tar.gz -O- | tar xzv
mv trunk astsrc
cd astsrc
make upgrade-acid

Next we update Zaptel. This is the part that actually fixes the problem. (written by Thor N7JCT)

cd /usr/src/astsrc/zaptel
./configure
make
make install
make config
modprobe zaptel
service zaptel start
service asterisk restart