Installing Asterisk Directories Used by Asterisk

Asterisk uses several directories on a Linux system to manage the various aspects of the system, such as voicemail recordings, voice prompts, and configuration files. This section discusses the necessary directories, all of which are created during installation and configured in the asterisk.conf file.

The /etc/asterisk/ directory contains the Asterisk configuration files. One file, how-ever—zaptel.conf—is located in the /etc/ directory. The Zaptel hardware was origi-nally designed by Jim Dixon of the Zapata Telephony Group as a way of bringing reasonable and affordable computer telephony equipment to the world. Asterisk makes use of this hardware, but any other software can also make use of the Zaptel hardware and drivers. Consequently, the zaptel.conf configuration file is not directly located in the /etc/asterisk/ directory
The /usr/lib/asterisk/modules/ directory contains all the Asterisk loadable modules. Within this directory are the various applications, codecs, formats, and channels used by Asterisk. By default, Asterisk loads all of these modules at startup. You can disable any modules you are not using in the modules.conf file, but be aware that cer-tain modules are required by Asterisk or are dependencies of other modules.Attempting to load Asterisk without these modules will cause an error at startup.
The /var/lib/asterisk/ directory contains the astdb file and a number of subdirecto-ries. The astdb file contains the local Asterisk database information, which is some-what like the Microsoft Windows Registry. The Asterisk database is a simple implementation based on v1 of the Berkeley database. 

The Asterisk spool directory contains several subdirectories, including outgoing/, qcall/, tmp/, and voicemail/. Asterisk monitors the outgoing and qcall directories for text files containing call request information. These files allow you to generate a call simply by copying or moving the correctly structured file into the out-going/ directory.
The /var/run/ directory contains the process ID (pid) information for all active pro-cesses on the system, including Asterisk (as specified in the asterisk.conf file). Note that /var/run/ is OS-dependent and may differ.

The /var/log/asterisk/ directory is where Asterisk logs information. You can control the type of information being logged to the various files by editing the logger.conf file located in the /etc/asterisk/ directory.

The /var/log/asterisk/cdr-csv directory is used to store the CDRs in comma-separated value (CSV) format. By default information is stored in the Master.csv file, but indi-vidual accounts can store their own CDRs in separate files with the use of the accountcode option
Read More:


Related post

Newer Post Older Post


Post a Comment


Wiki Voip And Fax Tutorials Copyright © 2010 Labloub