# B401p install problems

**URL:** <https://community.asterisk.org/t/b401p-install-problems/15298>\
**Category:** Asterisk Support\
**Created:** [June 28, 2007, 9:29am UTC](https://community.asterisk.org/t/b401p-install-problems/15298 "2007-06-28T09:29:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skeffling](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@skeffling](https://community.asterisk.org/u/skeffling)\
**Post date:** [June 28, 2007, 9:29am UTC](https://community.asterisk.org/t/b401p-install-problems/15298/1 "2007-06-28T09:29:12Z")

</div>

I’m having problems installing a B401p in to a Centos 5 server… I’m  
following the PDF manual (B410P-08-26-2006.pdf) This is the first time  
I’ve installed this card. The card was purchased from Telappliant in the  
UK last week.

`cat /proc/version
Linux version 2.6.18-8.1.6.el5 (mockbuild@builder6.centos.org) (gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Jun 14 17:29:04
EDT 2007`

`lspci
03:06.0 ISDN controller: Digium, Inc. Unknown device b410 (rev 01)
`

I make zaptel:

[quote]make clean  
make install  
make b410p[/quote]

I then make asterisk

[quote]make  
make install[/quote]

I then configure the driver:

`/etc/init.d/misdn-init config
[OK] /etc/misdn-init.conf already present. backing it up to
/etc/misdn-init.conf.save
[OK] /etc/misdn-init.conf created. It's now safe to run
"/etc/init.d/misdn-init start"
[ii] make your ports (1-4) available in asterisk by editing
"/etc/asterisk/misdn.conf"`

I then edit /etc/misdn-init.conf :

`card=1,0x4
te_ptp=1,2,3,4
poll=128
dsp_options=0
debug=0xf`

I then load the driver:

## [code]/etc/init.d/misdn-init start

## Loading module(s) for your misdn-cards:

modprobe --ignore-install hfcmulti type=0x4 protocol=0x12,0x12,0x12,0x12  
layermask=0x3,0x3,0x3,0x3 poll=128 debug=0xf  
[i] creating device node: /dev/mISDN[/code]

`lsmod | grep hfcmulti
hfcmulti 103880 0
mISDN_core 115200 6
mISDN_dsp,mISDN_capi,l3udss1,mISDN_l2,mISDN_l1,hfcmulti`

`dmesg | grep Digium
HFC-MULTI: Card 'HFC-4S Digium Card' found, but not given by module's
options, ignoring...`

I then edit /etc/asterisk/misdn.conf

[code][general]  
misdn\_init=/etc/misdn-init.conf  
debug=0  
stop\_tone\_after\_first\_digit=yes  
bridging=no

[default]  
context=foobar  
allowed\_bearers=all  
nationalprefix=0  
internationalprefix=00  
rxgain=0  
txgain=0

echotraining=no  
echocancel=yes

pmp\_l1\_check=yes  
method=standard  
dialplan=0  
localdialplan=0  
cpndialplan=0  
early\_bconnect=yes  
always\_immediate=no  
immediate=no  
hdlc=yes

[isdn]  
ports=1ptp,2ptp,3ptp,4ptp  
#ports=4ptmp  
context=default  
msns=\*[/code]

In my extensions.conf I have:

```auto

```

When I try to call 101, I get:

` -- Executing NoOp("SIP/5201-c000ce30", "") in new stack
    -- Executing NoOp("SIP/5201-c000ce30", "") in new stack
    -- Executing Goto("SIP/5201-c000ce30", "local|101|1") in new stack
    -- Goto (local,101,1)
    -- Executing NoOp("SIP/5201-c000ce30", "") in new stack
    -- Executing NoOp("SIP/5201-c000ce30", "") in new stack
    -- Executing Dial("SIP/5201-c000ce30", "mISDN/1/01344400000") in new
stack
Jun 27 10:34:26 WARNING[3497]: channel.c:2618 ast_request: No channel
type registered for 'mISDN'
Jun 27 10:34:26 NOTICE[3497]: app_dial.c:1076 dial_exec_full: Unable to
create channel of type 'mISDN' (cause 66 - Channel not implemented)
  == Everyone is busy/congested at this time (1:0/0/1)`

If I run: misdnportinfo I get:

`Found no card. Please be sure to load card drivers.
mISDN_close:
fid(3) isize(131072) inbuf(0x116b00a0) irp(0x116b00a0) iend(0x116b00a0)
`

I’ve obviously gone wrong somewhere and have missed something… can anyone shed any light please?

---

<div class="post-metadata">

**Author:** ![meric](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@meric](https://community.asterisk.org/u/meric)\
**Post date:** [June 29, 2007, 4:27am UTC](https://community.asterisk.org/t/b401p-install-problems/15298/2 "2007-06-29T04:27:13Z")

</div>

From the look of the logs, it appears that the driver isn’t finding the card.

I’d try downloading the latest version of mISDN and mISDNuser from [www.misdn.org](http://www.misdn.org) and recompiling.

Here’s what I did:

[quote]/etc/init.d/misdn-init stop  
cd /usr/src  
wget [misdn.org/downloads/releases … 1\_4.tar.gz](http://www.misdn.org/downloads/releases/mISDN-1_1_4.tar.gz)  
wget [misdn.org/downloads/releases … 1\_4.tar.gz](http://www.misdn.org/downloads/releases/mISDNuser-1_1_4.tar.gz)  
tar -xzf mISDN-1\_1\_4.tar.gz  
mv mISDN-1\_1\_4 mISDN  
cd mISDN  
make  
make install  
cd …  
tar -xzf mISDNuser-1\_1\_4.tar.gz  
mv mISDNuser-1\_1\_4 mISDNuser  
cd mISDNuser  
make  
make install[/quote]

Then re-run the config steps as you did before (e.g. /etc/init.d/misdn-init config etc…)

Before starting Asterisk, you should be able to run misdnportinfo and it should report the 4 ports on the card. If that fails, then you’ve still got a driver issue, and there’s no point looking at the Asterisk config.

Assuming that the driver is working, you may need to recompile Asterisk (chan\_misdn) to ensure that it picks up the latest code from mISDNuser.

---

<div class="post-metadata">

**Author:** ![skeffling](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@skeffling](https://community.asterisk.org/u/skeffling)\
**Post date:** [July 11, 2007, 2:26pm UTC](https://community.asterisk.org/t/b401p-install-problems/15298/3 "2007-07-11T14:26:10Z")

</div>

Thanks, we did get this working just by installing it again!
