SlideShare a Scribd company logo
Asterisk’s Installation
 Requirements
 Kernel source
 bison
 bison-devel
 ncurses
 ncurses-devel
 zlib
 zlib-devel
 openssl
 openssl-devel
 gnutls-devel
 gcc
 gcc-c++
Installation
Check the required packages:
rpm ­q kernel­devel
rpm ­q bison
rpm ­q bison­devel
rpm ­q ncurses
rpm ­q ncurses­devel
rpm ­q zlib
rpm ­q zlib­devel
rpm ­q openssl
rpm ­q openssl­devel
rpm ­q gnutls­devel
rpm ­q gcc
rpm ­q gcc­c++
Install the packages if they are not
installed:
yum install kernel­devel
yum install bison
yum install bison­devel
yum install ncurses
yum install ncurses­devel
yum install zlib
yum install zlib­devel
yum install openssl
yum install openssl­devel
yum install gnutls­devel
yum install gcc
yum install gcc­c++
Installation
Voice over IP (VoIP) Scenarios
 Pure VoIP System
 Connecting Asterisk to PSTN
A Pure VoIP System
Installing a Pure VoIP Server
Files needed
asterisk-1.4.x.tar.gz
asterisk-addon-1.4.x.tar.gz
asterisk-sounds-1.4.x.tar.gz
Installing a Pure VoIP Server
 Download required packages
 wget http://downloads.digium.com/pub/asterisk/old­releases/ asterisk­
1.4.14.tar.gz
 wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­
addons­1.4.6.tar.gz
 wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­
sounds­1.2.1.tar.gz
 Installation
 Install mpg123 to play mp3 files for music-on-hold before Asterisk’s
installation  
 wget http://mpg123.orgis.org/download/mpg123­1.2.0.tar.gz
 tar ­zxvf mpg123­1.2.0.tar.gz
Installation
 cd mpg123­1.2.0
 ./configure
 make
 make install
 ln ­s /usr/local/bin/mpg123 /usr/bin/mpg123
 Installing Asterisk
 tar ­zxvf asterisk­1.4.14.tar.gz
 cd asterisk­1.4.14
 make clean
 ./configure
 make
 make install
 make samples
 make config
Installation
 Installing Asterisk’s Add­ons
 tar ­zxvf asterisk­addon­1.4.6.tar.gz
 cd asterisk­addon­1.4.6
 make clean
 make
 make install
 Installing Asterisk’s Sounds
 tar ­zxvf asterisk­sounds­1.2.6.tar.gz
 cd asterisk­sounds­1.2.6
 make
 make install
Connecting Asterisk to PSTN
Installation
Files needed
 libpri-1.4.x.tar.gz
 zaptel-1.4.x.tar.gz
 asterisk-1.4.x.tar.gz
 asterisk-addon-1.4.x.tar.gz
 asterisk-sounds-1.4.x.tar.gz
Installation
 Download required packages
 wget http://downloads.digium.com/pub/asterisk/old­releases/ asterisk­
1.4.14.tar.gz
 wget http://downloads.digium.com/pub/zaptel/releases/ zaptel­1.4.8.tar.gz
 wget http://downloads.digium.com/pub/libpri/releases/libpri­1.4.3.tar.gz
 wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­addons­
1.4.6.tar.gz
 wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­sounds­
1.2.1.tar.gz
Installation
 Installing libpri
 tar ­zxvf libpri­1.4.3.tar.gz
 cd libpri­1.4.3
 make
 make install
 Installing zaptel
 tar ­zxvf zaptel­1.4.8.tar.gz
 cd zaptel­1.4.8
 ./install_prereq test ;Check for dependencies
 ./install_prereq install ;Install dependencies if not installed
 ./configure
 make
 make install
 make config
 The remaining installation is similar to that of a pure VoIP Asterisk System
Starting and Managing Asterisk
 Asterisk can be started by typing:
 /usr/sbin/asterisk
 To connect to an Asterisk daemon, type:
 asterisk –r
 To make Asterisk more verbose, type:
 asterisk -vvvvvr
Connecting to Asterisk Console
Once connected to an Asterisk console, you will get:
Asterisk 1.4.14, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
======================================================================
===
Connected to Asterisk 1.4.14 currently running on localhost (pid = 3960)
Verbosity is at least 3
localhost*CLI>
Asterisk’s Console Commands
 Type the following commands on Asterisk’s console:
 help To have a list of all commands
 reload To reload the configuration
 stop To stop the Asterisk process
 exit To exit the command line interface

More Related Content

PPTX
Hadoop presentation
PPTX
vSRX automation lab 2: Ubuntu setup
PDF
Step by-step installation of a secure linux web dns- and mail server
PDF
20141102 VyOS 1.1.0 and NIFTY Cloud New Features
PDF
Using the fork_cms deploy gem
PPTX
Dev ops night i the new infrastructure landscape
PPTX
Quick Start Guide using Virtuozzo 7 (β) on AWS EC2
PDF
NexusでAnsibleやってみた
Hadoop presentation
vSRX automation lab 2: Ubuntu setup
Step by-step installation of a secure linux web dns- and mail server
20141102 VyOS 1.1.0 and NIFTY Cloud New Features
Using the fork_cms deploy gem
Dev ops night i the new infrastructure landscape
Quick Start Guide using Virtuozzo 7 (β) on AWS EC2
NexusでAnsibleやってみた

What's hot (19)

PPTX
How to Make a Honeypot Stickier (SSH*)
PDF
Webinar: Automate IBM Connections Installations and more
DOCX
Dockerfish-Tutorial
PPTX
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
PPTX
Zfs replication overview
PDF
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2018 Tokyo/Spring】
PDF
Installing Tomcat on Ubuntu Instance
PPTX
Cluster Computing for $0.27/hr using Amazon EC2 and IPython Notebook
PDF
FIWARE Tech Summit - How To Deploy Context Broker in 10 Minutes
ODP
OpenStack DevStack Configuration localrc local.conf Tutorial
PDF
How to master OpenStack in 2 hours
DOCX
How to install squid proxy on server or how to install squid proxy on centos o
PDF
Lab Zero Lunchdown: Deploying Elixir and Phoenix Applications
PDF
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
PDF
Nxll14 cut through-proxy on asa
PPTX
Compcon 2016 Workshop
PDF
F5 Networks – Integrace s VMware
DOCX
Ccie notes configuring cisco ios ca server and enrolling cisco asa to a ca se...
PDF
Erp installation r12.2
How to Make a Honeypot Stickier (SSH*)
Webinar: Automate IBM Connections Installations and more
Dockerfish-Tutorial
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
Zfs replication overview
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2018 Tokyo/Spring】
Installing Tomcat on Ubuntu Instance
Cluster Computing for $0.27/hr using Amazon EC2 and IPython Notebook
FIWARE Tech Summit - How To Deploy Context Broker in 10 Minutes
OpenStack DevStack Configuration localrc local.conf Tutorial
How to master OpenStack in 2 hours
How to install squid proxy on server or how to install squid proxy on centos o
Lab Zero Lunchdown: Deploying Elixir and Phoenix Applications
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
Nxll14 cut through-proxy on asa
Compcon 2016 Workshop
F5 Networks – Integrace s VMware
Ccie notes configuring cisco ios ca server and enrolling cisco asa to a ca se...
Erp installation r12.2
Ad

Similar to Ast installation (edited version) shared by voip.com.vn (18)

PDF
Asterisk quick start Guide
PDF
Asterisk quick start Guide
PDF
Jonny_Martin-Asterisk
PDF
Jonny_Martin-Asterisk
PDF
Jonny_Martin-Asterisk
PDF
Jonny_Martin-Asterisk
PDF
Asterisknow Tutorial
PDF
Asterisk handbk w_bkmarks
PPTX
Wireshark and asterisk
PDF
jonny-martin-asterisk.pdf
PDF
Telephony Service Development on Asterisk Platform
PDF
Fatah Uddin (072831056)
DOCX
Linux Telephony
PPTX
High Availability Asterisk and FreePBX on Microsoft Azure
PDF
voip2day 2012 - GUI o linea de comandos, puedes tener lo mejor de ambos mundo...
PPTX
What is Asterisk? for TADSummit Asia 2020
PPT
Download It
PPT
200706 kathmann shared by voip.com.vn
Asterisk quick start Guide
Asterisk quick start Guide
Jonny_Martin-Asterisk
Jonny_Martin-Asterisk
Jonny_Martin-Asterisk
Jonny_Martin-Asterisk
Asterisknow Tutorial
Asterisk handbk w_bkmarks
Wireshark and asterisk
jonny-martin-asterisk.pdf
Telephony Service Development on Asterisk Platform
Fatah Uddin (072831056)
Linux Telephony
High Availability Asterisk and FreePBX on Microsoft Azure
voip2day 2012 - GUI o linea de comandos, puedes tener lo mejor de ambos mundo...
What is Asterisk? for TADSummit Asia 2020
Download It
200706 kathmann shared by voip.com.vn
Ad

More from Tran Thanh (20)

PPT
Giai phap dien thoai ip (1)
PPT
3.kx ns1000 ip extension final
PPT
Ga lichsukhinhanvagoidienthoai
PPT
Kynangdienthoai
PPT
Yealink business ip video phone vp530
PPT
Giai phap dien thoai ip
PPT
7. bao cao kqkd 2012 va khkd 2013
PPT
Slide album 1
PPT
Hlvcs2
PPT
Sp twinstar 2009 shared by voip.com.vn
PPT
Rss sales presentation_v4_final_sales shared by voip.com.vn
PPT
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
PDF
Microtel shared by voip.com.vn
PDF
Headset shared by voip.com.vn
PDF
2908 1 mic_tel shared by voip.com.vn
PPT
Ei02 garrison-fonality
PPT
Advanced topologies for microsoft e learning shared by voip.com.vn
PPT
Audio codes webinar___ms_uc__2_
PPT
02 asterisk - the future of telecommunications
PPT
Switchvoxadvantage
Giai phap dien thoai ip (1)
3.kx ns1000 ip extension final
Ga lichsukhinhanvagoidienthoai
Kynangdienthoai
Yealink business ip video phone vp530
Giai phap dien thoai ip
7. bao cao kqkd 2012 va khkd 2013
Slide album 1
Hlvcs2
Sp twinstar 2009 shared by voip.com.vn
Rss sales presentation_v4_final_sales shared by voip.com.vn
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
Microtel shared by voip.com.vn
Headset shared by voip.com.vn
2908 1 mic_tel shared by voip.com.vn
Ei02 garrison-fonality
Advanced topologies for microsoft e learning shared by voip.com.vn
Audio codes webinar___ms_uc__2_
02 asterisk - the future of telecommunications
Switchvoxadvantage

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Empathic Computing: Creating Shared Understanding
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
MYSQL Presentation for SQL database connectivity
Advanced methodologies resolving dimensionality complications for autism neur...
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Empathic Computing: Creating Shared Understanding
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction

Ast installation (edited version) shared by voip.com.vn

  • 1. Asterisk’s Installation  Requirements  Kernel source  bison  bison-devel  ncurses  ncurses-devel  zlib  zlib-devel  openssl  openssl-devel  gnutls-devel  gcc  gcc-c++
  • 2. Installation Check the required packages: rpm ­q kernel­devel rpm ­q bison rpm ­q bison­devel rpm ­q ncurses rpm ­q ncurses­devel rpm ­q zlib rpm ­q zlib­devel rpm ­q openssl rpm ­q openssl­devel rpm ­q gnutls­devel rpm ­q gcc rpm ­q gcc­c++ Install the packages if they are not installed: yum install kernel­devel yum install bison yum install bison­devel yum install ncurses yum install ncurses­devel yum install zlib yum install zlib­devel yum install openssl yum install openssl­devel yum install gnutls­devel yum install gcc yum install gcc­c++
  • 3. Installation Voice over IP (VoIP) Scenarios  Pure VoIP System  Connecting Asterisk to PSTN
  • 4. A Pure VoIP System
  • 5. Installing a Pure VoIP Server Files needed asterisk-1.4.x.tar.gz asterisk-addon-1.4.x.tar.gz asterisk-sounds-1.4.x.tar.gz
  • 6. Installing a Pure VoIP Server  Download required packages  wget http://downloads.digium.com/pub/asterisk/old­releases/ asterisk­ 1.4.14.tar.gz  wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­ addons­1.4.6.tar.gz  wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­ sounds­1.2.1.tar.gz  Installation  Install mpg123 to play mp3 files for music-on-hold before Asterisk’s installation    wget http://mpg123.orgis.org/download/mpg123­1.2.0.tar.gz  tar ­zxvf mpg123­1.2.0.tar.gz
  • 7. Installation  cd mpg123­1.2.0  ./configure  make  make install  ln ­s /usr/local/bin/mpg123 /usr/bin/mpg123  Installing Asterisk  tar ­zxvf asterisk­1.4.14.tar.gz  cd asterisk­1.4.14  make clean  ./configure  make  make install  make samples  make config
  • 8. Installation  Installing Asterisk’s Add­ons  tar ­zxvf asterisk­addon­1.4.6.tar.gz  cd asterisk­addon­1.4.6  make clean  make  make install  Installing Asterisk’s Sounds  tar ­zxvf asterisk­sounds­1.2.6.tar.gz  cd asterisk­sounds­1.2.6  make  make install
  • 10. Installation Files needed  libpri-1.4.x.tar.gz  zaptel-1.4.x.tar.gz  asterisk-1.4.x.tar.gz  asterisk-addon-1.4.x.tar.gz  asterisk-sounds-1.4.x.tar.gz
  • 11. Installation  Download required packages  wget http://downloads.digium.com/pub/asterisk/old­releases/ asterisk­ 1.4.14.tar.gz  wget http://downloads.digium.com/pub/zaptel/releases/ zaptel­1.4.8.tar.gz  wget http://downloads.digium.com/pub/libpri/releases/libpri­1.4.3.tar.gz  wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­addons­ 1.4.6.tar.gz  wget http://downloads.digium.com/pub/asterisk/old­releases/asterisk­sounds­ 1.2.1.tar.gz
  • 12. Installation  Installing libpri  tar ­zxvf libpri­1.4.3.tar.gz  cd libpri­1.4.3  make  make install  Installing zaptel  tar ­zxvf zaptel­1.4.8.tar.gz  cd zaptel­1.4.8  ./install_prereq test ;Check for dependencies  ./install_prereq install ;Install dependencies if not installed  ./configure  make  make install  make config  The remaining installation is similar to that of a pure VoIP Asterisk System
  • 13. Starting and Managing Asterisk  Asterisk can be started by typing:  /usr/sbin/asterisk  To connect to an Asterisk daemon, type:  asterisk –r  To make Asterisk more verbose, type:  asterisk -vvvvvr
  • 14. Connecting to Asterisk Console Once connected to an Asterisk console, you will get: Asterisk 1.4.14, Copyright (C) 1999 - 2007 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ====================================================================== === Connected to Asterisk 1.4.14 currently running on localhost (pid = 3960) Verbosity is at least 3 localhost*CLI>
  • 15. Asterisk’s Console Commands  Type the following commands on Asterisk’s console:  help To have a list of all commands  reload To reload the configuration  stop To stop the Asterisk process  exit To exit the command line interface