Dialogic SR 5SP1 RedHat Linux 9 Howto

From GNU Telephony

Jump to: navigation, search

Installation Prerequisite on RedHat9

Before installing (LiS Dialogic Bayonne) you should have the following rpm's on your RedHat9 installation, they are all available from the installation cd's.

rpm -aq | grep -e compat -e gcc -e libstdc -e kernel

gcc-3.2.2-5
gcc-c -3.2.2-5
libgcc-3.2.2-5
compat-gcc-7.3-2.96.118
compat-gcc-c -7.3-2.96.118
libstdc -3.2.2-5
compat-libstdc -7.3-2.96.118
libstdc -devel-3.2.2-5
compat-libstdc -devel-7.3-2.96.118
glibc-kernheaders-2.4-8.10
kernel-source-2.4.20-8
kernel-2.4.20-8

LiS installation

Download and install LiS(Linux Streams) required by Dialogic drivers http://www.gcom.com/home/linux/lis/

tar -xzvf LiS-2.16.11.tgz
cd LiS-2.16

You may keep the default answer for all the questions.

make 
make install

Dialogic Service Release installation

Download the dialogic service release 5.1 http://www.dialogic.com/support/helpweb/dxall/systemrelease.htm
extract:

mkdir -p /usr/src/dialogic/SR5
cd /usr/src/dialogic/SR5
tar -xzvf LINUX_SR5.1.tgz

The shell script will let you select the RPM you need, install " 1 SpringWare Software ".

./install.sh

Now download dialogic SR5.1 SP1 http://www.dialogic.com/support/helpweb/dxall/systemrelease.htm
extract:

mkdir /usr/src/dialogic/SR5SP1
cd /usr/src/dialogic/SR5SP1
tar –xzvf LINUX_51_SP1.tgz

The shell script will upgrade the detected dialogic rpm's.

./install.sh 

You must know your board(s) model(s), there id's on the scbus or ctbus and a free IRQ reserved to ISA.

./config.sh

The Dialogic rpm I have following SR5.1 SP1 installation:

rpm -aq | grep DLGC

DLGCcom-5.1-1
DLGCcsp-5.1-1
DLGCgc-2.1-1
DLGCdev-5.1-1
DLGCpri-5.1-1
DLGCooc-4.0.5-4
DLGCparms-5.1-1

Note: Read the configuration guide to have the complete information about configuration but ignore all the installation requirement conflicting with this howto.
http://resource.intel.com/telecom/support/releases/unix51/linux51/release_guide/release_guide.pdf

Note: You do not need to install globalcall even if you plan to use globalcall API unless you will use R2MF protocole.

Modify /usr/dialogic/cfg/dialogic.cfg to reflect the Dialogic hardware present on the system.
Here is a sample configuration for ISDN in North America:

[Genload - All Boards]
LogFile=genload.log
BLTAddress = D8000
Dialog/HD=YES BusType=SCBus SCBusClockMaster=AUTOMATIC SCBusClockMasterSource=AUTOMATIC PCMEncoding=ULAW
[Genload - ID 0] /* Dual T1/E1 HD */ ParameterFile=dms.prm ISDNProtocol=dms ISDNProtocol2=dms

A server restart is recommended

shutdown –r now

Now you may verify Dialogic service by restarting it manualy:

dlstop
dlstart 

Bayonne installation

Your server is now ready for installation of Bayonne 1 or "Production Releases"
Download it from http://wiki.gnutelephony.org/index.php/Download_Page

mkdir /usr/src/bayonne

Note: !! You cannot install Bayonne "Stable Releases" or Bayonne 2 since it does not support dialogic yet. !!

commoncpp2-1.x.x
ccscript-2.x.x
ccaudio-1.x.x
bayonne-1.x.x


GNU Common C

cd /usr/src/bayonne
tar -xzvf commoncpp2-1.0.13.tar.gz
cd commoncpp2-1.0.13/
./configure
make install

GNU ccAudio

cd /usr/src/bayonne
tar -xzvf ccaudio-1.1.1.tar.gz
cd ccaudio-1.1.1/
./configure
make install

GNU ccScript

cd /usr/src/bayonne
tar -xzvf ccscript-2.5.6.tar.gz
cd ccscript-2.5.6/
./configure
make install

GNU bayonne

cd /usr/src/bayonne
tar –xzvf bayonne-1.2.13.tar.gz
cd /usr/src/bayonne/bayonne-1.2.13
./configure --without-phonedev --without-pika --without-eccs --without-vpb --without-aculab --without-capi --without-dummy 
make
make install

Note:You should use Globalcall driver when using Bayonne with Dialogic.
You can start bayonne in trace mode with globalcall drivers like this:

bayonne --globalcall --trace


Question(s) or comment(s) on this howto ? mailto:jchavanton@gmail.com

Personal tools