b410p leds keep flashing red

Hi reader,

I have installed on Asterisk 1.5beta the mISDN driver. It is recognised.
But the 4 LEDS on the card keep flashing whether there is a remote connection cable attached to it or not.

I need help to get it working!

Below the relevant part of dmesg.

ISDN L1 driver version 1.20
ISDN L2 driver version 1.32
mISDN: DSS1 Rev. 1.47
mISDN: HFC-multi driver Rev. 1.68
HFC-multi: card manufacturer: ‘Cologne Chip AG’ card name: ‘HFC-4S Digium Card’ clock: normal
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 217
HFC-4S#1: defined at IOBASE 0xcc00 IRQ 217 HZ 1000 leds-type 2
HFC_multi: resetting HFC with chip ID=0xc revision=1
Setting GPIOs
calling vpm_init
VPM: Chip 0: ver 33
VPM: A-law mode
VPM reg 0x20 is 11
NLP Thresh is set to 2 (0x2)
VPM: A-law mode
VPM reg 0x20 is 11
NLP Thresh is set to 2 (0x2)
hfcpci_probe: DIPs(0x80) jumpers(0x9)
1 devices registered
mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2 dtmfthreshold(100)
mISDN_dsp: DSP clocks every 128 samples. This equals 16 jiffies.

I haven’t been up to speed lately with code versions, but this is how BRI has been working for me.

The card flashes red, without cables plugged in.
The card has a solid red light when the cable is plugged in.
The card has a solid green light when there is an active call.

In earlier versions, plugging and unplugging the cables made the lights change from blinking to solid.

Later versions don’t appear to do that. I’ve found leaving the cables plugged in and restarting misdn_init the best way to get the same solid red light consistently.

Hope this gives you a bit of an idea.
CM

With a cable connected, restarting misdn-init, gives no difference. LEDs keep flashing red.

No idea what to do.

I´ve notice in the dmesg log that the following lines came up after restarting misdn.
It seems there is a problem when register_layer is invoked.

I do not know the driver. Any help?


Modular ISDN Stack core version (1_1_8) revision ($Revision: 1.40 $)
mISDNd: kernel daemon started (current:f74ff000)
mISDNd: test event done
ISDN L1 driver version 1.20
ISDN L2 driver version 1.32
mISDN: DSS1 Rev. 1.47
mISDN: HFC-multi driver Rev. 1.68
HFC-multi: card manufacturer: ‘Cologne Chip AG’ card name: ‘HFC-4S Digium Card’ clock: normal
PCI: Enabling device 0000:02:01.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 217
HFC-4S#1: defined at IOBASE 0xcc00 IRQ 217 HZ 1000 leds-type 2
HFC_multi: resetting HFC with chip ID=0xc revision=1
Setting GPIOs
calling vpm_init
VPM: Chip 0: ver 33
VPM: A-law mode
VPM reg 0x20 is 11
NLP Thresh is set to 2 (0x2)
VPM: A-law mode
VPM reg 0x20 is 11
NLP Thresh is set to 2 (0x2)
hfcpci_probe: DIPs(0x80) jumpers(0x9)
register_layer: register_sysfs failed -17 st(00000100) inst(40000100)
register_layer: register_sysfs failed -17 st(00000200) inst(40000200)
register_layer: register_sysfs failed -17 st(00000300) inst(40000300)
register_layer: register_sysfs failed -17 st(00000400) inst(40000400)
1 devices registered
mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2 dtmfthreshold(100)
mISDN_dsp: DSP clocks every 128 samples. This equals 16 jiffies.

What version of the distro/kernel are you running?

Try with these version numbers - I know these work with 2.6.18-53 which is the default kernel in centos 5.1 - i had trouble with an updated version of that kernel.

Zaptel 1.4.11
Asterisk 1.4.21.1
LibPRI 1.4.4

IIRC, I needed libpri in there even though it’s not a primary rate. The only logical thing I could make of it is because it’s an ISDN card, but that doesn’t sound very professional.

I installed 3 in a week with this installation set 3 months ago.

Hope it helps you.

This is my /etc/misdn-init.conf

card=1,0x4,dtmf
te_ptp=1,2,3,4
poll=128
dsp_options=0
debug=0xf
dtmfthreshold=200

This is my /etc/asterisk/misdn.conf

[general]
debug=0
;tracefile=/var/log/asterisk/misdn.trace
;trace_calls=true
;trace_dir=/var/log/asterisk
bridging=no
stop_tone_after_first_digit=yes
append_digits2exten=yes
;l1_info_ok=yes
;clear_l3=no
;method=standard
dynamic_crypt=no
crypt_keys=test,muh

[default]
context=from-pstn
language=en
nationalprefix=0
internationalprefix=0011
rxgain=0
txgain=0
te_choose_channel=no
; 0 - unknown ;  1 - National, ; 2 - International ; 4 - Subscriber
dialplan=0
;use_callingpres=yes
always_immediate=no
immediate=no
hold_allowed=no
callgroup=1
pickupgroup=1
;echocancelwhenbridged=no
echocancel=yes
;echotraining=no

[bri]
ports=1,2
context=from-pstn
msns=*

[other]
ports=3,4

You have to blacklist in /etc/modprobe.d/blacklist

# ISDN - see bugs 154799, 159068
blacklist hisax
blacklist hisax_fcpcipnp

Good luck

This is my /etc/misdn-init.conf

card=1,0x4,dtmf
te_ptp=1,2,3,4
poll=128
dsp_options=0
debug=0xf
dtmfthreshold=200

This is my /etc/asterisk/misdn.conf

[general]
debug=0
;tracefile=/var/log/asterisk/misdn.trace
;trace_calls=true
;trace_dir=/var/log/asterisk
bridging=no
stop_tone_after_first_digit=yes
append_digits2exten=yes
;l1_info_ok=yes
;clear_l3=no
;method=standard
dynamic_crypt=no
crypt_keys=test,muh

[default]
context=from-pstn
language=en
nationalprefix=0
internationalprefix=0011
rxgain=0
txgain=0
te_choose_channel=no
; 0 - unknown ;  1 - National, ; 2 - International ; 4 - Subscriber
dialplan=0
;use_callingpres=yes
always_immediate=no
immediate=no
hold_allowed=no
callgroup=1
pickupgroup=1
;echocancelwhenbridged=no
echocancel=yes
;echotraining=no

[bri]
ports=1,2
context=from-pstn
msns=*

[other]
ports=3,4

You have to blacklist in /etc/modprobe.d/blacklist

# ISDN - see bugs 154799, 159068
blacklist hisax
blacklist hisax_fcpcipnp

Good luck

I have installed lately asterisk with b410p card. Everything works fine. I had trouble getting the drive installed. There is a problem with misdn 1_1_7 (according to digium support). The following is what i installed and everything works fine:

OS: CentOS 5.2
Kernel: 2.6.18-92.el5
Zaptel: 1.4.12
Instead of ‘make b410p’ i downloaded from misdn.org:

  • mISDN-1_1_8
  • mISDNuser-1_1_8
    Asterisk-1.4.21.2

Regarding the let status, for me is the same as Cris:
The card flashes red, without cables plugged in.
The card has a solid red light when the cable is plugged in.
The card has a solid green light when there is an active call.

The reason that the b410p lights are red when a call is not in progress is because some telephone companies actually break down the circuit to save power while there are no calls, and they immediately activate it back when a call is coming through. This is pretty normal with bri lines.

I hope this helps,
Regards
Ladio

Ok,

Now works. Aparently I had wrong options for NT vs TE interface.

Thanks a lot.