安装Asterisk源码包
来源:互联网 发布:linux c开发工程师 编辑:程序博客网 时间:2024/05/25 23:57
准备工作
首先从Asterisk官方网站可以获取到所需要的软件包:http://www.asterisk.org/downloads(请选择相应的Source Tarball下载)。
然后解压缩Asterisk的源码包,然后通过终端cd到相应的目录下(这里我的文件夹路径为”cd ~/源代码/asterisk-1.8.2.2″)。
执行”./configure”
# ./configure
成功后,可以在终端看到如下的输出信息:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mxml.list
config.status: creating mxml.pc
config.status: creating config.h
config.status: config.h is unchanged
configure: Menuselect build configuration successfully completed
.$$$$$$$$$$$$$$$=..
.$7$7.. .7$$7:.
.$$:. ,$7.7
.$7. 7$$$$ .$$77
..$$. $$$$$ .$$$7
..7$ .?. $$$$$ .?. 7$$$.
$.$. .$$$7. $$$$7 .7$$$. .$$$.
.777. .$$$$$$77$$$77$$$$$7. $$$,
$$$~ .7$$$$$$$$$$$$$7. .$$$.
.$$7 .7$$$$$$$7: ?$$$.
$$$ ?7$$$$$$$$$$I .$$$7
$$$ .7$$$$$$$$$$$$$$$$ :$$$.
$$$ $$$$$$7$$$$$$$$$$$$ .$$$.
$$$ $$$ 7$$$7 .$$$ .$$$.
$$$$ $$$$7 .$$$.
7$$$7 7$$$$ 7$$$
$$$$$ $$$
$$$$7. $$ (TM)
$$$$$$$. .7$$$$$$ $$
$$$$$$$$$$$$7$$$$$$$$$.$$$$$$
$$$$$$$$$$$$$$$$.
configure: Package configured for:
configure: OS type : linux-gnu
configure: Host CPU : x86_64
configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu :
configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu :
可选执行”make menuselect”
这一步将提供对Asterisk模块的一些自定义安装选项,这里暂时不做介绍。推荐初次使用者略过此步。
执行”make”
# make
成功后,可以在终端看到如下的输出信息:
+——— Asterisk Build Complete ———+
+ Asterisk has successfully been built, and +
+ can be installed by running: +
+ +
+ make install +
+
———–+
执行”make install”
# make install
如在Ubuntu下遇到提示权限不够,则使用sudo:
# sudo make install
成功后,可以在终端看到如下的输出信息:
+—- 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 +
+
———–+
执行”make samples”
如不是首次安装Asterisk,请注意这一步将会初始化所有的配置文件!
# make samples
启动Asterisk
# asterisk -vvvc
“vvv”的参数将以”very very verbose”模式启动Asterisk,便于我们看到更多的信息,其中CLI 的详细程度为:v (verbose), vv (very verbose), vvv (very very verbose)。
“-c”则为显示Asterisk CLI (或控制面板)
启动成功后经在终端看到如下的命令行提示符,至此大功告成!
*CLI>
- 安装Asterisk源码包
- 源码编译方式安装Asterisk
- asterisk安装前 系统包检查
- 源码编译方式安装Asterisk(一)
- 安装Asterisk
- Asterisk安装
- Asterisk安装
- 安装Asterisk
- 安装Asterisk
- Asterisk安装
- 安装Asterisk
- centos6.5下asterisk 13.3.2安装(分别从自己制作的rpm包和源码进行安装),支持mysql数据库
- 安装RPM包、源码包
- 源码包安装LAMP
- 源码包安装
- Linux源码包安装
- Mysql源码包安装
- make源码包安装
- iOS 制作静态库详解(二)
- Path Sum
- xUtils使用——就当写个使用文档,以后用着好找
- 【算法笔记】LCA问题-tarjan 离线算法
- onchange ,oninput ,onpropertychange的区别
- 安装Asterisk源码包
- 如何衡量系统性能
- 【转】K-均值聚类算法
- svn 图标状态说明
- IOC/DI的基本思想
- cannot convert parameter 1 from 'char *' to 'LPCWSTR'
- android面试题
- PostgreSQL 自定义函数处理特殊需求
- 正则表达式