Asterisk Install

From open-voip.org

Jump to: navigation, search

Installation guide for asterisk 1.6.1 on fedora 9

 yum install gcc
 yum install gcc-c++
 yum install kernel-devel
 cd /opt
 mkdir asterisk
 cd asterisk
 wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.1.2.tar.gz
 wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.1.1.tar.gz
 wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-2.2.0.2.tar.gz
 wget http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-2.2.0.tar.gz
 wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

for E1/T1 installation:

 yum install libpri*

install the mysql packages:

 yum install mysql*

install some required packages:

 yum install bison* libtermcap* newt* ncurses* readline* openssl* libgtk*

install the packages:

 cd /opt/asterisk
 tar -zxvf dahdi-linux-2.2.0.2.tar.gz 
 cd dahdi-linux-2.2.0.2
 make 
 make install
 cd /opt/asterisk/
 tar -zxvf dahdi-linux-complete-current.tar.gz 
 cd dahdi-linux-complete-2.2.0.2+2.2.0/
 make
 make install
 make config
 cd/opt/asterisk/
 tar -zxvf dahdi-tools-2.2.0.tar.gz 
 cd dahdi-tools-2.2.0
 ./configure
 make
 make install
 make config

 cd /opt/asterisk
 tar -zxvf asterisk-1.6.1.2.tar.gz
 cd asterisk-1.6.1.2
 ./configure 
 make 
 make install
 cd /opt/asterisk
 tar -zxvf asterisk-addons-1.6.1.1.tar.gz
 cd asterisk-addons-1.6.1.1
 ./configure
 make 
 make install

stop iptables permanently - be sure that this is what you want:

 /etc/init.d/iptables stop
 chkconfig --level 345 iptables off

Start the services:

 /etc/init.d/dahdi start
 asterisk

Asterisk Simple example [[1]]

Personal tools