Compile/install Zaptel and Asterisk

cd /usr/src/zaptel-1.4.x
make clean
./configure; make menuselect
Edit according to your hardware
At menu press "x" to save

make; make install

This command creates the start up scripts so zaptel starts on boot. If you have a Sangoma card then skip this step.
make config

cd /usr/src/asterisk-1.4.x
make clean
./configure; make menuselect
select core sounds and uncheck all except ulaw.  Same with extra sounds
At menu press "x" to save
make; make install

make samples
make config

cd /usr/src/asterisk-addons-1.4.x
./configure; make menuselect
Select the applications you want
At menu press "x" to save


mkdir /var/run/asterisk
mkdir /var/lib/asterisk/sounds/custom

From a command prompt run 'genzaptelconf' to automatically create the /etc/zaptel.conf and /etc/asterisk/zapata.conf files