One Unified Global Perspective
Communications with a Global Perspective
Home
Intro
Contact Us
Voice over IP
PBX Solutions
Services
Support
Glossary
Open Source
Blog
Forum

WebMail





2008 Feb 19 - Tue

Installing Asterisk

Here are a few installation updates to my other installation article. Here are some revised subversion retrieval commands:

svn checkout http://svn.digium.com/svn/zaptel/branches/1.4 zaptel
svn checkout http://svn.digium.com/svn/libpri/trunk libpri
svn checkout http://svn.digium.com/svn/asterisk/trunk asterisk

The make results indicate that the trunk version of zaptel is unstable, so a 1.4 is the most recent stable version available.

make, make install, make samples, doxygen, make progdocs

Some additional, older notes can be found at AsteriskGuru.

[/OpenSource/Debian/Asterisk] permanent link


2007 May 09 - Wed

Installing Asterisk

It has been a year or two since I last worked with the Opensource PBX solution called Asterisk. Instead, I've been doing stuff with Cisco Callmanger and Voice Gateways for the last while. My support pages are still receiving regular hits with regards to Asterisk Support, so I think I should do more with it. I've got a bunch of scripts laying about that I'd like to resurrect.

So, to start off, I have a new Debian server, I need to install the latest and greatest from version control. Here is what I did.

These get me up to current for latest kernel. Compiling Asterisk requires the kernel headers, so they are included here. I want the call detail records to go to a PostgreSQL database, so I include the libraries as well. As the latest source is in Subversion, I need that package to obtain the installation files.

apt-get install linux-image-2.6.18-4-686
apt-get install linux-headers-2.6.18-4-686
apt-get install libncurses5-dev
apt-get install postgresql-dev
apt-get install subversion

Now I can obtain the source files:

cd /usr/src 
mkdir digium 
cd digium 
svn checkout http://svn.digium.com/svn/asterisk/trunk asterisk
svn checkout http://svn.digium.com/svn/zaptel/trunk zaptel
svn checkout http://svn.digium.com/svn/libpri/trunk libpri

Compile the driver files. A double make install will be required. If you are not using Digium hardware, use the ztdummy module, otherwise use the zaptel module. Once compiled and installed, the zaptel configuration file is found in /etc/zaptel.conf and will need to be updated before using the zaptel module.

cd zaptel
make clean
make install
make install
mddprobe ztdummy
modprobe zaptel

For running with PRI digitial telephone circuits, another library needs to be built:

cd ../libpri
make clean
make install

This last one holds the bulk of the Asterisk build.

cd ../asterisk
./configure \
  --sysconfdir=/etc \
  --localstatedir=/var
make samples

That gets us to a basic installation. My next write up will show some of the configuration file stuff I do.

[/OpenSource/Debian/Asterisk] permanent link



Blog Content ©2008
Ray Burkholder
All Rights Reserved
ray@oneunified.net
(441) 505 7293
Available for Contract Work
Resume

RSS: Click to see the XML version of this web page.

View Ray 
Burkholder's profile on LinkedIn
technorati
Add to Technorati Favorites



September
Su Mo Tu We Th Fr Sa
  6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        


Main Links:
Monitoring Server
SSH Tools
QuantDeveloper Code

Special Links:
Frink

Blog Links:
Sergey Solyanik
Marc Andreessen
HotGigs
Micro Persuasion
... Reasonable ...
Chris Donnan
BeyondVC
lifehacker
Trader Mike
Ticker Sense
HeadRush
TraderFeed
Stock Bandit
The Daily WTF
Guy Kawaski
J. Brant Arseneau
Steve Pavlina
Matt Cutts
Kevin Scaldeferri
Joel On Software
Quant Recruiter
Blosxom User Group
Wesner Moise
Julian Dunn
Steve Yegge

2008
Months
Sep
Oct Nov Dec




Mason HQ

Disclaimer: This site may include market analysis. All ideas, opinions, and/or forecasts, expressed or implied herein, are for informational purposes only and should not be construed as a recommendation to invest, trade, and/or speculate in the markets. Any investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied herein, are committed at your own risk, financial or otherwise.