Dipping a toe in the Asterisk/VoIP pool

(Printer friendly version)

In addition to splurging on books, I also purchased some hardware to work with Asterisk (an open source Linux-based PBX platform).

Last night Cade (Becca's husband) installed the card in his server, and then Lou guided me through some of the initial installation process (he'd done that himself earlier).

Today I got the system to the point where I can use the Xten-Lite software SIP phone on my PowerBook to dial out on Cade's 2nd analog line, as well as place calls to extensions on both my Asterisk server (running on Cade's server) and to Lou's Asterisk server.

For future reference, here's the steps we used to getting the software compiled and installed:

tar xvfz zaptel-1.0.7.tar.gz
cd zaptel-1.0.7
make
# oops, we need the kernel headers
sudo apt-get install kernel-headers-2.4.18-bf2.4
make
sudo make install
sudo modprobe zaptel
sudo modprobe wcfxs
sudo ztcfg
cd ~/
tar xvfz asterisk-1.0.7.tar.gz
cd asterisk-1.0.7
make
# we'll want music on hold ... at least, the option of it.
sudo apt-get install mpg123
vi cdr/Makefile
# add cdr_pgsql.so to the MODS= line
# :1,$s/ -lz//g
sudo apt-get install postgresql-dev
make
sudo make install
sudo make samples
sudo make progdocs
# oops, we need doxygen
sudo apt-get install doxygen
sudo make progdocs
sudo apt-get install graphviz
sudo make progdocs
sudo asterisk -vvgc
# verified that chan_zap.so was loaded
# verified that there were no errors (only a warning or two)
# Entered "stop now"
# ended with: Asterisk cleanly ending (0).
sudo asterisk -p
sudo vi /etc/zaptel.conf
# added "fxoks=1" prior to the tone zone settings
# added "fxoks=2" prior to the tone zone settings
sudo vi /etc/zapata.conf
# deleted the entire contents
# copied contents of a sample file
# commented out ;group=1
# commented out ;pickupgroup=1-4
# deleted context=bell up through (but not including) context=home

I've come across a lot of useful links in the past 24-hours. I'll gather them all up and post them tomorrow.

—Michael A. Cleverly

Name:  
Email: (optional)
URL: (optional)

Your comment: