Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: formatting for new TOC

...

Section

...

Column

The top level directories used by Asterisk can be configured in the asterisk.conf configuration file.

Here we'll describe what each directory is used for, and what sub-directories Asterisk will place in each by default. Below each heading you can also see the correlating configuration line in asterisk.conf.

Asterisk Configuration Files

No Format
astetcdir => /etc/asterisk

This location is used to store and read Asterisk configuration files. That is generally files with a .conf extension, but other configuration types as well, for example .lua and .ael.

Asterisk Modules

No Format
astmoddir => /usr/lib/asterisk/modules

Loadable modules in Shared Object format (.so) installed by Asterisk or the user should go here.

Various Libraries

No Format
astvarlibdir => /var/lib/asterisk

Additional library elements and files containing data used in runtime are put here.

Note

TODO: Add specific examples

Column
Panel
titleOn This Page

Table of Contents

 

Database Directory

No Format
astdbdir => /var/lib/asterisk

...

By default, Asterisk sounds are stored and read from the sounds subdirectory at this location.

Note

TODO: What else gets placed in the astdatadir ?

AGI(Asterisk Gateway Interface) Directory

...