Howto:Set up a FGCom server: Difference between revisions
Jump to navigation
Jump to 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 …') |
|||
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 23: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: