The very first step we must undertake is to obtain the source files. Two major versions of Asterisk are available: a development version and a stable version. Since the development version may not even compile at any given time, we will be using the stable version. We will be focusing on the version 1.0 branch.
When obtaining the source code, we have two major choices. We can either download the latest version via FTP from ftp://ftp.asterisk.org/pub/asterisk/
, or use svn to obtain the latest stable release. The maintainers of Asterisk have been doing a good job of keeping the stable releases available on the FTP servers, so we will use this method.
The commands we issue to download Asterisk's source files are:
# cd /usr/src# wget ftp://ftp.digium.com/pub/asterisk/asterisk-1.2.1.tar.gz
# wget ftp://
ftp.digium.com/pub/asterisk/asterisk-addons-1.2.1.tar.gz# wget ftp://ftp.digium.com/pub/
asterisk/asterisk-sounds-1.2.1.tar.gz
# wget http://ftp.digium.com/pub/zaptel/zaptel...