[asterisk-dev] install and config paths for trunk

Russell Bryant russell at digium.com
Tue May 23 10:47:57 MST 2006


Dinesh Nair wrote:
> ./configure --prefix=/usr/local didnt help, as defaults.h were still
> generated with the Linux-specific directories.

This is what I get on my FreeBSD 6 machine.  Which part should be different?

/*
 * defaults.h
 * Automatically generated
 */
#define AST_CONFIG_DIR "/etc/asterisk"
#define AST_RUN_DIR    "/var/run"
#define AST_SOCKET     "/var/run/asterisk.ctl"
#define AST_PID        "/var/run/asterisk.pid"
#define AST_MODULE_DIR "/usr/local/lib/asterisk/modules"
#define AST_SPOOL_DIR  "/var/spool/asterisk"
#define AST_VAR_DIR    "/var/lib/asterisk"
#define AST_DATA_DIR   "/var/lib/asterisk"
#define AST_LOG_DIR    "/var/log/asterisk"
#define AST_AGI_DIR    "/var/lib/asterisk/agi-bin"
#define AST_KEY_DIR    "/var/lib/asterisk/keys"
#define AST_DB         "/var/lib/asterisk/astdb"
#define AST_TMP_DIR    "/var/spool/asterisk/tmp"

#define AST_CONFIG_FILE "/etc/asterisk/asterisk.conf"

#define AST_SOUNDS     "/var/lib/asterisk/sounds"
#define AST_IMAGES     "/var/lib/asterisk/images"




More information about the asterisk-dev mailing list