Asterisk SVN Install

From KlavoWiki
Revision as of 23:30, 17 May 2009 by David (Sọ̀rọ̀ | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction to SVN

If you want the latest and greatest version of Asterisk that has not been officially released you can download the SVN (Subversions) of Asterisk. A SVN release is still in development and has not passed complete testing for any bugs.

If you a required to use a proxy server make sure you have alook at SVN_Proxy.

Prerequisite

To download a SVN version of an application you will need to make sure that you have installed the SVN application.

yum install subversion

Location

The SVN site for Asterisk is located at Digium

Lets Download

Asterisk

svn co http://svn.asterisk.org/svn/asterisk/trunk/ asterisk

Asterisk addons

svn co http://svn.asterisk.org/svn/asterisk-addons/trunk/ asterisk-addons

DAHDI Linux

svn co http://svn.asterisk.org/svn/dahdi/linux/trunk/ dahdi-linux

DAHDI Tools

svn co http://svn.asterisk.org/svn/dahdi/tools/trunk/ dahdi-tools

libpri

svn co http://svn.asterisk.org/svn/libpri/branches/1.4/ libpri

Installation

Now that you have downloaded the absolute latest version of Asterisk you can now look at Asterisk Install page to find out how to install Asterisk. Make sure you skip the download (wget) sections as you will already have the files.

Installation Script

yum -y install subversion
svn co http://svn.asterisk.org/svn/asterisk/trunk/ asterisk
svn co http://svn.asterisk.org/svn/asterisk-addons/trunk/ asterisk-addons
svn co http://svn.asterisk.org/svn/dahdi/linux/trunk/ dahdi-linux
svn co http://svn.asterisk.org/svn/dahdi/tools/trunk/ dahdi-tools
svn co http://svn.asterisk.org/svn/libpri/branches/1.4/ libpri


cd dahdi-linux
make
make install

cd ../dahdi-tools
./configure
make
make install
make config

cd ../asterisk
./configure
make
make install
make samples
make config

yum -y install mysql-server mysql-devel
service mysqld start
chkconfig mysqld on

cd ../asterisk-addons
./configure
make
make install
make samples

cd ..