Upgrading kernel: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
<tt>
<tt>
  cd /usr/local/src/dahdi*
  cd /usr/local/src/dahdi*
./configure
  make
  make
  make install
  make install

Revision as of 06:40, 16 April 2017

MiRTA PBX relies on two kernel modules, geoip and dahdi. The first allows to filter packets based on the geographical location, so you can avoid receiving call attempts from foreign countries, the second make conferences to work. When the kernel is upgraded, during a normal CentOS upgrade, these kernel modules will be not automatically regenerated for the new kernel. In this case, you need to reboot the server into new kernel and recompile both.

Recompiling dahdi

Dahdi installation directory is in /usr/local/src, so it will be enough to run:

cd /usr/local/src/dahdi*
make
make install
service dahdi restart

Recompiling geoip

GeoIP installation directory is in /usr/local/src, so it will be enough to run:

cd /usr/local/src/xtables*
./configure
make
make install