git-svn-id: svn://192.168.202.10@936 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
#!/bin/bash
|
||||
|
||||
# download the source files
|
||||
wget http://www.daveltd.com/src/util/ttyload/ttyload-0.4.4.tar.gz
|
||||
wget http://superb-west.dl.sourceforge.net/sourceforge/ploticus/pl240src.tar.gz
|
||||
wget http://bart.eaccelerator.net/source/0.9.5.2/eaccelerator-0.9.5.2.tar.bz2
|
||||
wget http://superb-east.dl.sourceforge.net/sourceforge/mtop/mtop-0.6.6.tar.gz
|
||||
wget http://download.berlios.de/sipsak/sipsak-0.9.6-1.tar.gz
|
||||
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.30.tar.gz
|
||||
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.24.tar.gz
|
||||
wget http://ftp.digium.com/pub/libpri/releases/libpri-1.2.7.tar.gz
|
||||
#wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.19.1.tar.gz
|
||||
#wget http://downloads.digium.com/pub/libpri/libpri-1.4.3.tar.gz
|
||||
#wget http://downloads.digium.com/pub/zaptel/zaptel-1.4.10.tar.gz
|
||||
#wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.26.tar.gz
|
||||
wget http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz
|
||||
|
||||
# extract the source files
|
||||
tar -xzf ttyload-0.4.4.tar.gz
|
||||
tar -xzf pl240src.tar.gz
|
||||
tar -xzf mtop-0.6.6.tar.gz
|
||||
tar -xzf sipsak-0.9.6-1.tar.gz
|
||||
tar -xzf asterisk-1.2.30.tar.gz
|
||||
tar -xzf zaptel-1.2.24.tar.gz
|
||||
tar -xzf libpri-1.2.7.tar.gz
|
||||
tar -xzf asterisk-perl-0.08.tar.gz
|
||||
tar -xjf eaccelerator-0.9.5.2.tar.bz2
|
||||
#tar -xzf zaptel-1.4.19.1.tar.gz
|
||||
#tar -xzf zaptel-1.4.10.tar.gz
|
||||
#tar -xzf libpri-1.4.3.tar.gz
|
||||
#tar -xzf asterisk-1.4.19.1.tar.gz
|
||||
|
||||
# get the asterisk patches
|
||||
mkdir patches
|
||||
cd patches
|
||||
|
||||
wget http://www.eflo.net/files/app_amd2.c
|
||||
wget http://www.eflo.net/files/amd2.conf
|
||||
wget http://www.eflo.net/files/meetme_DTMF_passthru-1.2.23.patch
|
||||
wget http://www.eflo.net/files/meetme_volume_control_1.2.16.patch
|
||||
wget http://www.eflo.net/files/cli_chan_concise_delimiter.patch
|
||||
wget http://www.eflo.net/files/app_waitforsilence.c
|
||||
wget http://www.eflo.net/files/enter.h
|
||||
wget http://www.eflo.net/files/leave.h
|
||||
|
||||
cd ..
|
||||
|
||||
# install asterisk-perl
|
||||
cd asterisk-perl-*
|
||||
perl Makefile.PL
|
||||
make all
|
||||
make install
|
||||
cd ..
|
||||
|
||||
# install ttyload
|
||||
cd ttyload-*
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
||||
# install ploticus
|
||||
cd pl*src/src/
|
||||
make clean
|
||||
make
|
||||
make install
|
||||
cd ../../
|
||||
|
||||
# install eaccelerator
|
||||
cd eaccelerator-*
|
||||
phpize
|
||||
./configure --enable-eaccelerator=shared
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
||||
# install mtop
|
||||
cd mtop-*
|
||||
perl Makefile.PL
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
||||
# install sipsak
|
||||
cd sipsak-*
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
||||
echo "****************************************************************************"
|
||||
echo "*All that is left is to install libpri, zaptel, asterisk, and astguiclient.*"
|
||||
echo "****************************************************************************"
|
||||
Reference in New Issue
Block a user