Asterisk SVN Install: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
 
Line 11: Line 11:


= Location =
= Location =
The SVN site for Asterisk is located at [http://svn.digium.com/svn/ Digium]
The SVN site for Asterisk is located at [http://svn.asterisk.org/svn/ Digium]


= Lets Download =
= Lets Download =
== Asterisk ==
== Asterisk ==
<pre>
<pre>
svn co http://svn.digium.com/svn/asterisk/trunk/ asterisk
svn co http://svn.asterisk.org/svn/asterisk/trunk/ asterisk
</pre>
</pre>


== Asterisk addons ==
== Asterisk addons ==
<pre>
<pre>
svn co http://svn.digium.com/svn/asterisk-addons/trunk/ asterisk-addons
svn co http://svn.asterisk.org/svn/asterisk-addons/trunk/ asterisk-addons
</pre>
</pre>


== DAHDI Linux ==
== DAHDI Linux ==
<pre>
<pre>
svn co http://svn.digium.com/svn/dahdi/linux/trunk/ dahdi-linux
svn co http://svn.asterisk.org/svn/dahdi/linux/trunk/ dahdi-linux
</pre>
</pre>


== DAHDI Tools ==
== DAHDI Tools ==
<pre>
<pre>
svn co http://svn.digium.com/svn/dahdi/tools/trunk/ dahdi-tools
svn co http://svn.asterisk.org/svn/dahdi/tools/trunk/ dahdi-tools
</pre>
</pre>


== libpri ==
== libpri ==
<pre>
<pre>
svn co http://svn.digium.com/svn/libpri/branches/1.4/ libpri
svn co http://svn.asterisk.org/svn/libpri/branches/1.4/ libpri
</pre>
</pre>


Line 45: Line 45:
<pre>
<pre>
yum -y install subversion
yum -y install subversion
svn co http://svn.digium.com/svn/asterisk/trunk/ asterisk
svn co http://svn.asterisk.org/svn/asterisk/trunk/ asterisk
svn co http://svn.digium.com/svn/asterisk-addons/trunk/ asterisk-addons
svn co http://svn.asterisk.org/svn/asterisk-addons/trunk/ asterisk-addons
svn co http://svn.digium.com/svn/dahdi/linux/trunk/ dahdi-linux
svn co http://svn.asterisk.org/svn/dahdi/linux/trunk/ dahdi-linux
svn co http://svn.digium.com/svn/dahdi/tools/trunk/ dahdi-tools
svn co http://svn.asterisk.org/svn/dahdi/tools/trunk/ dahdi-tools
svn co http://svn.digium.com/svn/libpri/branches/1.4/ libpri
svn co http://svn.asterisk.org/svn/libpri/branches/1.4/ libpri





Latest revision as of 23:30, 17 May 2009

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 ..