Adit 600 setup

Comment on Asterisk hardware channel bank check
Joined: Sat 13 of Nov, 2004

Adit 600 setup

Posted:Thu 16 of Jun, 2005 (21:08 UTC)
The purpose of this document is to help in the configuration of an Adit 600 Channel bank with Asterisk.

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

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:


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
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.