keywords: ip pbx voip gateway gsm gateway

×

Notice

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

Install A1200p/A800P driver with zaptel-1.4.9 or upper

16 years 1 week ago #939 by miaolin
zaptel-1.4.9 or upper move kernel modules to kernel subdir, thus you have to patch following files to build the device driver:

Makefile and zaptel.sysconfig under zaptel base dir.
add opvxa1200 to everywhere that have wctdm (not wctdm24xx etc).
modify zaptel.sysconfig as before.

GNUmakefile under kernel dir.
add opvxa1200.o: wctdm.h after wctdm.o: wctdm.h

other steps are same as before
16 years 5 days ago #964 by Alejandro
Dear Miaolin,

I have a problem with yours instruction (and any other)

I run a Centos 5.1, kernel 2.6.18-53.1.14.el5, Asterisk 1.4.19 and zaptel 1.4.9.2 and have a a1200p with 2 modules FXO.

In the process of instalation i haven't any problem, but when i attempt run a zaptel (with service zaptel start) i recive:

Loading zaptel framework: Module zaptel not found.

in Makefile I find the line MODULES... and add opvxa1200 but i haven't other wctdm in the same file.
The zaptel.sysconfig file is modify ok
The GNUmakefile is ok

When run configure, finish with Zaptel build successfully configured
When run make I see the opvxa1200 module during the process and finish ok
When run make install, finish with Zaptel installed successfully....

I have /lib/modules/2.6.18-53.1.14.el5/misc/opvxa1200 ok

thanks for your help
16 years 5 days ago #965 by miaolin
Looks like the /etc/sysinit/zaptel have some error, could you send your ssh account to This email address is being protected from spambots. You need JavaScript enabled to view it.?
16 years 4 days ago #969 by Alejandro
Dear Miaolin,

I send you the ssh account.

Anyway, I was reviewing what I have configured and comparing it with manuals.

I note that it's necessary to amend a content which doesn't exist in my file zaptel.init

I paste the code in my zaptel.init

for x in $MODULES; do
eval localARGS="\$${x}_ARGS"
if modprobe ${x} ${ARGS} ${localARGS} 2> /dev/null; then
echo -n " $x"
echo "."
fi
done


This is the only code that refers to MODULES. Differs from that of the manuals:

if [ -z "${MODULES}" ]; then
# Populate defaults if not present
MODULES="tor2 wct4xxp wct1xxp wcte11xp wcfxo wctdm wctdm24xxp

Another 1....

When I execute ./genzaptelconf –d under /usr/src/zaptel/xpp/utils result

Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected
Time to create page: 0.035 seconds
Powered by Kunena Forum