Source Code

If you need additional information about installing Asterisk from source code, read this information on the Wiki.

Code is checked out from the SVN and Git servers via anonymous read-only access. Check out development code from Asterisk's SVN repository and DAHDI's Git repository using the following commands:

#cd /usr/src

# svn checkout asterisk
# git clone git:// dahdi-linux
# git clone git:// dahdi-tools
# svn checkout libpri

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

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

Note: The below example may not reflect the current release to date

# svn checkout asterisk-11

An important note

You can check out the source at any level of the filesystem. This includes something like svn checkout 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.