Page 89 - Asterisk™: The Future of Telephony
P. 89

var


                                             spool


                                                      asterisk


                                                                outgoing


                                                                 qcall


                                                                 tmp


                                                                voicemail


               Figure 3-4. /var/spool/asterisk/ directory structure
               The dictate/ directory is the default location where the Dictate() application looks for
               files.

               The meetme/ directory is the location where MeetMe() conference recordings are saved.
               Recordings from either one-touch recording (the w and W flags to the Dial() application),
               the MixMonitor(), or Monitor() applications are stored in the monitor/ directory.
               system/ is used by the System() application for temporary storage of data.

               The tmp/ directory is used, funny enough, to hold temporary information. Certain
               applications may require a place to write files to before copying the complete files to
               their final destinations. This prevents two processes from trying to write to and read
               from a file at the same time.
               All voicemail and user greetings are contained within the voicemail/ directory. Exten-
               sions configured in voicemail.conf that have been logged in to at least once are created
               as subdirectories of voicemail/.


               /var/run/
               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.




                                                                   Directories Used by Asterisk | 61
   84   85   86   87   88   89   90   91   92   93   94