Installation setup

 

Card Products 

Software Installation:

  • Si3D hardware, PCI/PCIe Line Cards containing PRI (E1/T1), FXS & FXO telephony modules, requires Drivers and Libraries, which are not included in the standard Linux Kernel. Si3D hardware works on Linux platform. Si3D recommends Elastix software suite.
  • Once CentOS is installed, follow the steps given below to install Si3D Dahdi drivers, LibPri and Asterisk.

**Note: Following commands are listed assuming that the user is using CentOS 5.7. Installation sequence does not vary from Distro to Distro though commands might be different from one another.
 

 

Installing Dependencies:

 

Before installing Asterisk you have to install some dependencies of Asterisk. To install dependencies you have to give the following commands:

$ sudo -S yum install -y gcc

$ sudo yum install -y ncurses-devel

$ sudo yum install -y libtermcap-devel

$ sudo yum install -y libxml2-devel

$ sudo yum install -y gcc-c++

$ sudo yum install -y newt-devel

$ sudo yum install -y kernel-devel

$ sudo yum install -y kernel-smp-devel

$ sudo yum install -y openssl-devel

$ sudo yum install -y zlib-devel

$ sudo yum install -y unixODBC-devel

$ sudo yum install -y make


Change the directory to /usr/src. To change the directory, give the following command:

$ cd /usr/src
 

Installation Sequence:

1.       LibPri

2.       Si3D Dahdi Drivers

3.       Asterisk 


Installation of LibPri:

To install libpri first you have to download the latest version of LibPri. Substitute the version of libpri for the X.X in the command given bellow.


To download latest version of LibPri give the following command:

$ wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-X.X-current.tar.gz


After downloading LibPri extract the LibPri tar file by the command given below:

$ tar -zxvf libpri-X.X-current.tar.gz


Then install the LibPri by following the commands given below:

$ cd libpri-X.X/

$ make clean

$ make

$ make install 

 

Installation of Si3D DAHDI Drivers

Copy Si3d_releases.tar.gz file to /usr/src directory and extract the file by using the following command:

$ tar -zxvf si3d_releases.tar.gz


Go to the si3d_releases by using the following command:

$ cd si3d_releases


Go to Release folder by using the following command:

$ cd Release


Once you are in Release folder you will find a list of Si3D Drivers with different version numbers which are released to suite different kernels. Select the appropriate drivers based on the kernel being used for the current installation. Go through the Readme file before moving further.


Use the following command to extract Si3D Dahdi Drivers. Replace X.X.X+X.X.X with the version being used

$ tar -zxvf dahdi-linux-complete-X.X.X+X.X.X


Go to DAHDI Directory by using the following command:

$ cd dahdi


Use the following commands to install Si3D DAHDI drivers:

$ make clean 

$ make distclean

$ make

$ make install

$ make config


Asterisk Installation

After installing the latest version of dahdi and libpri download the latest release version of Asterisk, either 1.4.22 (or later) or 1.6.0.1 (or later).


Substitute the version of Asterisk for the X.X in the command given below.


Asterisk is available for download from: Index of /pub/telephony/asterisk or you can directly download from command line by giving the following command:

$ wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-X.X-current.tar.gz

 

After downloading asterisk, extract the asterisk tar file by giving following command:   

 

$ tar -zxvf asterisk-X.X-current.tar.gz

 

To install asterisk give the following commands:

$ cd asterisk-X.X/

$ make clean

$. /configure

$ make menuselect

$ make

$ make install

$ make samples


Use the following command to check if the card is detected or not:

$ lspci –n | grep 1c39


The output of the above command should look like this:

 

02:00.0 0200: 1c93:0110 (rev 11)

05:00.0 0200: 1c93:1108 (rev 11)

 

Once Asterisk is installed run the following commands:

$ amportal stop

$ service dahdi stop

$ service dahdi start

$ dahdi_genconf



If the card being used contains a PRI module remove CRC4 in the system.conf file which is located at /etc/Dahdi/system.conf

 

Span = 1,1,0,ccs,hdb3,crc4

 

 

To complete the installation run the following commands:

$ dahdi_cfg

$ amportal start 



For further help on installation, please contact our support

 

 

 

contact