I used the lastest version of Debian on a small CD and then updated over the net during the install:
cdimage.debian.org/debian-cd/4.0 … etinst.iso
One thing that caused me grief when trying to compile Zaptel was this: (I didn’t have to do this on Slackware)
You need to run:
apt-get install linux-headers-uname -r bison openssl libssl-dev libeditline0 libeditline-dev libedit-dev
and
apt-get install gcc make g++ php5-cli mysql-common libmysqlclient15-dev libnewt-dev
Then I did LIBPRI:
wget downloads.digium.com/pub/libpri/ … ent.tar.gz
tar -zxvf libpri-1.4-current.tar.gz
cd libpri-1.4.8
make / make install / ldconfig
Dahdi (Replaces Zaptel)
wget downloads.digium.com/pub/telepho … ent.tar.gz
tar -zxvf dahdi-linux-current.tar.gz
cd dahdi-linux-2.1.0/
make / make install / ldconfig
DAHDI TOOLS
wget downloads.digium.com/pub/telepho … ent.tar.gz
tar -zvxf dahdi-tools-current.tar.gz
cd dahdi-tools-2.1.0/
./configure
make menuselect
make / make install / make config / ldconfig
Asterisk
wget downloads.digium.com/pub/asteris … ent.tar.gz
tar -zxvf asterisk-1.4-current.tar.gz
cd asterisk-1.4.22/
./configure
make menuselect / Add Sound Packages you wish to use
S to Save
make / make install / make samples / ldconfig
Asterisk Addons
wget downloads.digium.com/pub/asteris … ent.tar.gz
tar -zxvf asterisk-addons-1.4-current.tar.gz
cd asterisk-addons-1.4.7/
./configure
make / make install / make samples
*** End Asterisk Install
groupadd asterisk
useradd -s /bin/false -g asterisk asterisk
chown -R asterisk:asterisk /etc/dahdi
chown -R asterisk:asterisk /etc/asterisk
chown -R asterisk:asterisk /var/lib/asterisk
chown -R asterisk:asterisk /usr/lib/asterisk
chown -R asterisk:asterisk /var/spool/asterisk
chown -R asterisk:asterisk /var/log/asterisk
chown -R asterisk:asterisk /var/run/asterisk
(I didn’t have a Digium Card so this didn’t work: chown -R asterisk:asterisk /dev/dahdi
pico /usr/sbin/safe_asterisk Change Priority to -20
aptitude install conspy (so I can see Asterisk running on TTY 9 from SSH)
aptitude get sox # for Sound Conversions
manually get:
pymssql-0.8.0.tar (for Integration with MSSQL)
pyst-0.2.tar (For Python AGI (not necessary but helps a lot)
And that’s it.
Let me know if you have any questions,
Dave