Asterisk section

From SaruWiki
Revision as of 22:17, 4 October 2008 by Saruman! (talk | contribs) (Page started)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Asterisk under Debian 5.0 "Lenny

The pages on this Wiki all relate to running Asterisk with Digium hardware on Debian 5.0 "Lenny". The scenario we're working on here is a single server, attached to both the Internet (over ADSL) and a home network, that's being expanded to also serve as a telephone PBX. We might make a distinction between an Asterisk PBX connected to the Plain Old Telephone System (POTS) using an FXO module, and an Asterisk that only has VoIP functionality. Read the different subsections for more information, but remember: the basis of all the information in this wiki is this fantastic book. If you're interested in Asterisk, we seriously suggest you buy it.

Installing the hardware

When you need only VoIP support, and no standard phones or telephone lines need to be connected to your Asterisk PBX, you really don't need any kind of special hardware. However, if you need to receive from or send out calls to the Plain Old Telephone System (POTS), you need hardware with FXO capabilities. Furthermore, if you need to attach regular telephones to your PBX (as opposed to just using softphones, phone software on laptops and desktops), you need hardware with FXS capabilities. For our discussion on obtaining and installing telephony hardware, go here.

Configuring hardware support

Once you've installed your telephony hardware, you probably want to start using it. The bad news is, this requires the Linux kernel to support that hardware with drivers, that it currently does not have. The good news is, we can explain to you how to get and install those.

Installing Asterisk under Debian

When the hardware is running, you can install Asterisk under Debian - well actually you could install and configure Asterisk, and add hardware later, but we like to explain things in this particular order. We'll also do some basic configuration here, to test the installation.

Configuring Asterisk - the basics

Once Asterisk is up and running, we can start putting in the most basic configuration. This gives you the possibility to receive and place calls, but not yet much of the funky stuff that is described in the Asterisk TFOTF book.