Reference

cfgft1(8)

Sangoma S508/FT-1 Configuration utility

NAME

cfgft1 - Sangoma S508/FT-1 Configuration utility

SYNOPSIS

cfgft1 [ -p HexPortNumber ] [ -m HexMemAddr ]

DESCRIPTION

The S508/FT-1 (Fractional T1) is Sangoma S508 adapter with an integrated CSU/DSU unit. The S508/FT-1 is used to connect data terminal equipment to the T1 (1.544 Mbps) or Fractional T1 digital telephone network. This unit performs all Bell compatible encoding, decoding, timing and diagnostic responses.

The cfgft1 utility loads the card and then allows the user to pass configuration commands to the adapter. The following are the options needed for loading the card:

-p HexPortNumber

The HexPortNumber represents the IO port of the card. Please ensure that the IO port specified matches the jumper settings on the board. If this option is not used then the utility tries to initialize the card at 0x360 (factory default setting).

-m HexMemAddr

The HexMemAddr represents the Memory Address the utility uses to configure the card at. If this option is not used then the utility tries to intialize the 0xD0000 memory area. Valid memory addresses are: 0xA0000,0xA2000...0xAE000 / 0xC0000,0xC2000...0xCE000 / 0xD0000,0xD2000...0xDE000 / 0xE0000, 0xE2000... 0xEE000

Once the card has been loaded and intialized you are now ready to configure the

S508/FT-1 card.

The Sangoma S508/FT-1 DSU has three memory banks:

1. The factory default.

2. The user configured bank.

3. The scratch pad (working memory).

To check the current settings (bank settings), type D0 <ENTER>. Configuration changes are made as follows:

1. Type C <ENTER> to open the configuration mode.

2. Change the required settings.

3. After making these changes, type D1 <ENTER> to see the temporary configuration bank.

4. If these changes are correct, then type W<ENTER> to write the configuration to the non-volatile memory.

5. Type Q <ENTER> to exit the configuration mode.

Commands

+n Add channel n (where n is 1-24) to the active list

-n Delete channel n (where n is 1-24) from the active list

M0 Set framing mode to ESF (Extendedsuper Frame)

M1 Set framing mode to D4

K0 Set encoding mode to B8ZS

K1 Set encoding mode to AMI

L0 Set line build out to CSU (0db) or DSX-1 (0-133ft)

L1 Set line build out to DSX-1 (133 - 266ft)

L2 Set line build out to DSX-1 (266 - 399ft)

L3 Set line build out to DSX-1 (399 - 533ft)

L4 Set line build out to DSX-1 (533 - 655ft)

L5 Set line build out to CSU (-7.5 db)

L6 Set line build out to CSU (-15 db)

L7 Set line build out to CSU (-22.5 db)

P0 Set clock mode to normal (SLAVE)

P1 Set clock mode to master (LDM mode only)

W Write configuration to non-volatile memory

F Get factory default configuration

Q Exit configuration mode and move temporary (scratch pad) configuration to default configuration

D0 Display actual configuration

D1 Display configuration in temporary memory

E0 Unit does not echo commands sent to it

E1 Unit echos back commands sent to it

T0 User test modes enabled

T1 User test modes disabled

NB: Whenever you have finished your changes, you MUST do a WQ in order for them to "take". After that do a D0 to check that the changes have, indeed been written to permanent memory.

EXAMPLES

The following are few examples to illustrate the different usage of the cfgft1 command:

cfgft1

: This tries to initialize the card at IO port 0x360 and memory D0000.

cfgft1 -p0x350

: This tries to initialize the card at IO port 0x350 and memory 0xD0000.

cfgft1 -m0xE0000

: This tries to initialize the card at IO port 0x360 and memory0xE0000.

cfgft1 -p0x350 -m0xE0000

: This tries to initialize the card at IO port 0x350 and memory 0xE0000.

Configuring S508/FT-1 example.

Required configuration: Channels 1-3 disabled, channels 22 and 23 enabled Line build set to DSX-1 (399 - 533ft) ESF framing mode Clock mode to normal (slave)

Type: C-1-2-3+21+22K0L3M0P0D1WQ<ENTER>

OR

C<ENTER> Open configuration mode

-1-2-3<ENTER> Remove channels 1, 2 and 3 from the active list

+21+22 <ENTER> Add channels 21 and 22 to the active list

K0<ENTER> Set the encoding mode to B8ZS

L3<ENTER> Set the line build out to DSX-1 (399 - 533ft)

M0<ENTER> Set the framing to ESF

P0<ENTER> Set the clock mode to normal

D1<ENTER> Display the temporary configuration before saving

W<ENTER> Update the user memory

Q<ENTER> Close the configuration mode

If you are adding or removing many D0 channels, break up the command into 2 or more commands, as the command line buffer has limited length. For instance, to drop the line speed to 128kbps, you need to remove channels 3 to 24.

Do:

C<ENTER>

-3-4-5-6-7-8-9-10-11<ENTER>

-12-13-14-15-16-17-18-19-20-21-22-23-24<ENTER>

WQ<ENTER>

D0<ENTER>

and the correct configuration should be shown. ALSO PLEASE REBOOT THE MACHINE AND RUN CFGFT1 UTILITY AGAIN WITH D0 COMMAND TO VERIFY THE CONFIGURATION.

PINOUTS

RJ-48-s Telco Connector

4 TTIP Transmit

5 TRING Transmit

1 RTIP Receive

2 RRING Recieve

For back-to-back connections, cross connect:

Side 1 Side 2

Red Grey

Green Orange

Grey Red

Orange Green

AUTHOR

Jaspreet Singh <[email protected]>, Sangoma Technologies Inc., www.sangoma.com