Asterisk Installation On Centos 5
Asterisk Installation On Centos 5
For starting, stopping the asterisk service execute the following command
$ service asterisk start
$ service asterisk stop
www.servion.com
Page 1
The ‘menuselect’ option:
The asterisk installation process contains a menuselect operation, where a list of installable
modules and add on are available. To check with this execute the following command
$ make menuselect
**************************************************
Asterisk Module and Build Option Selection
**************************************************
---> 1. Applications
2. Call Detail Recording
3. Channel Drivers
4. Codec Translators
5. Format Interpreters
6. Dialplan Functions
7. PBX Modules
8. Resource Modules
9. Voicemail Build Options
10. Compiler Flags
11. Module Embedding
12. Core Sound Packages
13. Music On Hold File Packages
14. Extras Sound Packages
If the asterisk installation is fresh, leave with the default modules and press ‘x’ to save and exit.
Sometime Asterisk installation fails due to the slow or no internet connectivity as it downloads some of
its sound files from the digium site during make install process. In this case deselect the following
modules and make install.
---> 12. Core Sound Packages
13. Music on Hold File Packages
14. Extras Sound Packages
The sound file can download and install later from digium site http://www.asterisk.org/downloads
The menuselect option contains the all settings and modules necessary for asterisk to run and provide
PBX services. During installation it is important to check the menuselect items properly and select the
necessary modules and codec for installation. The left modules can be include by rebuilding asterisk
from its source. Press ‘x’ to save and exit from the menuselect option.
www.servion.com
Page 2
Keep in mind that module proceeding with [xxx] option is not available with the source tar ball for
installation or missing some dependency from the OS.
Troubleshooting the installation:
1. Execute the following command after the installation is complete to start the asterisk service
and connect to the asterisk console,
$ service asterisk start
$ asterisk -r
2. Sometime the installation process may fail due to the lack of dependency on OS, for that need
to run the following command before installation to check for the dependencies.
$ ./configure
rm -rf /etc/asterisk
rm -rf /etc/zaptel.conf
rm -rf /var/log/asterisk
rm -rf /var/lib/asterisk
rm -rf /var/spool/asterisk
rm -rf /usr/lib/asterisk
rm -rf /usr/sbin/safe_asterisk
rm -rf /usr/sbin/asterisk
rm -rf /etc/init.d/asterisk
www.servion.com
Page 3