Make incoming and outgoing call with TDM 400P

Hello everybody

    My problem is Asterisk doesn't recognize Zap channel when I type command CLI> show channeltypes.
    I use TDM400P card, I only mount 1 module FXO on it (TDM01B)
    I compiled zaptel and libpri package after I had compiled asterisk-1.2.6
    I configured zaptel.conf, zapata.conf, extensions.conf. When I type command #modprobe wctdm the green led is turned on. Then I type cmmand #ztcfg -vv to verfy. The issue output :
             Zaptel Configuration
             ================ 
             Channel 04: FXS Kewlstart (Default) (Slave: 04)
             1 channels configured

    But when type command CLI>show channeltypes, the Zap channel doesn't define in list. I don't know what error I make.
    I wonder whether my wrong is in zapata.conf and extensions.conf configuration
    I can't make incoming and outgoing call
    Please help me !!!

from www.asterisk.org/download:

[quote]After you receive the latest code …

cd zaptel

make clean; make install

cd …/libpri

make clean; make install

cd …/asterisk

make clean; make install

Alternatively, if you checked out the 1.2 branch, you would use the following commands:

cd zaptel-1.2

make clean; make install

cd …/libpri-1.2

make clean; make install

cd …/asterisk-1.2

make clean; make install [/quote]

my sugestion for now is:

cd …/asterisk-1.2.X

make clean; make install

libpri package is not needed for Analog cards like TDM400

Hi fdragowski

    I download new asterisk version in asterisk.org and I compiled packages (zaptel-1.2.6,libpri-1.2.3,asterisk-1.2.9.1) sequence properly.But kernel have problem when I type command #modprobe wctdm. Asterisk output following information : 

     /lib/modules/2.4.20-8/misc/zaptel.o: kernel-module version mismatch
    /lib/modules/2.4.20-8/misc/zaptel.o was compiled for kernel version 2.4.20-8custom
    while this kernel is version 2.4.20-8.

/lib/modules/2.4.20-8/misc/zaptel.o: insmod /lib/modules/2.4.20-8/misc/zaptel.o failed
/lib/modules/2.4.20-8/misc/zaptel.o: insmod wctdm failed

      I also try the following :

      cd /usr/src/linux-2.4.20-8
      make mrproper
      cp /boot/config-2.4.20-8  .config
      make clean
      make oldconfig
      make dep
     But this doesn't repair above problem !!!
      
     Please help me !!!