Asterisk is the world's leading open source PBXi, telephony engine, and telephony applications toolkit. Offering flexibility unheard of in the world of proprietary communications, Asterisk empowers developers and integrators to create advanced communication solutions...for free.
official asterisk website
www.asterisk.org
Distros selection for linux
Ubuntu / Fedora / Debian / Gentoo / CentOs are considered to be the best linux flavours .
Distros available at there respective sites
www.ubuntu.com
Installation :
First step is to install all the dependencies
Installation Commands for Ubuntu / Debian Sarge and Etch :
cd /usr/src
apt-get update
apt-get install kernel-headers-2.6.8-2-386
apt-get install cvs
apt-get install libssl-dev
apt-get install zlib1g-dev
apt-get install libnewt-dev
apt-get install bison
apt-get install ncurses-dev
apt-get install libssl-dev
apt-get install initrd-tools
apt-get install procps
mkdir asterisk
cd asterisk
wget http://ftp.digium.com/pub/asterisk/asterisk-1.2.4.tar.gz
wget http://ftp.digium.com/pub/zaptel/zaptel-1.2-current.tar.gz
wget http://ftp.digium.com/pub/libpri/libpri-1.2-current.tar.gz
wget http://ftp.digium.com/pub/libiax/iax-0.2.2.tar.gz
wget http://ftp.digium.com/pub/asterisk/asterisk-1.2-current.tar.gz
wget http://ftp.digium.com/pub/asterisk/asterisk-addons-1.2-current.tar. gz
tar xvfz libpri-1.2-current.tar.gz
cd libpri-1.2.3/
make clean
make
make install
cd ..
tar xvfz zaptel-1.2-current.tar.gz
cd zaptel-1.2.8/
make clean
make linux26)
make install
modprobe zaptel
modprobe wcfxo
ztcfg
cd ..
tar xvfz asterisk-1.2-current.tar.gz
cd asterisk-1.2.11/
make
make install
make samples
wget http://ftp.digium.com/pub/asterisk/g729/linux/32-bit/i386/codec_g72 9a.so
wget http://ftp.digium.com/pub/asterisk/g729/register_utility/glibc2.3.5 /x86/register
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-sounds-1.2.1.t ar.gz
cd ..
tar xvfz asterisk-sounds-1.2.1.tar.gz
cd asterisk-sounds-1.2.1
make clean
make install
cd..
modprobe ztdummy
From Asterisk TFOT
Let’s look at some examples. To start Asterisk and connect to the CLI with a verbos-
ity level of 3, use the following command:
# /usr/sbin/asterisk –cvvv
If the Asterisk process is already running (for example, if you started Asterisk with
/usr/sbin/asterisk), instead use the reconnect switch, like so:
# /usr/sbin/asterisk –vvvr
Part - 2 would be updated shortly