good day, I’m having problems installing asterisk on a ubuntu 6.06. please i really need help
You’re not particularly specific about your problem…
Asterisk is in the Ubuntu and in the Debian repositories, therefore it should be as easy as running synaptic or apt-get.
The version that you’re getting in Ubuntu 6.06 is a bit old though and Ubuntu 8.04 will be out this week, but it shouldn’t matter.
If you want to build it from scratch, here’s the log of what I did in Debian:
[code]
Installing Asterisk from Sources on Debian Etch
Install the Kernel headers that are required for compiling.
apt-get install linux-headers-uname -r
Intsall dependencies
apt-get install ncurses-base
apt-get install libncurses5-dev libncurses5
apt-get install openssl
apt-get install libssl-dev
apt-get install zlib1g zlib1g-dev zlibc
apt-get install procps
apt-get install gcc g++
apt-get install doxygen
Get the sources (or newer)
wget http://download.digium.com/pub/asterisk/releases/asterisk-1.4.19.1.tar.gz
wget http://download.digium.com/pub/asterisk/releases/asterisk-addons-1.4.6.tar.gz
wget http://download.digium.com/pub/asterisk/releases/asterisk-sounds-1.2.1.tar.gz
wget http://download.digium.com/pub/zaptel/releases/zaptel-1.4.10.tar.gz
wget http://download.digium.com/pub/libpri/releases/libpri-1.4.4.tar.gz
directory: /usr/src/asterisk
Compile Libpri. You may not be using PRI lines, but it is required by Asterisk.
make
make install
Compile Zaptel.
make clean
./configue
make
make install
modprobe zaptel
modprobe wcfxo
Compile Asterisk
./configue
make
make install
make samples
make progdocs
make config (optional: If you want to have sample configs in /etc/asterisk)
cp /usr/src/asterisk-1.4.4/asterisk-1.4.4/contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk
Compile Asterisk Sounds Package.
make install
Compile Asterisk Add-ons Package.
make clean
./configue
make
make install
Create astersik user and security settings
adduser --system asterisk
addgroup --system asterisk
adduser asterisk audio
edit /etc/password and change home directory of user asterisk to
/var/lib/asterisk
edit /etc/init.d/asterisk, and uncomment the following two lines:
AST_USER=â€
If you just want to play around with asterisk, you can setup a virtual machine in VMware and just set the asterisknow ISO file as your CD-ROM drive and go from there
I’ve got that as a temporary setup until I get a dedicated machine for it
It works great for making sure everything is setup correctly, but on my machine, the auto-attendant and voicemail prompts sound really bad, I’m assuming it’s because of the virtualization and crappy specs of my virtual machine