Asterisk® 12
How to install the new version of asterisk is quite simple. If you are already familiar with updating it, you have nothing to worry about. The installation should go smoothly. If you are not familiar with it here are some of the steps.
- If you are using a freePBX (PBX in a flash) platform, you can skip the process of installing extra software like gcc or autoconf
Installation Process
- Go into the directory, Command:
cd /usr/src
-
Command:
yum groupinstall "Development Tools"
-
install libjansson
-
git clone
https://github.com/akheron/jansson.gitcd ~/jansson
autoreconf -i
./configure
make
make install
-
-
install libjansson
Install pjproject
git clone https://github.com/asterisk/pjproject.git
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-amr
make dep
make
make install
Install Asterisk 12
cd/usr/src
svn co http://svn.asterisk.org/svn/asterisk/branches/12/
yum install sqlite-devel
cd asterisk-12.0.0
./contrib/scripts/install..prereq install
./configure --without-pwlib
make menuselect(optional) "cmenuselect"(worked for Asterisk 12)
make & make install
Go back to the asterisk directory, it should be /usr/src/asterisk-12.0.0/
Be sure to run the install..prereq in ./contrib/scripts/install..prereq install
Compile asterisk
./configure --without-pwlib
make menuselect(for asterisk modification)
make
make install