Asterisk and Eicon Diva Server V-BRI

Asterisk is quite new for me. But my Asterisk@Home is working with SIP phones without any problem.

Now I added a ISDN BRI card (Eicon Diva Server V-BRI) to the Asterisk and installed the drivers divas4linux_2_6_9_5_EL-105.6-1.i386.rpm. The drivers for the BRI card are loading fine:

root@asterisk1 ~# cat /proc/net/eicon/divas
 divas: 2.0(1.46) 105-88(local) major=253
  1: Diva Server V-BRI-2            Serial:34919      IRQ: 9
root@asterisk1 ~# cat /proc/net/eicon/divadidd
 Eicon DIVA - DIDD table (http://www.melware.net)
 name     : divadidd
 release  : 3.0
 build    : 105-88(local)
 revision : 1.13
 major    : 254
 cfglib   : 35
 cfgstate : 1
root@asterisk1 ~# dmesg | tail -12
 divadidd: no version for "struct_module" found: kernel tainted.
 Eicon DIVA - DIDD table (http://www.melware.net)
 divadidd: Rel:3.0  Rev:1.13  Build:105-88(local)
 Eicon DIVA Server driver (http://www.melware.net)
 divas: Rel:2.0  Rev:1.46  Build: 105-88(local)
 divas: support for: BRI/PCI PRI/PCI adapters
 divas: Diva Server BRI-2M 2.0 PCI bus: 00000000 fn: 00000080 insertion.
 PCI: Found IRQ 9 for device 0000:00:10.0
 PCI: Sharing IRQ 9 with 0000:00:07.2
 divas: Diva Server V-BRI-2 IRQ:9 SerNo:34919
 divas: started with major 253
 divas: bus: 00000000 fn: 00000080 removal.
 divas: module unloaded.
 Eicon DIVA Server driver (http://www.melware.net)
 divas: Rel:2.0  Rev:1.46  Build: 105-88(local)
 divas: support for: BRI/PCI PRI/PCI adapters
 divas: Diva Server BRI-2M 2.0 PCI bus: 00000000 fn: 00000080 insertion.
 PCI: Found IRQ 9 for device 0000:00:10.0
 PCI: Sharing IRQ 9 with 0000:00:07.2
 divas: Diva Server V-BRI-2 IRQ:9 SerNo:34919
 divas: started with major 253
root@asterisk1 ~# lspci | grep Eicon
 00:10.0 Network controller: Eicon Networks Corporation Diva Server BRI-2M 2.0 PCI (rev 01)

But now what? How do I tell Asterisk to use my BRI card? Do I have to use chan_capi or BRIStuff? This step isn’t as easy as the SIP config ;-/

Thanks in advance for the help!

Fred

PS: If you’re interested, I’m trying to put the information of my box on the wiki page linox.be/wiki/index.php?n=Linux.AsteriskAtHome

Just add chan_capi-cm. I have an Eicon Diva V-4BRI working perfectly here. :smile:

Thanks for the reply! I’m sure now I’m looking in the right direction …

Could you post your capi.conf pls? And the lines for the BRI card in your extensions.conf? This would be very helpful!!!

Here’s my /etc/asterisk/capi.conf:

; CAPI config
;
;
[general]

nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
; If you are in Europe use alaw. Use ulaw otherwise
alaw=yes

[V4BRI-1]

;Define CAPI Controller 1 of V-4BRI-8M
;mode=immediate
isdnmode=DID
ntmode=yes
incomingmsn=*
controller=1
softdtmf=0
accountcode=
context=from-trunk
callgroup=1
echocancel=yes
devices=2

You just need to repeat the [V4BRI-1] blocks for each one of the ports (creating [V4BRI-2], etc).

On the extensions.conf side, there isn’t anything specific to the ISDN lines, except the dial-out commands, which are in the form:

CAPI/contr1/123456789

I believe you can also group controllers together in some way, but I haven’t worked out how yet. I use AMP to manage Asterisk, so I just configured each port as a seperate trunk. I can then configure AMP to try one and then the other when dialling outbound.

Hope that helps.