SlideShare a Scribd company logo
1 of 15
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

What's hot

How to Make a Honeypot Stickier (SSH*)
How to Make a Honeypot Stickier (SSH*)How to Make a Honeypot Stickier (SSH*)
How to Make a Honeypot Stickier (SSH*)Jose Hernandez
 
Webinar: Automate IBM Connections Installations and more
Webinar: Automate IBM Connections Installations and moreWebinar: Automate IBM Connections Installations and more
Webinar: Automate IBM Connections Installations and morepanagenda
 
Dockerfish-Tutorial
Dockerfish-TutorialDockerfish-Tutorial
Dockerfish-TutorialBrian Hood
 
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
OpenStack: DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)OpenStack: DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)
OpenStack : DevStack installation using VirtualBox & Ubnutu (Juno with Neutron)Ian Choi
 
Zfs replication overview
Zfs replication overviewZfs replication overview
Zfs replication overview鵬 大
 
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2018 Tokyo/Spring】
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2018 Tokyo/Spring】LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2018 Tokyo/Spring】
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2018 Tokyo/Spring】Masataka Tsukamoto
 
Installing Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu InstanceInstalling Tomcat on Ubuntu Instance
Installing Tomcat on Ubuntu Instancekamarul kawnayeen
 
Cluster Computing for $0.27/hr using Amazon EC2 and IPython Notebook
Cluster Computing for $0.27/hr using Amazon EC2 and IPython NotebookCluster Computing for $0.27/hr using Amazon EC2 and IPython Notebook
Cluster Computing for $0.27/hr using Amazon EC2 and IPython NotebookRandy Zwitch
 
FIWARE Tech Summit - How To Deploy Context Broker in 10 Minutes
FIWARE Tech Summit - How To Deploy Context Broker in 10 MinutesFIWARE Tech Summit - How To Deploy Context Broker in 10 Minutes
FIWARE Tech Summit - How To Deploy Context Broker in 10 MinutesFIWARE
 
OpenStack DevStack Configuration localrc local.conf Tutorial
OpenStack DevStack Configuration localrc local.conf TutorialOpenStack DevStack Configuration localrc local.conf Tutorial
OpenStack DevStack Configuration localrc local.conf TutorialSaju Madhavan
 
How to master OpenStack in 2 hours
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hoursOpenCity Community
 
How to install squid proxy on server or how to install squid proxy on centos o
How to install squid proxy on server  or how to install squid proxy on centos oHow to install squid proxy on server  or how to install squid proxy on centos o
How to install squid proxy on server or how to install squid proxy on centos oProxiesforrent
 
Lab Zero Lunchdown: Deploying Elixir and Phoenix Applications
Lab Zero Lunchdown: Deploying Elixir and Phoenix ApplicationsLab Zero Lunchdown: Deploying Elixir and Phoenix Applications
Lab Zero Lunchdown: Deploying Elixir and Phoenix Applicationsbrien_wankel
 
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...
SFScon 2020 - Jakob Schwienbacher - Linux as HA Router - Linux Kernel keepali...South Tyrol Free Software Conference
 
Nxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asaNxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asaNetwax Lab
 
Compcon 2016 Workshop
Compcon 2016 WorkshopCompcon 2016 Workshop
Compcon 2016 WorkshopSteven Cooper
 
F5 Networks – Integrace s VMware
F5 Networks – Integrace s VMwareF5 Networks – Integrace s VMware
F5 Networks – Integrace s VMwareMarketingArrowECS_CZ
 
Ccie notes configuring cisco ios ca server and enrolling cisco asa to a ca se...
Ccie notes configuring cisco ios ca server and enrolling cisco asa to a ca se...Ccie notes configuring cisco ios ca server and enrolling cisco asa to a ca se...
Ccie notes configuring cisco ios ca server and enrolling cisco asa to a ca se...IT Tech
 
Erp installation r12.2
Erp installation r12.2Erp installation r12.2
Erp installation r12.2Osama Mustafa
 

What's hot (19)

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

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

Telephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk PlatformTelephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk PlatformHamid Fadishei
 
Installation of DAHDI, libpri and Asterisk
Installation of DAHDI, libpri and Asterisk Installation of DAHDI, libpri and Asterisk
Installation of DAHDI, libpri and Asterisk CaudalFin Technologies
 
Installation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOS
Installation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOSInstallation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOS
Installation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOSCaudalFin Technologies
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Composer, putting dependencies on the score
Composer, putting dependencies on the scoreComposer, putting dependencies on the score
Composer, putting dependencies on the scoreRafael Dohms
 
Composer: putting dependencies on the score
Composer: putting dependencies on the scoreComposer: putting dependencies on the score
Composer: putting dependencies on the scoreRafael Dohms
 
Asterisk quick start Guide
Asterisk quick start GuideAsterisk quick start Guide
Asterisk quick start GuideKing Asterisk
 
Composer (PHP Usergroup Karlsruhe)
Composer (PHP Usergroup Karlsruhe)Composer (PHP Usergroup Karlsruhe)
Composer (PHP Usergroup Karlsruhe)Nils Adermann
 
Composer for busy developers - DPC13
Composer for busy developers - DPC13Composer for busy developers - DPC13
Composer for busy developers - DPC13Rafael Dohms
 
Nise BOSH in Action
Nise BOSH in ActionNise BOSH in Action
Nise BOSH in Actioni_yudai
 
Composer for Busy Developers - php|tek13
Composer for Busy Developers - php|tek13Composer for Busy Developers - php|tek13
Composer for Busy Developers - php|tek13Rafael Dohms
 
Asterisk as a Virtual Network Function Part 4
Asterisk as a Virtual Network Function Part 4Asterisk as a Virtual Network Function Part 4
Asterisk as a Virtual Network Function Part 4Leif Madsen
 
aptly: Debian repository management tool
aptly: Debian repository management toolaptly: Debian repository management tool
aptly: Debian repository management toolAndrey Smirnov
 
Machine learning with raspberrypi
Machine learning with raspberrypiMachine learning with raspberrypi
Machine learning with raspberrypielmokhtar Benfraj
 
Releasing and deploying python tools
Releasing and deploying python toolsReleasing and deploying python tools
Releasing and deploying python toolsQuintagroup
 

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

Telephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk PlatformTelephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk Platform
 
Installation of DAHDI, libpri and Asterisk
Installation of DAHDI, libpri and Asterisk Installation of DAHDI, libpri and Asterisk
Installation of DAHDI, libpri and Asterisk
 
Installation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOS
Installation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOSInstallation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOS
Installation of CaudalFin E1/T1 (PRI) Boards on Asterisk & CentOS
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Composer, putting dependencies on the score
Composer, putting dependencies on the scoreComposer, putting dependencies on the score
Composer, putting dependencies on the score
 
Composer: putting dependencies on the score
Composer: putting dependencies on the scoreComposer: putting dependencies on the score
Composer: putting dependencies on the score
 
Asterisk quick start Guide
Asterisk quick start GuideAsterisk quick start Guide
Asterisk quick start Guide
 
Asterisk quick start Guide
Asterisk quick start Guide Asterisk quick start Guide
Asterisk quick start Guide
 
Composer (PHP Usergroup Karlsruhe)
Composer (PHP Usergroup Karlsruhe)Composer (PHP Usergroup Karlsruhe)
Composer (PHP Usergroup Karlsruhe)
 
Composer for busy developers - DPC13
Composer for busy developers - DPC13Composer for busy developers - DPC13
Composer for busy developers - DPC13
 
Nise BOSH in Action
Nise BOSH in ActionNise BOSH in Action
Nise BOSH in Action
 
Belvedere
BelvedereBelvedere
Belvedere
 
Composer for Busy Developers - php|tek13
Composer for Busy Developers - php|tek13Composer for Busy Developers - php|tek13
Composer for Busy Developers - php|tek13
 
Asterisk as a Virtual Network Function Part 4
Asterisk as a Virtual Network Function Part 4Asterisk as a Virtual Network Function Part 4
Asterisk as a Virtual Network Function Part 4
 
aptly: Debian repository management tool
aptly: Debian repository management toolaptly: Debian repository management tool
aptly: Debian repository management tool
 
Machine learning with raspberrypi
Machine learning with raspberrypiMachine learning with raspberrypi
Machine learning with raspberrypi
 
Releasing and deploying python tools
Releasing and deploying python toolsReleasing and deploying python tools
Releasing and deploying python tools
 

More from Tran Thanh

Giai phap dien thoai ip (1)
Giai phap dien thoai ip (1)Giai phap dien thoai ip (1)
Giai phap dien thoai ip (1)Tran Thanh
 
3.kx ns1000 ip extension final
3.kx ns1000 ip extension final3.kx ns1000 ip extension final
3.kx ns1000 ip extension finalTran Thanh
 
Ga lichsukhinhanvagoidienthoai
Ga lichsukhinhanvagoidienthoaiGa lichsukhinhanvagoidienthoai
Ga lichsukhinhanvagoidienthoaiTran Thanh
 
Kynangdienthoai
KynangdienthoaiKynangdienthoai
KynangdienthoaiTran Thanh
 
Yealink business ip video phone vp530
Yealink business ip video phone vp530Yealink business ip video phone vp530
Yealink business ip video phone vp530Tran Thanh
 
Giai phap dien thoai ip
Giai phap dien thoai ipGiai phap dien thoai ip
Giai phap dien thoai ipTran Thanh
 
7. bao cao kqkd 2012 va khkd 2013
7. bao cao kqkd 2012 va khkd 20137. bao cao kqkd 2012 va khkd 2013
7. bao cao kqkd 2012 va khkd 2013Tran Thanh
 
Sp twinstar 2009 shared by voip.com.vn
Sp twinstar 2009 shared by voip.com.vnSp twinstar 2009 shared by voip.com.vn
Sp twinstar 2009 shared by voip.com.vnTran Thanh
 
Rss sales presentation_v4_final_sales shared by voip.com.vn
Rss sales presentation_v4_final_sales shared by voip.com.vnRss sales presentation_v4_final_sales shared by voip.com.vn
Rss sales presentation_v4_final_sales shared by voip.com.vnTran Thanh
 
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vnMicrosoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vnTran Thanh
 
Microtel shared by voip.com.vn
Microtel shared by voip.com.vnMicrotel shared by voip.com.vn
Microtel shared by voip.com.vnTran Thanh
 
Headset shared by voip.com.vn
Headset shared by voip.com.vnHeadset shared by voip.com.vn
Headset shared by voip.com.vnTran Thanh
 
2908 1 mic_tel shared by voip.com.vn
2908 1 mic_tel shared by voip.com.vn2908 1 mic_tel shared by voip.com.vn
2908 1 mic_tel shared by voip.com.vnTran Thanh
 
Ei02 garrison-fonality
Ei02 garrison-fonalityEi02 garrison-fonality
Ei02 garrison-fonalityTran Thanh
 
Advanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vnAdvanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vnTran Thanh
 
Audio codes webinar___ms_uc__2_
Audio codes webinar___ms_uc__2_Audio codes webinar___ms_uc__2_
Audio codes webinar___ms_uc__2_Tran Thanh
 
02 asterisk - the future of telecommunications
02   asterisk - the future of telecommunications02   asterisk - the future of telecommunications
02 asterisk - the future of telecommunicationsTran Thanh
 
Switchvoxadvantage
SwitchvoxadvantageSwitchvoxadvantage
SwitchvoxadvantageTran Thanh
 

More from Tran Thanh (20)

Giai phap dien thoai ip (1)
Giai phap dien thoai ip (1)Giai phap dien thoai ip (1)
Giai phap dien thoai ip (1)
 
3.kx ns1000 ip extension final
3.kx ns1000 ip extension final3.kx ns1000 ip extension final
3.kx ns1000 ip extension final
 
Ga lichsukhinhanvagoidienthoai
Ga lichsukhinhanvagoidienthoaiGa lichsukhinhanvagoidienthoai
Ga lichsukhinhanvagoidienthoai
 
Kynangdienthoai
KynangdienthoaiKynangdienthoai
Kynangdienthoai
 
Yealink business ip video phone vp530
Yealink business ip video phone vp530Yealink business ip video phone vp530
Yealink business ip video phone vp530
 
Giai phap dien thoai ip
Giai phap dien thoai ipGiai phap dien thoai ip
Giai phap dien thoai ip
 
7. bao cao kqkd 2012 va khkd 2013
7. bao cao kqkd 2012 va khkd 20137. bao cao kqkd 2012 va khkd 2013
7. bao cao kqkd 2012 va khkd 2013
 
Slide album 1
Slide album 1Slide album 1
Slide album 1
 
Hlvcs2
Hlvcs2Hlvcs2
Hlvcs2
 
Sp twinstar 2009 shared by voip.com.vn
Sp twinstar 2009 shared by voip.com.vnSp twinstar 2009 shared by voip.com.vn
Sp twinstar 2009 shared by voip.com.vn
 
Rss sales presentation_v4_final_sales shared by voip.com.vn
Rss sales presentation_v4_final_sales shared by voip.com.vnRss sales presentation_v4_final_sales 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
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vnMicrosoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
 
Microtel shared by voip.com.vn
Microtel shared by voip.com.vnMicrotel shared by voip.com.vn
Microtel shared by voip.com.vn
 
Headset shared by voip.com.vn
Headset shared by voip.com.vnHeadset shared by voip.com.vn
Headset shared by voip.com.vn
 
2908 1 mic_tel shared by voip.com.vn
2908 1 mic_tel shared by voip.com.vn2908 1 mic_tel shared by voip.com.vn
2908 1 mic_tel shared by voip.com.vn
 
Ei02 garrison-fonality
Ei02 garrison-fonalityEi02 garrison-fonality
Ei02 garrison-fonality
 
Advanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vnAdvanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vn
 
Audio codes webinar___ms_uc__2_
Audio codes webinar___ms_uc__2_Audio codes webinar___ms_uc__2_
Audio codes webinar___ms_uc__2_
 
02 asterisk - the future of telecommunications
02   asterisk - the future of telecommunications02   asterisk - the future of telecommunications
02 asterisk - the future of telecommunications
 
Switchvoxadvantage
SwitchvoxadvantageSwitchvoxadvantage
Switchvoxadvantage
 

Recently uploaded

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

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