Cover | Table of Contents | Colophon
It does not require a majority to prevail,
but rather an irate, tireless minority
keen to set brush fires in people's minds.—Samuel Adams
Very early on, I knew that someday in some "perfect"
future out there over the horizon, it would be
commonplace for computers to handle all of the
necessary processing functionality internally,
making the necessary external hardware to connect up
to telecom interfaces VERY inexpensive
and in some cases trivial.—Jim Dixon, "The History of Zapata Telephony and
How It Relates to the Asterisk PBX"
http://www.zapatatelephony.org).http://www.digium.com) for more information about this card.I long to accomplish great and noble tasks, but it is my
chief duty to accomplish humble tasks as though they
were great and noble. The world is moved along, not
only by the mighty shoves of its heroes, but also by the
aggregate of the tiny pushes of each honest worker.—Helen Keller
ftp://ftp.digium.com. The easiest way to obtain the stable release is through the use of the program wget.
# ln -s /usr/src/'uname -r' /usr/src/linux-2.4
# cd /usr/src/libpri-version
# make clean
# make
# make install
make arguments that you may find useful. We'll also look at how you can edit the Makefile to optimize the compilation of Asterisk.
# cd /usr/src/asterisk-version
# make clean
# make
# make install
# make samples
make samples command to install the default configuration files. Installing these files (instead of configuring each file manually) will allow you to get your Asterisk system up and running much faster. Many of the default values are fine for Asterisk. Files that require editing will be explained in future chapters.make samples command, .old will be appended to the end of each of your current configuration files—for example, extensions.conf will be renamed extensions.conf.old. Be careful, though, because if you run make samples more than once you will overwrite your original configuration files!
# cd /usr/src/asterisk-sounds
# make install
make update command:
# cd /usr/src/asterisk/
# make update
# make clean
# make upgrade
make upgrade command is used only in the Asterisk source directory. In other directories, use make install.
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make: *** [editline/libedit.a] Error 1
yum install gcc.
bison ast_expr.y -name-prefix=ast_yy -o ast_expr.c
make: bison: Command not found
make: *** [ast_expr.c] Error 127
# Section for zaptel
device
KERNEL="zapctl", NAME="zap/ctl"
KERNEL="zaptimer", NAME="zap/timer"
KERNEL="zapchannel", NAME="zap/channel"
KERNEL="zappseudo", NAME="zap/pseudo"
KERNEL="zap[0-9]*", NAME="zap/%n"
h switch:
# /usr/sbin/asterisk -h
-c
-v
-g
-r