Skip to Main Content
Asterisk: The Definitive Guide, 4th Edition
book

Asterisk: The Definitive Guide, 4th Edition

by Russell Bryant, Leif Madsen, Jim Van Meggelen
May 2013
Intermediate to advanced content levelIntermediate to advanced
843 pages
23h 50m
English
O'Reilly Media, Inc.
Content preview from Asterisk: The Definitive Guide, 4th Edition

Chapter 4. Initial Configuration Tasks

Careful. We don’t want to learn from this.

Calvin & Hobbes

In the last chapter, we covered how to install Asterisk. But where should you get started with configuration? That is the question this chapter answers. There are a few common configuration files that are relevant regardless of what you are using Asterisk to accomplish. In some cases they may not require any modification, but you need to be aware of them.

asterisk.conf

The asterisk.conf configuration file allows you to tweak various settings that can affect how Asterisk runs as a whole.

There is a sample asterisk.conf file included with the Asterisk source. It is not necessary to have this file in your /etc/asterisk folder to have a working system, but you may find that some of the possible options will be of use to you.

Note

Asterisk will look for asterisk.conf in the default configuration location, which is usually /etc/asterisk. To specify a different location for asterisk.conf, use the -C command-line option:

$ asterisk -C /custom/path/to/asterisk.conf

The [directories] Section

For most installations of Asterisk, changing the directories is not necessary. However, this can be useful for running more than one instance of Asterisk at the same time, or if you would like files stored in nonstandard locations.

The default directory locations and the options you can use to modify them are listed in Table 4-1. For additional information about the usage of these directories, see File Structure in ...

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

Asterisk: The Definitive Guide, 3rd Edition

Asterisk: The Definitive Guide, 3rd Edition

Leif Madsen, Jim Van Meggelen, Russell Bryant
Asterisk: The Future of Telephony, 2nd Edition

Asterisk: The Future of Telephony, 2nd Edition

Jim Van Meggelen, Jared Smith, Leif Madsen
Asterisk: The Definitive Guide, 5th Edition

Asterisk: The Definitive Guide, 5th Edition

Jim Van Meggelen, Russell Bryant, Leif Madsen

Publisher Resources

ISBN: 9781449332433Errata Page