Digium b410p with i4b
Mikael Batard
support at wanagain.net
Tue Jun 5 21:01:15 UTC 2007
Hi,
i'm trying to get the Digium b410p card (quadbri) working with i4b (svn
trunk revision 510) on FreeBSD 6.2.
I've added the vendor hardware code to the
i4b/trunk/i4b/src/sys/i4b/layer1/ihfc2/i4b_hfc4s8s.h file :
I4B_PCI_DRIVER(/* HFC-4S B410P */
.vid = 0xb410d161,
.sub = 0xb410d161);
The card is detected with pciconf :
$ pciconf -vl
ihfc0 at pci6:1:0: class=0x020400 card=0xb410d161 chip=0xb410d161 rev=0x01
hdr=0x00
class = network
subclass = ISDN
and isdnconfig :
$ isdnconfig
controller 8 = {
Layer 1:
description : HFC-4S PCI ISDN adapter
type : passive ISDN (Basic Rate, 2xB)
channels : 0x3
serial : 0xabd5
power_save : on
dialtone : enabled
attached : yes
PH-state : F3: Deactivated
Layer 2:
driver_type : DRVR_DSS1_TE
}
If I insert the isdn cable in the card the PH-state change to this:
PH-state : F7: Activated
But if I call my isdn number (which is sent through the cable to the
card), it doesn't work, i get no tone on my phone (which is external
from this isdn network).
I've tried to do some tests with capitest and isdndecode, and I've got
lots of lines like this one :
-- TE->NT - unit:09 frame:000409 - time:05.06 22:30:17.013265 -
length:8 -----
L2 00 FC 111111-- SAPI = 63 (Layer 2
Management)
------0- C/R = Command
-------0 Extension Bit = 0 (with extension, octet
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f
(Broadcast TEI)
-------1 Extension Bit = 1 (no extension,
final octet)
L2 02 03 000-0011 U-Frame: UI (Unnumbered
Information)
---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI (Management Entity
Identifier)
L2 04 AD 10101101 Ri = 0xad57 (Reference
number high)
L2 05 57 01010111 Ri (Reference
Number low)
L2 06 01 00000001 TEI Identity message = REQUEST
(0x01)
L2 07 FF 1111111- Ai = 127 (Action
Indicator = )
-------1 Extension Bit = 1 (no extension,
final octet)
Asterisk 1.2.17, zaptel 1.4.1, libpri 1.4.0 and libpri-bristuff 1.2.3
are installed.
There are 2 other cards installed : 1 Digium TDM400p (with 2 FXO ports)
and 1 Passive ISDN BRI card (which works perfectly except for echo
cancellation).
$ ztcfg -vv
Keyword: [fxsks], Value: [3-4]
Keyword: [loadzone], Value: [fr]
Keyword: [defaultzone], Value: [fr]
Zaptel Version: 1.4.0-BSD
Echo Canceller: MG2
Configuration
======================
Channel map:
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
2 channels configured.
$ pciconf -vl
ihfc1 at pci6:2:0: class=0x028000 card=0x2bd01397 chip=0x2bd01397 rev=0x02
hdr=0x00
vendor = 'Cologne Chip Designs GmbH'
device = 'HFC-S PCI A ISDN 2BDS0 ISDN HDLC FIFO Controller'
class = network
SIP phones can call through Passive ISDN BRI card with no problem, but
if I try to make a call through the Digium b410p, i've got a tone (from
asterisk) and after 20 seconds it fails with "all circuit are busy".
Can somebody help me with this ?
I didn't find nothing on the web about digium b410p on freebsd.
Thanks.
Regards,
--
Mikael Batard
Wan Again
12 Route de l'Isle
84510 Caumont sur Durance
Tel: +33 (0)4 90 01 26 86
Fax: +33 (0)4 90 23 10 58
http://www.wanagain.fr/
More information about the freebsd-isdn
mailing list