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 clonehttps://github.com/akheron/jansson.gitcd ~/janssonautoreconf -i./configuremakemake 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-amrmake depmakemake install
Install Asterisk 12
cd/usr/srcsvn co http://svn.asterisk.org/svn/asterisk/branches/12/yum install sqlite-develcd asterisk-12.0.0./contrib/scripts/install..prereq install./configure --without-pwlibmake 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-pwlibmake menuselect(for asterisk modification)makemake install
