分类: 信息化
2011-12-31 10:08:50
2.[root@~]# cd asterisk-1.6.1.9 // 进入asterisk安装包
3.[root@asterisk asterisk-1.6.1.9]# ./configure // 环境检测和预配置
4.[root@asterisk asterisk-1.6.1.9]# make clean //清理旧的编译中间文件
5.[root@asterisk asterisk-1.6.1.9]# make all // 从新编译所有文件
+--------- Asterisk Build Complete ---------+
+ Asterisk has successfully been built, and +
+ can be installed by
running:
+
+
+
+
make
install
+
+-------------------------------------------+
安装到这里软件会提示使用make install 来安装asterisk
[root@asterisk asterisk-1.6.1.9]# make install // 安装asterisk
+---- Asterisk Installation Complete -------+
+
+
+ YOU MUST READ THE SECURITY DOCUMENT +
+
+
+ Asterisk has successfully been installed. +
+ If you would like to install the sample +
+ configuration files (overwriting any +
+ existing config files),
run:
+
+
+
+
make
samples
+
+
+
+----------------- or ---------------------+
+
+
+ You can go ahead and install the asterisk +
+ program documentation now or later run: +
+
+
+
make
progdocs
+
+
+
+ **Note** This requires that you have +
+ doxygen installed on your local system +
+-------------------------------------------+
[root@asterisk asterisk-1.6.1.9]# make samples // 安装配置模板
到这里askterisk安装完毕。
三、启动asterisk
1.输入asterisk,回车
2.输入asterisk -r
四、asterisk配置文件
asterisk.conf //asterisk的主配置文件 一般情况下不需要去改动
sip.conf //sip协议主要配置文件
extensions.conf //拨号规则配置文件