System information
The basic steps are:
$ cd ~/src/asterisk-complete/asterisk/1.8.<your version number>/
$ ./configure
$ make
$ make install
You don’t need to run sudo
make install because we’ve already set the
directory ownership to the asteriskpbx user. You should be able to install
new files directly into the appropriate directories.
Upon installation, however, you may get a message like the following:
WARNING WARNING WARNING
Your Asterisk modules directory, located at
/usr/lib/asterisk/modules
contains modules that were not installed by this
version of Asterisk. Please ensure that these
modules are compatible with this version before
attempting to run Asterisk.
chan_mgcp.so
chan_oss.so
chan_phone.so
chan_skinny.so
chan_skype.so
codec_g729a.so
res_skypeforasterisk.so
WARNING WARNING WARNING
This warning message is indicating that modules installed in the /usr/lib/asterisk/mod-
ules/ directory are not compatible with the version you’ve just installed. This most often
occurs when you have installed modules in one version of Asterisk, and then installed
a new version of Asterisk without compiling those modules (as the installation process
will overwrite any modules that existed previously, replacing them with their upgraded
versions).
To get around the warning message, you can clear out the /usr/lib/asterisk/modules/
directory prior to running make install. There is a caveat here, though: if you’ve installed
third-party modules, such as commercial modules from Digium (including chan_skype,
codec_g729a, etc.), you will need to reinstall those if you’ve cleared out your modules
directory.
It is recommended that you keep a directory with your third-party modules in it that
you can reinstall from upon update of your Asterisk system. So, for example, you might
create the /usr/src/asterisk-complete/thirdparty/1.8 directory as follows:
Updating Asterisk | 65
Downloa d f r o m W o w ! e B o o k < w w w.woweb o o k . c o m >