Asterisk and Digium TDM400P

Hi all,

I want to install Digium Zaptel TDM400P 22B.
My PC is a CentOS Operation System with Kernel 2.6.9-42.0.3.ELsmp.
I download zaptel-1.2.13.tar.gz but it doesn’t work and this is my error:

You do not appear to have the sources for the 2.6.9-42.0.3.ELsmp kernel installed

How can I do?
What’s the zaptel version to dowload?

Thanks

You have to install the kernel sources.

Thank,

how can I install it? Now I am working with asterisk and linux.

Pasquy

try
yum install kernel kernel-devel

Hi all, I have install a digium and its drivers. All ok and console display:

[code]Zaptel Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

4 channels configured.[/code]

My configuration files are:

[code]zapata.conf

[channels]

context = mycontext
usecallerid = yes
idecallerid = no
immediate = no

signalling = fxo_ks
echocancel = yes
group = 1
channel = 1

signalling = fxo_ks
echocancel = yes
group = 1
channel = 2

signalling = fxs_ks
callerid = Name1 <200>
echocancel = yes
group = 2
channel = 3

signalling = fxs_ks
callerid = Name2 <201>
echocancel = yes
group = 2
channel = 4

zaptel.conf

fxsks=3-4
fxoks=1-2

extensions.conf

exten => 1200,1,Dial(Zap/3)
exten => 1200,n,Hangup[/code]

Now I have an analogic telephon to prove fxs channel and it not works; but it works with Dial(Zap/1) or Dial(Zap/2) into channel 1 or 2 and not into 3 channel. Why?

I have note that when I link the telephone on my digium, channels 1 and 2 are connected while channels 3 or 4 are not connected.

When start zaptel I’m start a modules zaptel, wcfxs, wcfxo. When I display modules with lsmod I have:

Module used by wcfxo 0 wctdm 0 zaptel 2 wcfxo,wctdm

Must be display wcfxo too?
What is my problem?

Excuse for my english!!!
Thanks

according to the above setup, you have two FXO ports and two FXS ports.

First remember that FXS ports must be defined with fxoks signalling, and FXO ports need fxsks signalling.

But the reason two ports work and two don’t is because FXO ports won’t supply dialtone or ringing. FXO ports are there to let asterisk use an existing phone line. Thus a standard analog phone plugged into it will do nothing.

Excuse me,
my digium is a TDM400P 22B.

Now I want use my digium with PSTN, what is the configuration?
Must I use the channel 3 and 4?

Thanks

yes 22b- 2 fxo 2 fxs. You have two green modules and two red modules, right?

edit: FXO modules (red) you plug into analog phone lines, presumably your PSTN lines coming in from your telco.

FXS modules (green) plug in your analog telephones, and you will get dialtone from them. They are your extensions.

Yes my digium is like at photo at link:

voipshop.it/voipshop/index.p … &Itemid=35

with 2 FXO and 2 FXS