Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Howto:Set up a FGCom server"

From FlightGear wiki
Jump to: navigation, search
(Replaced content with '__TOC__ = Install Asterisk = You need a base install of Asterisk, you can either install it via a package manager or via the source code. For easiness (and because I can) I …')
(Install Asterisk)
Line 3: Line 3:
 
= Install Asterisk =
 
= Install Asterisk =
 
You need a base install of Asterisk, you can either install it via a package manager or via the source code. For easiness (and because I can) I chose to do it via the package manager.
 
You need a base install of Asterisk, you can either install it via a package manager or via the source code. For easiness (and because I can) I chose to do it via the package manager.
We used CentOS and the instructions for installing it are as follows:
+
We used CentOS (this works for RedHat too) and the instructions for installing it are as follows:
 +
 
 +
In the ''''/etc/yum.repos.d'''' folder create the following files:
 +
 
 +
centos-asterisk.repo:
 +
[asterisk-tested]
 +
name=CentOS-$releasever - Asterisk - Tested
 +
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
 +
enabled=0
 +
gpgcheck=0
 +
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium
 +
 +
[asterisk-current]
 +
name=CentOS-$releasever - Asterisk - Current
 +
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
 +
enabled=1
 +
gpgcheck=0
 +
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium
 +
 
 +
centos-digium.repo:
 +
[digium-tested]
 +
name=CentOS-$releasever - Digium - Tested
 +
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
 +
enabled=0
 +
gpgcheck=0
 +
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium
 +
 +
[digium-current]
 +
name=CentOS-$releasever - Digium - Current
 +
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
 +
enabled=1
 +
gpgcheck=0
 +
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium
  
 
= Configuration Files =
 
= Configuration Files =

Revision as of 18:02, 5 October 2010

Install Asterisk

You need a base install of Asterisk, you can either install it via a package manager or via the source code. 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 are as follows:

In the '/etc/yum.repos.d' folder create the following files:

centos-asterisk.repo:

[asterisk-tested]
name=CentOS-$releasever - Asterisk - Tested
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

[asterisk-current] 
name=CentOS-$releasever - Asterisk - Current
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

centos-digium.repo:

[digium-tested]
name=CentOS-$releasever - Digium - Tested
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

[digium-current]
name=CentOS-$releasever - Digium - Current
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

Configuration Files

There are 3 main configuration files that we need to work with and one file we need to generate and include:

extensions.conf

iax.conf

sip.conf

fgcom.inc