Zaptel.conf explanation

Hello,

I have been looking at the Zaptel.conf file after having recently bought a Digium TE405P phone card. But I am completely confused as to what the functions in Zaptel.conf do.

At the wiki I see all kinds of examples, but I have no idea why those options are selected

This for instance

span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31

I would really likt to know what everything does and what the values behidn it mean, anybody here that can help me out?

I believe the sample file explains all of this. Anyways

span=1,1,0,ccs,hdb3,crc4

Field Number:
1: Span number. Since you have a 4 port card this could be 1, 2, 3, or 4
2: Timing field, 1 = take timing from telco, 0 = provide our own timing
3: Line Build out: how far your cable length needs to be. Value of 0 means it’s within 133 FT.
4: Line Framing
5: Line Coding
6: Error checking

Hopefully that makes sense.

Okay I understand SPAN now, but what are bchan and dchan? I’m a total noob with these things…

Also I don’t know if it makes a big difference in the configuration but we have BRI here instead of PRI, does that change anything in the configuration?

Edit: I’m also a bit confused about something else

When looking at the Wiki I see this:

[i]
he configuration settings established in zaptel.conf are:

  1. An identification number for a TDM-related card that will be used in extensions.conf (also known as the “dialplan”) to refer to a specific interface card. Each TDM-related card must be assigned a unique number. [/i]

When looking through everything below I see nothing that makes you define a number for your card, at least nothing I can link with the card… How do I do this? Or what is this number in the first place?

bchan = B channels (voice channels)
dchan = D channels (signaling channel)

PRI and BRI both use B channels and a D channel. The configuration for a BRI card such as the B410P is much different.

The wiki is just talking about the channels for a TDM card. I think.

bchan=1-15
dchan=16
bchan=17-31

This relates to E1 aka ISDN30.

Channels 1-15 are used for voice, 16 for signalling and 17-31 for voice.

Naturally, this would be a little different if you were configuring a T1 etc.