
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Compiling and Installing Asterisk
|
43
More recent revisions of the Asterisk software provide more detailed
examples in their sample config files than older revisions do.
For Those Who Prefer RPM Packages
Red Hat RPM packages for Asterisk and the driver modules can be obtained from
http://www.macvoip.com or from http://www.n2net.net.
Loading the Interfacing Drivers
The software drivers that allow Asterisk to use telephone line interfaces (like the
X100P) come in the form of kernel modules (files that add core functionality to the
operating system), and we compiled them in the previous section. In order to make
sure Asterisk will function correctly, you’ll need to load the modules using these
shell commands:
# modprobe zaptel
# modprobe wcfx ## if you're using a TDM400P
# modprobe wcfxo ## if you're using a X100P
# ztcfg -vvv ## more verbosity with every 'v'
These commands enable the Digium X100P card in your computer (if you’re using
one) and create logical channels that Asterisk can use for voice traffic. The order of
execution of these commands is important, because voice channels are numbered in
the same order their interface cards are enabled. If you had two X100P cards
installed or a TDM400P with two FXO modules, you would have two logical voice
channels.
The Zaptel module doesn’t need ...