asterisk / asterisk.h

 * Asterisk -- A telephony toolkit for Linux.
 * General Definitions for Asterisk top level program
 * Copyright (C) 1999, Mark Spencer
 * Mark Spencer <>
 * This program is free software, distributed under the terms of
 * the GNU General Public License

#ifndef _ASTERISK_H
#define _ASTERISK_H


#define AST_CONFIG_DIR "/etc/asterisk"
#define AST_SOCKET		"/var/run/asterisk.ctl"
#define AST_MODULE_DIR "/usr/lib/asterisk/modules"
#define AST_SPOOL_DIR  "/var/spool/asterisk"
#define AST_VAR_DIR    "/var/lib/asterisk"
#define AST_LOG_DIR	   "/var/log/asterisk"
#define AST_AGI_DIR		"/var/lib/asterisk/agi-bin"

#define AST_CONFIG_FILE "asterisk.conf"

#define AST_SOUNDS AST_VAR_DIR "/sounds"
#define AST_IMAGES AST_VAR_DIR "/images"

/* Provided by module.c */
extern int load_modules(void);
/* Provided by pbx.c */
extern int load_pbx(void);
/* Provided by logger.c */
extern int init_logger(void);
/* Provided by frame.c */
extern int init_framer(void);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.