keywords: ip pbx voip gateway gsm gateway

×

Notice

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

Elastix 2.0.3 openVox A800P

13 years 2 months ago #6675 by azjsans
Hello,

I have a 32bit Elastix 2.0.3 (Cent OS 5.5)
I just can't get the A800P card to work.

Here is what I have done so far:

I can see there is a Tiger Jet chip based device with lspci–vvvvv

I downloaded from www.asterisk.org the dahdi-linux-2.4.0 and dahdi -tools-2.4.0 and unzip the files to /usr/src
Copied the opvxa1200.c to/usr/src/dahdi-linux-2.4.0/driver/dahdi/
Edited the Kbuild file under/usr/src/dahdi-linux-2.4.0/driver/dahdi/ adding the following line:obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTDM)+= opvxa1200.o

This is where I’m having trouble, when I run the make I getto following errors:

[root@pbx dahdi-linux-2.4.0]# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory `/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware'
make[1]: Leaving directory`/usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware'
make -C /lib/modules/2.6.18-194.3.1.el5/buildSUBDIRS=/usr/src/dahdi-linux-2.4.0 /drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.4.0/includeDAHDI_MODULES_EX TRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory`/usr/src/kernels/2.6.18-194.3.1.el5-i686'
CC [M] /usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.o
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c: Infunctionâwctdm_watchdo gâ:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2274:error: âstructdahdi_ spanâ has no member named âpvtâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c: Infunctionâwctdm_initial izeâ:
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2406:error: âstructdahdi_ spanâ has no member named âhooksigâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2408:error: âstructdahdi_ spanâ has no member named âopenâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2409:error: âstructdahdi_ spanâ has no member named âcloseâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2411:error: âstructdahdi_ spanâ has no member named âioctlâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2412:error: âstructdahdi_ spanâ has no member named âwatchdogâ
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.c:2415:error: âstructdahdi_ spanâ has no member named âpvtâ
make[2]: ***[/usr/src/dahdi-linux-2.4.0/drivers/dahdi/opvxa1200.o] Error 1
make[1]: ***[_module_/usr/src/dahdi-linux-2.4.0/drivers/dahdi] Error 2
make[1]: Leaving directory`/usr/src/kernels/2.6.18-194.3.1.el5-i686'
make: *** [modules] Error 2
[root@pbx dahdi-linux-2.4.0]#

I edited the opvxa1200.c file and added the following:#include <linux/sched.h>

But I get the same error. Help!!!
13 years 2 months ago #6676 by svolta
Hi,
You can download the dahdi from http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/ , every version here contain the drivers for A800P!
13 years 2 months ago #6679 by azjsans
Thank you for the quick reply, I downloaded dahdi from http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/ ,

Everything ran ok, but still cannot see any channels

rcbfx: DAHDI Tools Version - 2.4.0

DAHDI Version: 2.4.0
Echo Canceller(s):
Configuration
======================


Channel map:


0 channels to configure.

[ OK ]

No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: [ OK ]
[root@pbx /]#

When I run dahdi_genconf I get the following:

[root@pbx /]# dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans
[root@pbx /]#

Still not sure how to get it working.

Is there something else I can check to see what the issue might be?

Thank you for your help.
13 years 2 months ago #6680 by svolta
Please show me the output by command 'dmesg', you can send it to my Email, my Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
13 years 2 months ago #6681 by azjsans
Ok, I just sent the "dmesg" output to your email
13 years 2 months ago #6775 by vmiro
I know that A1200P card is recognized by Elastix and A800P is not??
Time to create page: 0.043 seconds
Powered by Kunena Forum