keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

A1200P + Dahdi 2.1.0.3

15 years 3 months ago #2551 by tdurante
Hi guys,

I fallowed the 'how to' that you guys have for Asterisk 1.6.0.1 and Dahdi 2.0.0. But instead using these versions I used:

Asterisk 1.6.0.3
Dahdi 2.1.0.3

Ok, I knew something could go wrong. And it did:

# make
make -C /lib/modules/2.6.24.5-smp/build ARCH=i386 SUBDIRS=/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.1.0.3/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi-base.o
LD [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dummy.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dynamic.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dynamic_loc.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_dynamic_eth.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/dahdi_transcode.o
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.o
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.c: In function 'wctdm_remove_one':
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.c:2385: warning: passing argument 3 of 'pci_free_consistent' discards qualifiers from pointer target type
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.c: In function 'wctdm_init_one':
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.c:2302: warning: passing argument 3 of 'pci_free_consistent' discards qualifiers from pointer target type
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.c:2317: warning: passing argument 3 of 'pci_free_consistent' discards qualifiers from pointer target type
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.c:2332: warning: passing argument 3 of 'pci_free_consistent' discards qualifiers from pointer target type
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/wctdm.c:2345: warning: passing argument 1 of '__constant_c_and_count_memset' discards qualifiers from pointer target type
CC [M] /usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.o
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.c: In function 'wctdm_voicedaa_check_hook':
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.c:1036: error: 'struct wctdm' has no member named 'cid_ring_on_time'
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.c:1037: error: 'struct wctdm' has no member named 'cid_ring_on_time'
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.c:1039: warning: passing argument 1 of 'dahdi_qevent_lock' from incompatible pointer type
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.c:1040: error: 'struct wctdm' has no member named 'cid_ring_on_time'
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.c:1043: error: 'struct wctdm' has no member named 'cid_ring_on_time'
/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.c:1036: warning: suggest explicit braces to avoid ambiguous 'else'
make[2]: *** [/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi/opvxa1200.o] Error 1
make[1]: *** [_module_/usr/src/dahdi-linux-2.1.0.3/drivers/dahdi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [modules] Error 2


Please, can you guys help me? I'll use the older versions to put it to work, for now.


Thank you!
15 years 3 months ago #2559 by james.zhu
hello,
the error is from wctdm, some values are changed. I suggest using the version mentioned in my doc. dahdi now is not very stable, please try the version i tested in the doc if you want to try that.
regards!
James.zhu

15 years 3 months ago #2563 by Denins.Den
Hi,
I want to know what OS you are using? CentOS?

regards
denins.den
15 years 3 months ago #2615 by tdurante
Hi Denins,

Sorry for the late reply.

I'm using Slackware and Ubuntu. In both of them I've the same result.

Thanks!
15 years 3 months ago #2617 by james.zhu
hello,
please follow the doc we gave. what we tested bases on Centos-5.0+dahdi-2.0.0, not others.
regards!
James.zhu

15 years 2 months ago #2625 by tdurante
Hello James,

Well, I can understand that you guys made that how to using one flavor of Linux. But you must be aware that CentOS is not the only flavor and some companies, as mine, already has a standard for software and hardware.

For hardware, so far, we've been only using Openvox and I'd like to keep doing that.

Thanks and good look with the drivers.
Time to create page: 0.043 seconds
Powered by Kunena Forum