System information
done with the following command, but before doing that look at the current menuse-
lect.makeopts (after disabling all the modules) and locate app_dial in the MENUSE
LECT_APPS category and chan_sip in the MENUSELECT_CHANNELS category. After executing
the following command, look at the menuselect.makeopts file again, and you will see
that those modules are no longer listed:
$ menuselect/menuselect --disable-all --enable chan_sip \
--enable app_dial menuselect.makeopts
The modules listed in the menuselect.makeopts file are those that will
not be built—modules that are not listed will be built when the make
application is executed.
You can then build the menuselect.makeopts file in any way you want by utilizing the
other commands, which will allow you to build custom installation scripts for your
system using any scripting language you prefer.
Updating Asterisk
If this is your first installation, you can skip ahead to the section “Base Configura-
tion” on page 51. If you’re in the process of updating your system, however, there are
a couple of things you should be aware of.
When we say updating your system, that is quite different from upgrad-
ing your system. Updating your system is the process of installing new
minor versions of the same branch. For example, if your system is run-
ning Asterisk 1.8.2 and you need to upgrade to the latest bug fix version
for the 1.8 branch, which was version 1.8.3, you’d be updating your
system to 1.8.3. In contrast, we use the term upgrade to refer to changes
between Asterisk branches (major version number increases). So, for
example, an upgrade would be going from Asterisk 1.4.34 to Asterisk
1.8.0.
When performing an update, you follow the same instructions outlined in the section
“How to Install It” on page 48.
Additionally, if you’ve checked out a new directory for this version of
Asterisk (versus running svn up on a checked-out branch), and previ-
ously used menuselect to tweak the modules to be compiled, you can
copy the menuselect.makeopts file from one directory to another prior
to running ./configure. By copying menuselect.makeopts from the old
version to the new version, you save the step of having to (de)select all
your modules again.
64 | Chapter 3: Installing Asterisk