Asterisk Source Code Control With SVN

Asterisk development can be broken down into two key categories: core developers and application developers. Core developers work on the Asterisk source code, improving and extending the platform. Application developers create custom telephony solutions using Asterisk. If you want to become involved in core development, read on. If you're an application developer looking for information on crafting custom telephony solutions, see the Applications page.

If you need additional information about the Asterisk project, read getting started.

Code is checked out from the SVN servers via anonymous read-only access. Check out code from the SVN repository using the following commands:


#cd /usr/src

# svn checkout http://svn.asterisk.org/svn/asterisk/trunk asterisk
# svn checkout http://svn.asterisk.org/svn/dahdi/linux/trunk dahdi-linux
# svn checkout http://svn.asterisk.org/svn/dahdi/tools/trunk dahdi-tools
# svn checkout http://svn.asterisk.org/svn/libpri/branches/1.4 libpri

To get a snapshot from the release branch of SVN, use the following format

# svn checkout http://svn.asterisk.org/svn/asterisk/branches/x.x asterisk-x.x
(with x.x being the current release and revision number). Example:

Note: The below example does not reflect the current release to date
# svn checkout http://svn.asterisk.org/svn/asterisk/branches/1.2 asterisk-1.2
# svn checkout http://svn.asterisk.org/svn/zaptel/branches/1.2 zaptel-1.2
# svn checkout http://svn.asterisk.org/svn/libpri/branches/1.2 libpri-1.2

An important note

You can check out the source at any level of the filesystem. This includes something like svn checkout http://svn.asterisk.org/svn/asterisk. However, it would be a bad idea to do so, because you will end up checking out the code for every branch and tag that exists in the asterisk repository. Make sure you are careful when checking out the code

Source From Subversion

Support

To learn how you can check out development copies of Asterisk and related projects from the Asterisk Subversion repository see the SVN check-out how-to page.