you may have noticed our
announcement, now here's a little info to help you get it installed:
basic requirements according to the Asterisk site:
you must have openssl and its respective development packages.
(readline is no longer required as asterisk implements an internal version called "editline")
you must be running Linux 2.4.x
you must have the Linux Kernel Sources package installed on your system.
in addition, you will need to have mpg123 (NOT the similar alternative mpg321!) installed, for mp3 MusicOnHold to function.
NB: Linux 2.6.x will also work but is not supported, and it will
not work at all if you are using
devfs. I personally use Asterisk on 2.6.1-mm2 with
udev+hotplug and it's great.
first, download the release archives (scroll down for download sites). zaptel is required only if you are using Digium's zap channel cards (e.g. X100P, TDM400); likewise, libpri is required only if you are using Digium's E1/T1 cards.
then unpack on your local filesystem:
# tar xvzpf zaptel-0.8.0.tar.gz
# tar xvzpf libpri-0.5.0.tar.gz
# tar xvzpf asterisk-0.7.1.tar.gz
previous remarks about a couple issues in 0.7.0 have been removed, because:
Code:
Asterisk 0.7.1
-- Fixed timed include context's and GotoIfTime
-- Fixed chan_h323 it now gets remote ip properly instead of 127.0.0.1
next, build and install:
zaptel, if needed
Code:
# cd zaptel-0.8.0
# make clean ; make install
NB: if you are using linux 2.6, follow these steps for zaptel instead:
Code:
# cd /usr/src
# ln -s linux linux-2.6
# cd /usr/src/linux/arch/
# ln -s i386 x86
# cd /path/back/to/zaptel-0.8.0
# make clean ; make linux26; make install
libpri, if needed
Code:
# cd ../libpri-0.5.0
# make clean ; make install
and then asterisk itself
Code:
# cd ../asterisk-0.7.1
# make clean ; make install
next, if you're already running asterisk you will need to stop it, e.g.
or
Code:
# killall -9 asterisk
unload any zaptel modules using 'rmmod', e.g.
Code:
# rmmod wcfxs
# rmmod wcfxo
# rmmod zaptel
then reload zaptel modules, e.g.
Code:
# modprobe wcfxo
# modprobe wcfxs
# ztcfg -vv
and finally restart asterisk using your favorite method.
------
sources for downloading:
http://voxilla.com/download/asterisk-0.7.1.tar.gz ftp://ftp.asterisk.org/pub/telephony...l-0.8.0.tar.gz ftp://ftp.asterisk.org/pub/telephony...i-0.5.0.tar.gz ftp://ftp.asterisk.org/pub/telephony...k-0.7.1.tar.gz
md5 hashes and sizes (not official, these were generated by yours truly)
3b859378342144f541cfc7b68c47d8f3 zaptel-0.8.0.tar.gz 287023
e996fcf22883bc9ebc3ee800a7ac1506 libpri-0.5.0.tar.gz 37222
593e7154a2def54e70d8855434fd9e5c asterisk-0.7.1.tar.gz 2763625