Asterisk hardware channel bank check
Created by: JustRumours,Last modification on Mon 29 of Aug, 2005 [02:41 UTC] by getrav
Considerations for buying a channel bank
Channel banks are typically employed if you need to connect ~5-16 analog phones since that is the most cost effective solution. So, if you're looking for a channel bank to interface phones with Asterisk, then the important keywords would include "2-wire", "disconnect supervision", "fx lines", etc. Might also ensure it can supply the needed 100 vac ringing voltage (historically referred to as a ring generator).
Q: Can modern channel banks handle translating all the "new" analog signaling features into a T-1 format? For example, can it interpret the 1200 baud FSK caller ID stream that is inserted between the first and second ring and translate that into digital caller ID delivery out the RJ-45 port?
A: Yes, that is indeed an issue you need to watch out for!
Checklist
- Caller ID
- Caller ID call waiting
- distinctive rings
- call waiting
- analog 3-way calling (flash hook)
- analog call transfer (3-way call w/hang up)
- stutter dial-tone (message waiting)
- Transmit FSK on idle channels (Message waiting FSK Msg)
- far end disconnect supervision on FXO cards
- echo echo echo echo echo: some like the ADIT 600 have a feature called dynamic impedance matching which really seems to fix this cause of echo at the source
- RF interference: I have had my local AM radio station play on my FXO cards :)
- Flexibility: how do you expand - in groups of 2,4,8,12 or are they fixed at 24 ports (FXS or FXO)
- Support: Some vendors - if buying in the after market - will plain not support used gear, while others will only provide support usually equal in value to what you pay for the channel bank even if its only a manual you want
- Price :-)
Notes
4-7 are handled by most products- YOU NEED TO SEE THE COMMENTS*** by lytledd. It gives you a step by step on how to setup the channel bank.
Go back to Asterisk hardware

Comments
333Adit 600 setup
Equipment setup and tested with:
1). (1) Adit 600 (eBay)
2). (1) Dual TDM T1 controller (Included with the Adit)
3). (2) FXO 8 port PSTN cards (Again eBay)
4). (1) FXS 8 port POTS card (eBay)
5). Personal laptop with serial port
6). Female to Female serial cable
7). HyperTerminal
Initial setup
For my testing, I've placed the 2 FXO cards into slot 1 and 2 of the adit. The FXS card is in slot 3.
Connect the serial cable from the Adit to the serial port on your laptop (Or desktop for that matter)
Set up serial connection to speed 9600bps. 8N1
Pressing enter should get you to the interface. My units are new so there was no username or password.
To start fresh with this Adit, I wanted to restore it to factory defaults. I did this by typing restore defaults and then reset. It will prompt you with the (are you sure) prompt. Press Y.
If you prefer to configure the channel bank via the console interface, type set local off, otherwise the dipswitches on each card will configure it. I decide to configure via the console.
The following is my default configuration, after resetting my Adit.
show a:1
SLOT A:
Settings for DS1 1:
Circuit ID: CAC DS1# A:1
Up/Down: UP
Framing: ESF
Line Coding: B8ZS
Line Build Out: DSX-1 EQUALIZATION FOR 0-133 ft. (CSU 0dB)
Loop Code Detection: ON
Loopback: OFF
FDL Type: None
Since my default framing and line coding for Asterisk is identical to the defaults, I had very little to change.
I am setting up 16 FXO channels as ground start and 8 FXS channels as loop start. I discovered via the Asterisk mailing list that if you set your FXO channels as ground start, you would have fewer difficulties with hang-up detection. (NOTE: You must have Ground Start service on the lines you want this on.)
The following needs to be typed to shut down both the primary and secondary T1 interfaces on the TDM controller.
Set a:1 down
Set a:2 down
The TDM controller is in slot a, hence a:1 and a:2
Next, we need to disconnect all the channel mapping that may be in place.
Disconnect a
Now the channel types need to be defined. We'll set the first 23 channels as voice and the 24th channel as data with the following:
Set a:1:1-24 type voice
Set the signaling for the 16 FXO channels to ground start:
Set a:1:1-16 signal gs
And set the 7 FXS channels to loop start:
Set a:1:17-24 signal ls
Next, we set each 8-channel card to the proper signaling. We have cards in slots 1, 2 and 3. FXO, FXO, FXS. So, 16 channels as ground start with the following:
Set 1:1-8 signal gs
Set 2:1-8 signal gs
And, the last 8 with loop start:
Set 3:1-8 signal ls
Since this Adit can have 2 T1 lines attached, we need a way to map each 8-port card to the proper T1 interface. This is done with the connect command.
Since I only have one T1, I'll only be using a:1 (Slot A, 1st controller). We need to connect 8 channels from the 1st card, 8 channels from the 2nd card and 8 channels from the 3rd card (24 voice). Type the following:
Connect a:1:1-8 1:1-8
Connect a:1:9-16 2:1-8
Connect a:1:17-24 3:1-8
I will also be getting Asterisk's timing from the Adit, so I need to make sure the clock source is internal. Type the following:
Set clock1 internal
And, finally we bring the interface online with:
Set a:1 up
If you have your signaling setup properly between the Asterisk box and the Adit, you should see no lights on the 1st 16 channels and green lights on the last 8 channels. The 1st 16 channels will light up green when you have punched down your PSTN lines to the punch block.
The last 8 will turn yellow when a POTS line is in use.
Here is the status of my 3 cards:
> status 1
FXO Rx AB Tx AB Signal=>T1 Sig T1 TP
1:1 01 01 GS => GS Traffic N
1:2 01 11 GS => GS Traffic N
1:3 01 11 GS => GS Traffic N
1:4 01 11 GS => GS Traffic N
1:5 01 11 GS => GS Traffic N
1:6 01 11 GS => GS Traffic N
1:7 01 11 GS => GS Traffic N
1:8 01 11 GS => GS Traffic N
> status 2
FXO Rx AB Tx AB Signal=>T1 Sig T1 TP
2:1 01 11 GS => GS Traffic N
2:2 01 11 GS => GS Traffic N
2:3 01 11 GS => GS Traffic N
2:4 01 11 GS => GS Traffic N
2:5 01 11 GS => GS Traffic N
2:6 01 11 GS => GS Traffic N
2:7 01 11 GS => GS Traffic N
2:8 01 11 GS => GS Traffic N
> status 3
FXS Rx AB Tx AB Signal=>T1 Sig T1 TP
3:1 01 01 LS => LS Traffic N
3:2 01 01 LS => LS Traffic N
3:3 01 01 LS => LS Traffic N
3:4 01 01 LS => LS Traffic N
3:5 01 01 LS => LS Traffic N
3:6 01 01 LS => LS Traffic N
3:7 01 01 LS => LS Traffic N
3:8 01 01 LS => LS Traffic N
My Zaptel.conf is:
span=1,1,0,esf,b8zs
fxsgs=1-16
fxols=17-24
defaultzone=us
loadzone=us
And, Zapata.conf:
switchtype = national
context = incoming
nsf = megacom
signalling = fxs_gs
channel => 1-16
busydetect = yes
overlapdial = yes
group = 1
switchtype = national
context = analog_phones
nsf = megacom
signalling = fxo_ls
busydetect=yes
channel => 17-24
overlapdial = yes
I have this system currently running in one of our facilities and will be setting up another some time in December of 2006, please contact me at:
support (AT) drdos (DOT) info for comments, questions or corrections.