博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Install Asterisk 11 on Ubuntu 12.04 LTS
阅读量:5889 次
发布时间:2019-06-19

本文共 2382 字,大约阅读时间需要 7 分钟。

http://blogs.digium.com/2012/11/14/how-to-install-asterisk-11-on-ubuntu-12-4-lts/

 

Last week I put up an . Asterisk 11 is the with many great new features and long term support! To follow up on the previous tutorial, I’ve put together a step by step guide for Ubuntu 12.04. Although most of the steps are similar there are a few differences. This tutorial will work for Ubuntu, Debian and Debian-based distributions. View the . Watch the video for a screencast of my terminal session to see the install live with an explanation of each step. Below you’ll find the commands are printed for you to copy and paste.

 

For this install I am using Asterisk 11.0.1 and will be compiling from source on Ubuntu 12.04.1.

Before you begin the install process you will want to be sure that your server OS is up to date. When the update completes the server will reboot.

 apt-get update && apt-get upgrade -y && reboot

Next you will want to resolve basic dependencies. (.)

apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev  libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev

Download the source tarballs. These commands will get the current version of DAHDI, libpri and Asterisk.

cd /usr/src/wget wget wget 

Extract the files from the tarballs

tar zxvf dahdi-linux-complete*tar zxvf libpri*tar zxvf asterisk*

Install DAHDI

cd /usr/src/dahdi-linux-complete*make && make install && make config

Install libpri

NOTE: libpri 1.4.13 won’t compile on Ubuntu 12.04 due to a bug (). See the video for . (Edit: libpri 1.4.14 has been released with this bug fix included. If you are a using 1.4.14 or later you should not encounter this bug.)

cd /usr/src/libpri*make && make install

Install Asterisk. Select your options when the menuselect command runs. Then select “Save & Exit” and the install will continue.

cd /usr/src/asterisk*./configure && make menuselect && make && make install && make config && make samples

Start DAHDI

/etc/init.d/dahdi start

Start Asterisk and connect to the CLI

/etc/init.d/asterisk startasterisk -rvvv

Verify your installation by checking for the DAHDI and libpri versions on the Asterisk CLI

*CLI> dahdi show versionDAHDI Version: 2.6.1 Echo Canceller: HWEC*CLI> pri show versionlibpri version: 1.4.13

Congratulations! You now have Asterisk 11 running on Ubuntu 12.04. To continue configuring Asterisk check out the or take a look at the .

转载地址:http://fbfsx.baihongyu.com/

你可能感兴趣的文章
《无人机DIY》——4 制作四轴直升机I:选择 机身 
查看>>
《单页Web应用:JavaScript从前端到后端》——1.3 精心编写的单页应用的用户效益...
查看>>
记录一些React的一些细节,会不断更新
查看>>
自己常用的mixin(持续更新)
查看>>
[译] 移动技术在改善财务健康方面的作用
查看>>
播放音频的工具类
查看>>
人工智能:是拿什么向奇点迫近的?
查看>>
南京a货翡翠,天津a货翡翠
查看>>
css3 渐变
查看>>
SystemCenter2012SP1实践(26)VMM下HyperV的高可用(下)
查看>>
Hadoop源代码分析(*IDs类和*Context类)
查看>>
钢丝流-BISU的战斗哲学
查看>>
struts2中的自定义拦截器
查看>>
解决opensips启动时出现PID file /var/run/opensips.pid does not exist 的错误
查看>>
33.Azure创建自动伸缩虚拟机规模集(上)
查看>>
Linux基础知识之命令的语法通用格式
查看>>
我的友情链接
查看>>
RAID 磁盘陈列详解
查看>>
[HDFS]HDFS优化-小文件合并.md
查看>>
公司组网核心、汇聚、接入层交换机配置
查看>>