Installing Asterisk 11 on CentOS 6 With Yum
This article describes how to install Asterisk 11 on CentOS 6 using Yum. It will be kept short in order to it to be easy to follow. I’m assuming you are using a fresh install of CentOS 6.4.
This is the second of a series of tutorials about Asterisk and CentOS, the last document was about installing CentOS for Asterisk.
First install dnsmasq package:
Add the Asterisk repository:
Update your system:
Please note that after adding the Asterisk repository, a script will be installed on your system at ‘/usr/bin/update-etcissue.sh‘, this script will update your ‘/etc/issue‘ file when booting and a message like the following will appear when you restart your box:
The IP address of your AsteriskNOW system is AAA.BBB.CCC.DDD
where AAA.BBB.CCC.DDD is the current IP address of your CentOS box.
Installing Asterisk:
As per my latest test, this will also install dahdi-linux and libpri
Installing DADHI:
As per my last test, this will only install dahdi-tools
And that’s it, you have just succesfully made your way installing Asterisk 11 on Centos 6.4 box.
If you want Asterisk to run automatically when your server starts, issue the following command:
Verbosity level and core dumping with asterisk -vvvv and asterisk -g
The flag -v is used for controlling the verbosity level of asterisk output.
The -g flag is used in order to “remove resource limit on core size, thus forcing Asterisk to dump core in the unlikely event of a segmentation fault or abort signal”