Presentation is loading. Please wait.

Presentation is loading. Please wait.

Asterisk’s Installation Requirements Kernel source bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++

Similar presentations


Presentation on theme: "Asterisk’s Installation Requirements Kernel source bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++"— Presentation transcript:

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

9 Connecting Asterisk to PSTN

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 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


Download ppt "Asterisk’s Installation Requirements Kernel source bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++"

Similar presentations


Ads by Google