Eicon Diva Pro Server BRI V2

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#1
Hi.

I installed this card with success.

How? ... Like that:

You must install the Linux Kernel-dev

Make the symbolic link:
  • cd /usr/src
    ln -s kernels/...linux_version... linux

Download diva4linux from this link, like that:

Build your device with this command :

  • cd /usr/lib/eicon/divas/src
    ./Build

After, you must configure your card:

  • /usr/lib/eicon/divas/Config

Answer any question.

Change the password for Web interface configuration:

  • vi /usr/lib/eicon/divas/httpd/login/login

Replace XX by your new password.
And now, you can login by the web http://yourweb:10005/

Start your card into Board configuration.

Run capiinfo command line. If you have a result, it's ok!
Exemple:

>capiinfo

  • Number of Controllers : 1
    Controller 1:
    Manufacturer: Eicon Networks
    CAPI Version: 2.0
    Manufacturer Version: 2.0
    Serial Number: 5314
    BChannels: 2
    Global Options: 0x000003f9
    internal controller supported
    DTMF supported
    Supplementary Services supported
    channel allocation supported (leased lines)
    B1 protocols support: 0x000003df
    64 kbit/s with HDLC framing
    64 kbit/s bit-transparent operation
    V.110 asynconous operation with start/stop byte framing
    V.110 synconous operation with HDLC framing
    T.30 modem for fax group 3
    56 kbit/s bit-transparent operation
    Modem with all negotiations
    Modem asyncronous operation with start/stop byte framing
    Modem syncronous operation with HDLC framing
    B2 protocols support: 0x00001fdf
    ISO 7776 (X.75 SLP)
    Transparent
    SDLC
    LAPD with Q.921 for D channel X.25 (SAPI 16)
    T.30 for fax group 3
    Transparent (ignoring framing errors of B1 protocol)
    Modem error correction and compression (V.42bis or MNP5)
    ISO 7776 (X.75 SLP) with V.42bis compression
    V.120 asyncronous mode
    V.120 asyncronous mode with V.42bis compression
    V.120 bit-transparent mode
    LAPD with Q.921 including free SAPI selection
    B3 protocols support: 0x000000bf
    Transparent
    T.90NL, T.70NL, T.90
    ISO 8208 (X.25 DTE-DTE)
    X.25 DCE
    T.30 for fax group 3
    T.30 for fax group 3 with extensions
    Modem

    0100
    0200
    f9030000
    df030000
    df1f0000
    bf000000
    00000000 807767c0 60c627c1 fe8e45c0 0020e3d3 02000000
    ff430038 00000000 00000000 00000000 00000000
    FAC REQ - Illegal application number (0x1101)



Now you must install the chan_capi. Download this file:

unzip and untar the file and compil and install chan_capi:

  • cd chan_capi-1.1.1
    make
    make install
    make install_config

Edit the capi.conf and change or not your personal configuration.

Go to asterisk CLI
  • CLI>restart now
    ....

    CLI> show modules like chan_capi
    Module Description Use Count
    chan_capi.so Common ISDN API Driver (1.1.1) 0
    1 modules loaded

That's all folk :laugh:
 

ioivi

Joined
Jan 8, 2009
Messages
35
Likes
0
Points
0
#2
danardf said:
Build your device with this command :

  • cd /usr/lib/eicon/divas/src
    ./Build
In this step I receive this error ..
Code:
 ---------------------------------------------------------
  ERROR :       Can not locate kernel source directory
                You can create symbolic link to source code of active kernel using
                'ln -s /lib/modules/2.6.18-92.1.17.el5/source /usr/src/linux'
  MISSING:      /usr/src/linux

  Execution aborted, plese see '/usr/lib/eicon/divas/src/divas.log' file
  for details
 ---------------------------------------------------------
I try to give this command
Code:
[root@elastix src]# ln -s /lib/modules/2.6.18-92.1.17.el5/source /usr/src/linux
ln: creating symbolic link `/usr/src/linux' to `/lib/modules/2.6.18-92.1.17.el5/source': File ex                                                             ists
Then ./Build .. but i receive the same error ..

Ideas?

(sorry for my english ..)
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#3
Yes you must create a symbolic link like:

ln -s /usr/src/[ Kernel verions ] /usr/src/linux

Because, when you run ./Build, this program go to /usr/src/linux and if this link is now create....!!
It is normal ;)

Are you sure that you have the boog kernel version?

Make a rm /usr/src/linux and remake this symbolic link

like that:
linux -> kernels/2.6.18-53.1.19.el5-i686/
 

beveseth

Joined
Jan 20, 2009
Messages
9
Likes
0
Points
0
#4
Hello,

I have the same problem and did not well undertood what you've writen like solution of command .
Your text is 2 times write with some strange symbol, so???
Can you give me again the solution?

The file seems to be created but the same error message.
Ho, I forgot, I use Trixbox, is there a difference?
Everything else was ok

Thanks
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#5
ok here we use Elastix and we help (normally) all the Elastix users.

But yes, it's the same procedure.
If you install the linux kernel source!

The procedure works well. :huh:

What's your problem?
 

beveseth

Joined
Jan 20, 2009
Messages
9
Likes
0
Points
0
#6
Thanks a lot to take time even i'm not Elastix user, which one I've not try for the moment.
I'm french so excuse for my english.
I'm beginner and we just saw (at school for adult for 1 year)trixbox a little for the moment and nothing else.
I'm in entreprise for a stage (don't know if you call that like that).
The problem is than even I follow your description and also the one after the problem of IOIVI, you're answer is not so clear for me.
See what I've done:



# cd /usr/src
# ln -s kernels/2.6.18-92.1.18.el5-686 /usr/src/linux


# cd /usr/src
# wget http://www.dialogic.com/download/p/linu ... 08-106.bin
# chmod 777 Diva4Linux_installer_8.5-108-106.bin
# ./Diva4Linux_installer_8.5-108-106.bin

# cd /usr/lib/eicon/divas/src
# ./Build

I get the same error message than IOIVI.
I follow your instruction after:

rm /usr/src/linux

and remake:

ln -s kernels/2.6.18-92.1.18.el5-686 /usr/src/linux

what I did before so don't know what can be changed here :(

Don't know what to do with:
linux -> kernels/2.6.18-53.1.19.el5-i686/

this command not match

During the install A message appears for give the same intruction for th build and the config with a difference :
opendiva replace eicon in the command

like that:

cd /usr/lib/opendiva/divas/src

so I've tryed with the other directory but the same problem.

Don't really know what to do now:(
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#7
Si tu es Français, alors ça tombe bien.... moi aussi. ;)

Donc visiblement, ton problème est sur la localisation de la source du noyau linux (les sources).
Assures toi qu'il soit installé dans le répertoire /usr/src/kernels/

donc:
#cd /usr/src/kernels

C'est le cas pour toi?
Tu as bien quelque chose dans ce répertoire?
 

beveseth

Joined
Jan 20, 2009
Messages
9
Likes
0
Points
0
#8
Coool, ce sera plus clair pour moi en francais.
On ne trouve d'ailleurs rien en francais la plupart du temps:(

J'ai omis une install de départ il semble :unsure:

J'ai donc fait:

yum install Kernel-dev

Ensuite j'essaie d'y voir clair, mon principal probleme étant le grand manque d'expérience ne serait-ce que sous linux.

Donc pas évident de trouver les commandes pour naviguer dans les repertoires et connaitres le schéma de ce serveur.

Est-ce que j'ai au moins fait ce qu'il falait pour l'installation du kernel?
J'ai trouvé cette commande qui est plus complète que la mienne sur un lien:
yum install kernel-devel isdn4k-utils-devel gcc gcc-c++ asterisk-devel

Mais je voudrais pas mettre plus la pagaille que ca l'est.

Il semble que du coup j'ai pas forcément fait les liens au bon endroit.?

#cd /usr/src/kernels ne donne rien, tu as vu juste :)

je ne sais pas quoi te donner d'autre comme info :(
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#9
Essayes de trouver l'endroit ou il a été installé si yum install kernel-dev c'est terminé avec succès!

tapes:
#find / -name 'kernels' -print

en suite, si tu le trouve, déplaces le répertoire kernels dans /usr/src:
#mv ./kernels /usr/src
 

ioivi

Joined
Jan 8, 2009
Messages
35
Likes
0
Points
0
#10
Please .. in english .. question time I've not test the solution but I follow this post .. if you speak french for me the problem is double .. If is possible, please translate the post in englis (or if you prefere in italian ;) )

Asap i try to follow this new instruction!

Thank you!
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#11
haa ioivi. I thought you were from going out! :)

for resume:

you must install kernel-dev (yum install kernel-dev) or something like that.
this install must be here /usr/src/kernels

if is not here, then find the directory by this command:
find / -name 'kernel' -print

And move this "new directory" to /usr/src.
beveseth is not easy to speak (write) English. For the instant, we write in french and I translated the result after. Ok? ;)
 

ioivi

Joined
Jan 8, 2009
Messages
35
Likes
0
Points
0
#12
Ok!
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#13
for the instant, try to verify your kernel-dev if this package is really installed and try to know where is this package.

Reply me when you have the result.
 

ioivi

Joined
Jan 8, 2009
Messages
35
Likes
0
Points
0
#14
# find / -name 'kernel' -print
/proc/sys/kernel
/etc/log.d/scripts/services/kernel
/etc/sysconfig/kernel
/usr/share/doc/lm_sensors-2.8.7/doc/kernel
/lib/modules/2.6.9-34.0.2.EL/kernel
/lib/modules/2.6.9-34.0.2.EL/kernel/arch/i386/kernel

and now?

Is here: /etc/sysconfig/kernel ??

please, help me for correct command .. I read in your previus post:

#mv ./kernels /usr/src

this is the correct sequence?

cd /etc/sysconfig/kernel
mv ./kernels /usr/src

Is correct?
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#15
Hmmmm..... I don't know why, but for me, you don't have the same version that me. :huh:

I'm just make a fresh install with the Elastix 1.3.2 and I not need to install the kenerl-dev. :blink:
The kernel dev is here /usr/src.

(before, download the iso from elastix web site)
Remake your install (on a virtual machine) and see if you have the kernel into the /usr/src/kernels/.

Normally yes.

In this case, compare this version and you can copy the directoy into your first install. (Only if it's the same version).

Reply me.
 

beveseth

Joined
Jan 20, 2009
Messages
9
Likes
0
Points
0
#16
Salut,

J'ai la même chose que IOIVI:

# find / -name 'kernel' -print
/lib/modules/2.6.18-92.1.18.el5/kernel
/lib/modules/2.6.18-92.1.18.el5/kernel/arch/i386/kernel
/sys/kernel
/etc/sysconfig/kernel
/proc/sys/kernel
/usr/share/doc/lm_sensors-2.10.0/doc/kernel
/usr/share/logwatch/scripts/services/kernel

Faut croire que les deux distributions sont trés proches à ce niveau :)
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#17
Ben oui, s'il utilise Trixbox lui aussi, ça va être dur. ;)
Le mieux peut être c'est de passer sous Elastix :p

Par contre, pour l'instant, le h323 ne fonctionne visiblement pas sous Elastix.
Donc si il y a un besoin de se côté là.... Il faudra garder Trixbox pour l'instant.
Il manque peu pour que ça fonctionne, mais bon...Wait and see.
Le chan_mobile fonctioneerait mieux sous trixbox aussi, mais bon...

Je n'ai pourtant pas vu que ioivi utilisait Trixbox. S'il a le même résultat que toi, alors ça doit être le cas. :)
 

ioivi

Joined
Jan 8, 2009
Messages
35
Likes
0
Points
0
#18
danardf said:
Je n'ai pourtant pas vu que ioivi utilisait Trixbox. S'il a le même résultat que toi, alors ça doit être le cas. :)
I have dowloaded elastix iso and install to a test pc (production pc is with trixbox but i want test elastix)

I have test also trixbox iso .. same problem ..

In any case my problem posted here is for elastix, last version avalibale in this website ..
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#19
hmmmm....strange.

Because I use the 1.3.2 like fresh install (one week ago), and I haven't this problem.
I don't know why..... :blink:

But, after install, you have make an yum update or/and yum install kernel-dev?
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#20
Else, What's your repository List?
  • CentOS-5 - Base
    CentOS-5 - Updates
    CentOS-5 - Addons
    CentOS-5 - Extras
    CentOS-5 - Plus
    CentOS-5 - Contrib
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,567
Latest member
achilont13
Top