Install TDM400P and TE110P into one PC

Hello!

Could you please let me know how to install and configure TDM400P (2 FXS) and TE110P (PRI) into one PC?
My PC has 2 PCI slots.
Then I’d like to use TE110P as an ISDN PRI interface and let 2 FXS interfaces and 1 PRI interface work on one PC at same time.

I have a difficulty to edit /etc/zaptel.conf and /etc/asterisk/zapata.conf.
Especially, I couldn’t get how to define the span number for each hardware and which channel number should be for PRI D-channel.

Thanks in advance and Best Regards,
Mizuki

Hi,

install them both in the box, it does not matter what PCI slot or what order.
Then do a ‘cat /proc/zaptel’ , that will tell you in what order Linux and Asterisk see the channels. Then configure your zaptel and zapata accordingly.

to add- figure out which one comes up first. the second one starts after that channel.

say you have a TDM400 with two FXS and a TE110 with a PRI, and the TDM400 loads first.
channel 1-2 will be fxs (fxo_ks signalling)
channel 3-4 will be nothing (unused slots on the TDM400
channel 5-whatever will be the TE110

same thing in reverse, if the TE110 loads first then the first 24 channels are the pri and the next 4 after that are the tdm400

Dear Asterisk Guys,

Thank you very much for your help.
Your informations are very helpful for me.

I have done “cat /proc/zaptel” command as you advised.
The output for it was like this.

[root@localhost ~]# cat /proc/zaptel/1
Span 1: WCT1/0 “Digium Wildcard TE110P T1/E1 Card 0”

       1 WCT1/0/1
       2 WCT1/0/2
       3 WCT1/0/3
       4 WCT1/0/4
       5 WCT1/0/5
       6 WCT1/0/6
       7 WCT1/0/7
       8 WCT1/0/8
       9 WCT1/0/9
      10 WCT1/0/10
      11 WCT1/0/11
      12 WCT1/0/12
      13 WCT1/0/13
      14 WCT1/0/14
      15 WCT1/0/15
      16 WCT1/0/16
      17 WCT1/0/17
      18 WCT1/0/18
      19 WCT1/0/19
      20 WCT1/0/20
      21 WCT1/0/21
      22 WCT1/0/22
      23 WCT1/0/23
      24 WCT1/0/24
      25 WCT1/0/25
      26 WCT1/0/26
      27 WCT1/0/27
      28 WCT1/0/28
      29 WCT1/0/29
      30 WCT1/0/30
      31 WCT1/0/31

[root@localhost ~]#
[root@localhost ~]# cat /proc/zaptel/2
Span 2: WCTDM/0 “Wildcard TDM400P REV E/F Board 1”

      32 WCTDM/0/0
      33 WCTDM/0/1
      34 WCTDM/0/2
      35 WCTDM/0/3

[root@localhost ~]#

You can find that Span 1 is TE110P (T1/E1) and Span 2 is TDM400P.

So we need to edit /etc/zaptel.conf file like this.
If TE110P (Span 1) card driver were first loaded;

span=1,0,0,esf,b8zs
bchan=1-15,17-24
dchan=16
loadzone=jp
defaultzone=jp

fxols=32-33
loadzone=jp
defaultzone=jp

We should notice TE110P supports E1 interface so that channel 1-31 have been already reserved for it. Then the channel number for TDM400P should start from 32. And the more, we should notice that 16th channel for TE110P has been reserved for D-channel for E1 interface.

Otherwise, if TDM400P (Span 2) card driver were first loaded;

span=2,0,0,esf,b8zs
bchan=5-19,21-28
dchan=20
loadzone=jp
defaultzone=jp

fxols=1-2
loadzone=jp
defaultzone=jp

To summarize, we need to know which span number should be assigned to each card and edit /etc/zaptel.conf file properly.

What do you think about it?

If you have any more further infomation about this, could you please let me know?

Thanks in advance and Best Regards
Mizuki

Dear Asterisk Guys,

We can change the D-channel number for PRI interface by adding “trunkgroups” to /etc/asterisk/zapata.conf file.

I editted the /etc/zaptel.conf files like this and loaded the TE110P(E1/T1) card driver first.

span=1,0,0,esf,b8zs
bchan=1-23
dchan=24
loadzone=jp
defaultzone=jp

fxols=32-33
loadzone=jp
defaultzone=jp

I entered the following four commands.

modprobe zaptel
modprobe wcte11xp
modprobe wctdm
ztcfg -vvvv

And then, I added three lines to /etc/asterisk/zapata.conf file like this.

[trunkgroups]
trunkgroup=>1,24
spanmap=>1,1,1

And I changed “channel” for PRI in /etc/asterisk/zapata.conf like this.

channel=>1-23

Then I entered command “asterisk -vvvvvvvvvvvvvvvvvc”.
The module “chan_zap.so” should have been loaded properly.

Thanks in advance and Best Regards,
Mizuki