Skip to Content
Switching to VoIP
book

Switching to VoIP

by Theodore Wallingford
June 2005
Intermediate to advanced
502 pages
21h 48m
English
O'Reilly Media, Inc.
Content preview from Switching to VoIP
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
54
|
Chapter 3: Linux as a PBX
Monitoring Asterisk
There are several ways to monitor Asterisk. Most notably, the Asterisk CLI console
application (asterisk –r) offers a real-time console log. When you launched Asterisk
with the
-v option, this was enabled. The more v’s, the more detail goes into the con-
sole log. The same is true of the logfiles that Asterisk puts out.
Asterisks logles
In addition to standard output and standard error, which you can redirect using the
shell, Asterisk has some important logfiles. They are stored in /var/log/asterisk by
default. If you want them to be stored elsewhere, edit /etc/asterisk.conf as such. The
three ASCII logfiles enabled upon installation are:
event_log
Stores Asterisk system events, when triggered according to the Asterisk
configuration
messages
Stores debugging, error, and warning messages generated by most Asterisk
modules
cdr-csv
Stores the Call Detail Record, or CDR, which records the channels, actions, and
durations of each call placed through the softPBX
Chapter 10 covers Asterisk’s logfiles in much greater detail.
Astman
The Asterisk Manager is a text-based socket API that allows management applica-
tions to monitor and control the Asterisk server. One such application is Astman,
which is included in the Asterisk distribution. Astman allows ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Voice over IP First-Step

Voice over IP First-Step

Kevin Wallace
Securing VoIP

Securing VoIP

Regis Jr (Bud) Bates
Low-cost Smart Antennas

Low-cost Smart Antennas

Qi Luo, Steven Shichang Gao, Chao Gu, Wei Liu

Publisher Resources

ISBN: 0596008686Catalog PageErrata