私のアスタリスクのインストール(1.8.12.0、mac osx 10.8.2)には、次のデフォルトディレクトリがあります:
* Directories
-------------
Configuration file:
Configuration directory: /usr/local/etc/asterisk
Module directory: /Library/Application Support/Asterisk/Modules/modules
Spool directory: /var/spool/asterisk
Log directory: /Library/Logs/Asterisk
Run/Sockets directory: /Library/Application Support/Asterisk/Run
PID file: /Library/Application Support/Asterisk/Run/asterisk.pid
VarLib directory: /Library/Application Support/Asterisk
Data directory: /Library/Application Support/Asterisk
ASTDB: /Library/Application Support/Asterisk/astdb
IAX2 Keys directory: /Library/Application Support/Asterisk/keys
AGI Scripts directory: /Library/Application Support/Asterisk/agi-bin
ただし、asterisk.conf のディレクトリ セクションはテンプレートです。
[directories](!)
astetcdir => /usr/local/etc/asterisk
astmoddir => /Library/Application Support/Asterisk/Modules/modules
astvarlibdir => /Library/Application Support/Asterisk
astdbdir => /Library/Application Support/Asterisk
astkeydir => /Library/Application Support/Asterisk
astdatadir => /Library/Application Support/Asterisk
astagidir => /Library/Application Support/Asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /Library/Application Support/Asterisk/Run
astlogdir => /Library/Logs/Asterisk
目標: Debian/Ubuntu インストールのディレクトリのデフォルト値を設定します。
* Directories
-------------
Configuration file:
Configuration directory: /etc/asterisk
Module directory: /usr/lib/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
asterisk.conf のディレクトリ:
[directories]
astetcdir=>/etc/asterisk
astmoddir=>/usr/lib/asterisk/modules
astvarlibdir=>/var/lib/asterisk
astdbdir=>/var/lib/asterisk
astkeydir=>/var/lib/asterisk
astdatadir=>/var/lib/asterisk
astagidir=>/var/lib/asterisk/agi-bin
astspooldir=>/var/spool/asterisk
astrundir=>/var/run/asterisk
astlogdir=>/var/log/asterisk
インストール/構成ステップでディレクトリ設定を設定するにはどうすればよいですか?
もう 1 つ: /usr/local/lib/pkgconfig/ にある asterisk.pc という名前のファイルを見つけました。
install_prefix=
version_number=999999
etcdir=/usr/local/etc/asterisk
libdir=/Library/Application Support/Asterisk/Modules
varlibdir=/Library/Application Support/Asterisk
varrundir=/Library/Application Support/Asterisk/Run
spooldir=/var/spool/asterisk
logdir=/Library/Logs/Asterisk
confpath=/usr/local/etc/asterisk/asterisk.conf
moddir=/Library/Application Support/Asterisk/Modules/modules
agidir=/Library/Application Support/Asterisk/agi-bin
Name: asterisk
Description: Open Source PBX and telephony toolkit
Version: SVN-branch-1.8-r375325
Libs:
Cflags: -I/usr/include/libxml2-g3 -D__Darwin__
それは何ですか?このファイルは、インストールまたは構成後に作成されますか?