Asterisk Install: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
Line 12: Line 12:
I did not download and install the Libpri package as I don't have any primary rate cards installed on my system.
I did not download and install the Libpri package as I don't have any primary rate cards installed on my system.


=== dahdi-linux ===
== dahdi-linux ==
DAHDI (stands for Digium Asterisk Hardware Device Interface) is the replacement for Zaptel. As I have an [[X100P]] card installed into my system I need to install the Linux driver.  If you do not have any telecommunications cards installed you will not need to install the module.
DAHDI (stands for Digium Asterisk Hardware Device Interface) is the replacement for Zaptel. As I have an [[X100P]] card installed into my system I need to install the Linux driver.  If you do not have any telecommunications cards installed you will not need to install the module.
<pre>
<pre>
Line 21: Line 21:
</pre>
</pre>


=== dahdi-tools ===
== dahdi-tools ==


<pre>
<pre>
Line 36: Line 36:
Once the above is done we need to edit '''/etc/dahdi/modules''' and make sure that only the required dahdi module(s) is/are loaded.
Once the above is done we need to edit '''/etc/dahdi/modules''' and make sure that only the required dahdi module(s) is/are loaded.


=== asterisk ===
== asterisk ==
==== faxing prerequisites ====
=== faxing prerequisites ===
If you would like to be able to use faxing capabilities with Asteirsk you need to install a few packages so that Asterisk can build the faxing components.
If you would like to be able to use faxing capabilities with Asteirsk you need to install a few packages so that Asterisk can build the faxing components.
<pre>
<pre>
Line 49: Line 49:
</pre>
</pre>


==== installation ====
=== installation ===
<pre>
<pre>
tar xvzf asterisk-1.6.0.tar.gz
tar xvzf asterisk-1.6.0.tar.gz
Line 61: Line 61:
</pre>
</pre>


=== asterisk-addons ===
== asterisk-addons ==
==== prerequisite ====
=== prerequisite ===
I found that mysql required to be started for the addons to recognise the mysqlclienttools.
I found that mysql required to be started for the addons to recognise the mysqlclienttools.
<pre>
<pre>
Line 70: Line 70:
</pre>
</pre>


==== installation ====
=== installation ===
<pre>
<pre>
tar xvzf asterisk-addons-1.6.0.tar.gz
tar xvzf asterisk-addons-1.6.0.tar.gz

Revision as of 03:01, 8 October 2008

Installing Asterisk 1.6.x

OK, Asterisk 1.6.0 is out and I'm going to take the plunge. I am going to document my steps below. The following is based on CentOS 5.2 as been installed with the minimal components including the development tools.

The First thing I did was to download the Asterisk source files.

Asterisk 1.6.0
DAHDI Linux 2.0.0
DAHDI Tools 2.0.0
Addons 1.6.0

I did not download and install the Libpri package as I don't have any primary rate cards installed on my system.

dahdi-linux

DAHDI (stands for Digium Asterisk Hardware Device Interface) is the replacement for Zaptel. As I have an X100P card installed into my system I need to install the Linux driver. If you do not have any telecommunications cards installed you will not need to install the module.

tar xvzf dahdi-linux-2.0.0.tar.gz
cd dahdi-linux-2.0.0
make
make install

dahdi-tools

tar xvzf dahdi-tools-2.0.0.tar.gz
cd dahdi-tools-2.0.0

./configure
make menuselect
make
make install
make config

Once the above is done we need to edit /etc/dahdi/modules and make sure that only the required dahdi module(s) is/are loaded.

asterisk

faxing prerequisites

If you would like to be able to use faxing capabilities with Asteirsk you need to install a few packages so that Asterisk can build the faxing components.

yum install libtiff-devel
wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.5pre4.tgz
zcat spandsp-0.0.5pre4.tgz | tar xf -
cd spandsp-0.0.5
./configure
make
make install

installation

tar xvzf asterisk-1.6.0.tar.gz
cd asterisk-1.6.0
./configure
make menuselect
make
make install
make samples
make config

asterisk-addons

prerequisite

I found that mysql required to be started for the addons to recognise the mysqlclienttools.

yum install mysql-server mysql-devel
service mysqld start
chkconfig mysqld on

installation

tar xvzf asterisk-addons-1.6.0.tar.gz
cd asterisk-addons-1.6.0

./configure
make menuselect
make
make install