Bohack

Check In and Tune Out!
 
 
« How To Create Complex Passwords From Simple Passwords With Applied Cryptography
GHS or Google Host Services IPv4 CIDR Netblock of IP Addresses »

How To Compile Asterisk 1.8 on Ubuntu 10.04 LTS x86

Print This Post Print This Post

During a recent project I found out; that Ubuntu does not have the latest package for Asterisk PBX server. So the only way to get Asterisk 1.8 is to compile it from scratch. So I am going to show you how to compile and install Asterisk 1.8 properly from source.

The following worked flawlessly on Ubuntu 10.04 LTS x86:

The first step is to login as root or su as root, whichever you choose. You will need to install a few things before you install.

apt-get install cvs build-essential automake autoconf bison flex libtool libncurses5-dev libssl-dev libgsm1 libgsm1-dev libxml2-dev build-essential linux-headers-`uname -r`

Then you will need to download the Asterisk 1.8 tar.gz

cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.10.0.tar.gz

Unzip and untar it:

tar -zxvf asterisk-1.8.10.0.tar.gz

Let’s make something:

cd asterisk-1.8.10.0
./configure

Wait then:

make all

Wait more and then:

make install
make config

Start it up:

/etc/init.d/asterisk start

If you did it correctly everything should just work! You can confirm this by doing:

root@asterisk:/usr/src/asterisk-1.8.10.0# asterisk -r
asterisk*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
asterisk*CLI>

Tags: asterisk, PBX, VOIP

This entry was posted on Sunday, March 25th, 2012 at 9:36 pm and is filed under Linux / Unix, VOIP.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.

Comments are closed.

  • Donate

  • Channels

    • Beer (2)
    • Blog (1)
    • Exchange (2)
    • Ham Radio (1)
    • Homebrew (3)
    • Linux / Unix (4)
    • Misc (1)
    • Mods (4)
    • Networking (1)
    • Programming (4)
    • Recipes (2)
    • Scripts (7)
    • Security (1)
    • Software (2)
    • Spam (1)
    • Telco (7)
    • Virtual PC (1)
    • VMware (3)
    • VOIP (3)
    • Windows (16)
    • Windows 2008 (4)
    • Windows 7 (5)
  • Archives

    • September 2012
    • April 2012
    • March 2012
    • February 2012
    • January 2012
    • November 2011
    • September 2011
    • July 2011
    • April 2011
    • February 2011
    • January 2011
    • October 2010
    • August 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • June 2009
    • May 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • Links

    • Blogarama Blogarama – The Blog Directory
    • BlogHub Blog Directory
    • Blogrankings Technology Blogs – Blog Rankings
    • Blogville.us blogville.us
    • Buzzerhut free directory | buzzerhut.com
    • Ontoplist Online Marketing
    • Primechoiceautoparts Discount Auto Parts
    • PTC My Employer
  • Misc

    • Legal Page
 

  Copyright - Bohack 2023 ©