8,564
edits
(Rejigged the top part of the page for readibility) |
mNo edit summary |
||
Line 1: | Line 1: | ||
This page is for installing a '''FGCom Server'''. If you want to have voice communications within [[FlightGear]], you are probably wanting to install the [[FGCom|client]]. | |||
This page is for installing | |||
This document is to assist in setting up hot spares as potential failover for the new server and for replacing that server if/when that becomes necessary. It is not expected that this will be a widely used document, nonetheless, the information contained is no less valuable for that. | This document is to assist in setting up hot spares as potential failover for the new server and for replacing that server if/when that becomes necessary. It is not expected that this will be a widely used document, nonetheless, the information contained is no less valuable for that. | ||
== Install Asterisk == | |||
= Install Asterisk = | |||
You need an instance of Asterisk on the server, you can either install Asterisk via a package manager (if you're using CentOS/RHEL) or via the source code if you're on a different distro. For easiness (and because I can) I chose to do it via the package manager. | You need an instance of Asterisk on the server, you can either install Asterisk via a package manager (if you're using CentOS/RHEL) or via the source code if you're on a different distro. For easiness (and because I can) I chose to do it via the package manager. | ||
We used CentOS (this works for RedHat too) and the instructions for installing it on CentOS/RHEL are as follows: | We used CentOS (this works for RedHat too) and the instructions for installing it on CentOS/RHEL are as follows: | ||
== CentOS/RHEL == | === CentOS/RHEL === | ||
=== Setting up the Package Manager === | ==== Setting up the Package Manager ==== | ||
In the ''''/etc/yum.repos.d'''' folder create the following files: | In the ''''/etc/yum.repos.d'''' folder create the following files: | ||
Line 50: | Line 43: | ||
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium | #gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium | ||
=== Installing the Packages === | ==== Installing the Packages ==== | ||
[root@localhost~]# yum install asterisk16 asterisk16-configs asterisk16-voicemail dahdi-linux dahdi-tools libpri | [root@localhost~]# yum install asterisk16 asterisk16-configs asterisk16-voicemail dahdi-linux dahdi-tools libpri | ||
Line 147: | Line 140: | ||
When you are met with the screen above with the words ''''Complete!'''' on it then you are ready to move on to Part 2: Configuration Files | When you are met with the screen above with the words ''''Complete!'''' on it then you are ready to move on to Part 2: Configuration Files | ||
== Debian/Ubuntu == | === Debian/Ubuntu === | ||
This about covers it: | This about covers it: | ||
apt-get install asterisk | apt-get install asterisk | ||
== Install from Source == | === Install from Source === | ||
==== Downloading the Source ==== | |||
=== Downloading the Source === | |||
Downloading necessary packages: LIBPRI, DAHDI, AND Asterisk | Downloading necessary packages: LIBPRI, DAHDI, AND Asterisk | ||
Line 162: | Line 154: | ||
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz | wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.3.0.1+2.3.0.tar.gz | ||
=== Installing Libpri === | ==== Installing Libpri ==== | ||
tar -xvzf libpri-1.4.11.3.tar.gz | tar -xvzf libpri-1.4.11.3.tar.gz | ||
Line 169: | Line 161: | ||
make install | make install | ||
=== Installing DAHDI === | ==== Installing DAHDI ==== | ||
cd /usr/src | cd /usr/src | ||
Line 178: | Line 170: | ||
make config | make config | ||
=== Installing Asterisk === | ==== Installing Asterisk ==== | ||
cd /usr/src | cd /usr/src | ||
Line 190: | Line 182: | ||
make config | make config | ||
= Configuration Files = | == Configuration Files == | ||
Regardless of what OS you are running Asterisk on and regardless of what method of installation you used to install it, there are 2 main configuration files that we need to work with and one file we need to generate and include: | Regardless of what OS you are running Asterisk on and regardless of what method of installation you used to install it, there are 2 main configuration files that we need to work with and one file we need to generate and include: |