[SOLVED]Installing B410p with AsteriskNOW

Hi,

I’ve been trying for a week now to get my B410p card working and have had no joy. After searching this forum, I have overcome a lot of the problems but I’m now stuck.

I’ve instaled mISDN and mISDNuser.

When I go to make chan_misdn, I get lots of errors but I don’t know how to post them on the forum.

Would really appreciate it if anyone could ssh in and help me.

Thanks in advance

UPDATE :

Here is the output when I try to make install in chan_misdn dir…

cc -g -ggdb -Wall -D_GNU_SOURCE -Wno-missing-prototypes -Wno-missing-declaration s -fomit-frame-pointer -D_REENTRANT -Imisdn -Wall -fPIC -DCHAN_MISDN_VERSION=“0 .3.1-rc29” -c chan_misdn.c
chan_misdn.c:1100: warning: initialization from incompatible pointer type
chan_misdn.c:1118: warning: initialization from incompatible pointer type
chan_misdn.c:1126: warning: initialization from incompatible pointer type
chan_misdn.c:1136: warning: initialization from incompatible pointer type
chan_misdn.c:1172: warning: initialization from incompatible pointer type
chan_misdn.c:1239: warning: initialization from incompatible pointer type
chan_misdn.c: In function read_config': chan_misdn.c:1449: warning: passing arg 1 ofast_copy_string’ discards qualifie rs from pointer target type
chan_misdn.c:1454: warning: passing arg 1 of ast_copy_string' discards qualifie rs from pointer target type chan_misdn.c: At top level: chan_misdn.c:2711: error: unknown fieldsend_digit’ specified in initializer
chan_misdn.c:2711: warning: initialization from incompatible pointer type
chan_misdn.c:2718: warning: initialization from incompatible pointer type
chan_misdn.c:2729: error: unknown field send_digit' specified in initializer chan_misdn.c:2729: warning: initialization from incompatible pointer type chan_misdn.c:2735: warning: initialization from incompatible pointer type chan_misdn.c: In functionmisdn_new’:
chan_misdn.c:2748: error: too few arguments to function ast_channel_alloc' chan_misdn.c:2757: warning: passing arg 1 ofsnprintf’ discards qualifiers from pointer target type
chan_misdn.c:2760: warning: passing arg 1 of snprintf' discards qualifiers from pointer target type chan_misdn.c:2763: error: structure has no member namedtype’
chan_misdn.c: In function import_ch': chan_misdn.c:3218: warning: assignment discards qualifiers from pointer target t ype chan_misdn.c:3229: warning: assignment discards qualifiers from pointer target t ype chan_misdn.c: In functioncb_events’:
chan_misdn.c:4123: error: too few arguments to function ast_moh_start' chan_misdn.c: In functionload_module’:
chan_misdn.c:4255: warning: implicit declaration of function `unload_module’
make: *** [chan_misdn.o] Error 1

This is copied from dmesg:
Modular ISDN Stack core version (1_1_2) revision ($Revision: 1.40 $)
mISDNd: kernel daemon started (current:ffff81009f241140)
mISDNd: test event done
mISDN: HFC-multi driver Rev. 1.68
Not enough ‘protocol’ values given.
hfc_multi: probe of 0000:04:01.0 failed with error -22

0 devices registered
mISDN_register_module(ffffffff880c6000)
ipmi message handler version 39.0
IPMI System Interface driver.
ACPI: PCI Interrupt 0000:03:00.4[D] -> GSI 16 (level, low) -> IRQ 16
ipmi_si: Trying PCI-specified KCS state machine at memory address 0xa81a0000, slave address 0x0, irq 16
ipmi_si: There appears to be no BMC at this location
ACPI: PCI interrupt for device 0000:03:00.4 disabled
ipmi_si: Unable to find any System Interface(s)
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19

Can anyone help?

Thanks

I’ve managed to finally solve this by the following:

Install and configure as described in http://forums.digium.com/viewtopic.php?t=12892&highlight=b410p

Once done, the final hurdle was trying to get Asterisk to see the B410p and get some lights flashing!

Stop Asterisk using stop now command at the CLI prompt. This tends to freeze asterisk so ALT+F2 to open a new window and log in to root.

/etc/init.d/misdn-init stop

-This may give you some errors for files that it can’t find, simply copy them from /sbin to /usr/sbin until you have no more errors.

/etc/init.d/misdn-init start

  • Again, if you get any errors of missing files, copy them from /sbin to /usr/sbin

This should start the lights flashing on the card.

asterisk -vvvc

Hope this helps!

Sparkie