Install Asterisk 11 on Ubuntu 12.04 LTS

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

Last week I put up an install guide for Asterisk 11 on CentOS 6. Asterisk 11 is the latest LTS release of Asterisk 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 CentOS guide for Redhat-based distributions. 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. (More information on Asterisk 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 http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gzwget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gzwget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz

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 (https://issues.asterisk.org/jira/browse/PRI-145). See the video for how to apply a patch to fix the bug. (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 start
asterisk -rvvv

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

*CLI> dahdi show version
DAHDI Version: 2.6.1 Echo Canceller: HWEC
*CLI> pri show version
libpri version: 1.4.13

Congratulations! You now have Asterisk 11 running on Ubuntu 12.04. To continue configuring Asterisk check out the quick start guide or take a look at the official Digium online training.

时间: 2024-10-08 21:21:00

Install Asterisk 11 on Ubuntu 12.04 LTS的相关文章

【转】ubuntu 12.04 LTS将关闭最大化最小化移动到右上角

原文网址:http://www.4byte.cn/learning/114801.html ubuntu 12.04 LTS将关闭最大化最小化移动到右上角 还是按下“ALT +F2”组合键,输入gconf-editor并回车运行. www.4byte.cn (如果此时没有运行,则说明你需要安装gconf-editor,打开终端输入sudo apt-get install gconf-editor回车运行,等待安装完毕就行了.) 这时会打开一个配置编辑器,在左侧一次展开“apps/metacity

Ubuntu 12.04 LTS 安装 Icehouse版Keystone

--------------------------------------------------------------------------------------------------------------------------------------------------------------- Canonical的Ubuntu云存档允许用户在ubuntu服务器上安装更新版本的openstack,直到下一个LTS版本的ubuntu发布为止.Canonical承诺在ubunt

MOUNT MACBOOK DISK (OSX / HFS+) ON UBUNTU 12.04 LTS WITH READ/WRITE

MOUNT MACBOOK DISK (OSX / HFS+) ON UBUNTU 12.04 LTS WITH READ/WRITE So you want to mount your HFS+ (hfsplus) hard drive from your mac in your Ubuntu machine? Well this is the article which will explain how to do it in a few easy steps! 1. Plug in usi

LAMP Ubuntu 12.04 LTS 搭建 ---附带memcache redis安装(源码)

LAMP Ubuntu 12.04 LTS 搭建 基本组件的安装 #!/bin/env bash #update sudo apt-get update echo "********************LAMP*****************************" apt-get install install apache2 php5 mysql-server php5-mysql echo "********************php5-extend gd

在Ubuntu 12.04 LTS上安装wireshark

在Ubuntu 12.04 LTS上安装wireshark并且限定数据包捕获到一个组,也就是wireshark组.相信你能用这些指令在其他发行版上安装wireshark. 虽然你只能读到我在ubuntu上的测试,但是如果它不适合随时告诉我,我将修改这些指令. 首先,我们从终端上安装wireshark. 安装wireshark: sudo apt-get install wireshark 如果你以非超级用户运行wireshark,你会得到一个信息 "No interface can be use

转载 - Vim 的 Python 编辑器详细配置过程 (Based on Ubuntu 12.04 LTS)

出处:http://www.cnblogs.com/ifantastic/p/3185665.html Vim 的 Python 编辑器详细配置过程 (Based on Ubuntu 12.04 LTS) 为什么要用vim编辑py文件? 因为在Linux命令行中,缺少图形界面的IDE,vim是最佳的文本编辑器,而为了更好的编辑py文本,所以配置vim. 1. 安装完整版vim vi和vim的区别? 在Linux自带有vi编辑器,而vim是指vi improved,即vi升级版.区别在于vi指令和

Ubuntu 12.04 LTS 中文输入法的安装 (转载)

第一步:安装语言包 进入 “System Settings” 找到 “Language Support” 那一项,点击进入 选择 “Install/Remove Languages” 找到 “Chinese (simplified)” 那一项,把后面到勾打上 然后点击 “Apply Changes” 等待一段时间即可 第二步:安装 Ibus 框架 调出 terminal 终端,输入命令: sudo apt-get install ibus ibus-clutter ibus-gtk ibus-g

Ubuntu 12.04 LTS配置Icehouse版Keystone

keystone配置文件概况keystone的配置文件在/etc/keystone目录下,主要的配置文件包括:-----------------------------------------------------------------------------------------------------default_catalog.templates //目录配置文件,标注openstack其他服务的网络位置ec2rc keystone.conf.dpkg-dist //主配置文件模板

Ubuntu [Ubuntu 12.04 LTS 64位]安装中文搜狗输入法

[Ubuntu 12.04 LTS 64位]安装中文搜狗输入法步骤: [声明]欢迎转载,但请保留文章原始出处:http://blog.csdn.net/yelangjueqi/article/details/46516953 1.ubuntu软件中心搜索:fcitx,只需选择:"Flexible Input Method Framework" 进行安装,相应的其他依赖都会安装上 2.进入sougou输入法官网http://pinyin.sogou.com/linux/ 下载搜狗输入法包