(Page 1 of 1 in this chapter) Version


Chapter 6

AG 4000C Switching


6.1 Introduction
6.2 AG 4000C Switch Model
6.2.1 Lucent T8100A Switch Blocking
6.3 T1 Trunk Channels and H.110 Timeslots
6.3.1 T1 Channels/Timeslots for Channel Associated Signaling
6.3.2 T1 Channels/Timeslots for Common Channel Signaling
6.3.3 T1 Channels and Timeslots for RAW Mode
6.4 E1 Trunk Channels and Timeslots
6.4.1 E1 Signaling for Channel Associated Signaling
6.4.2 E1 Signaling/Timeslots for Common Channel Signaling
6.4.3 E1 Channels and Timeslots for RAW Mode
6.5 Default Connections for Standalone Board
6.6 Using CT Access Switch Commands
6.6.1 Configuring Framer Parameters
6.6.2 Configuring Channel Parameters
6.6.3 Retrieving Local Device Information

6.1 Introduction

This chapter:

Refer to Getting Started With MVIP Switching for more information about switching.

6.2 AG 4000C Switch Model

Figure 28 shows the AG 4000C switch model. The specific use of each stream is as follows:
H.110 Streams

H.110 Bus

Streams 0..31, timeslots 0..127

(Streams clocked at 8 MHz)

Local Streams

Trunk Voice Information

Trunk 1: Streams 0 and 1, timeslots 0..23 (or 29)

Trunk 2: Streams 4 and 5, timeslots 0..23 (or 29)

Trunk 3: Streams 8 and 9, timeslots 0..23 (or 29)

Trunk 4: Streams 12 and 13, timeslots 0..23 (or 29)

(With AG 4000C Ts, timeslots 0..23 are present. With AG 4000C Es, timeslots 0..29 are present.)

Trunk Signaling Information

Trunk 1: Streams 2 and 3

Trunk 2: Streams 6 and 7

Trunk 3: Streams10 and 11

Trunk 4: Streams 14 and 15

The timeslots used for the signaling information depend on the board type (T1 or E1) and the board configuration (DigitalMode). For more information, refer to Section 6.3.

DSP Voice Information

Streams 16 and 17, timeslots 0..127

DSP Signaling Information

Streams 18 and 19, timeslots 0..127

HDLC controllers

Trunk 1: Streams 20 and 21

Trunk 2: Streams 22 and 23

Trunk 3: Streams 24 and 25

Trunk 4: Streams 26 and 27

A switch connection must be made to connect the appropriate signaling stream to the HDLC controller.

Figure 28. AG 4000C Switch Model

6.2.1 Lucent T8100A Switch Blocking

The AG 4000C board switching is implemented by the Lucent T8100A chip (HMIC). The Lucent T8100A can perform local bus to local bus switching in full non-blocking fashion.

The number of H.110 connections are limited to a maximum of 128 full duplex or 256 simplex (or half duplex) connections, in any combination, from either:

6.3 T1 Trunk Channels and H.110 Timeslots

The AG 4000C T boards place the voice and signaling information from the T1 trunk in timeslots in local streams. The actual streams used depend upon how the DigitalMode keyword is set in the AG configuration file (refer to Chapter 3).

6.3.1 T1 Channels/Timeslots for Channel Associated Signaling

If DigitalMode=CAS (its default setting), information is routed to accommodate a T1 channel associated signaling configuration, where:

On the local bus, this information is presented as follows:

6.3.2 T1 Channels/Timeslots for Common Channel Signaling

If DigitalMode=PRI, signaling information is routed to accommodate the T1 ISDN common channel signaling configuration, where:

The AG 4000C T boards route this information as follows:

  • All signaling information from channel 23 (the D channel) is placed on the local bus in timeslot 0 in the following streams:

    • Trunk 1 - stream 2 and stream 3

      
      
    • Trunk 2 - stream 6 and stream 7

      
      
    • Trunk 3 - stream 10 and stream 11

      
      
    • Trunk 4 - stream 14 and stream 15

      
      Switch connections should be made to connect these streams to the HDLC controllers, which processes the D channel information from each frame.
      Figure 30. Connecting T1 Timeslots (PRI Mode)

    • 6.3.3 T1 Channels and Timeslots for RAW Mode

      If DigitalMode is set to RAW, information is routed to accommodate a configuration where no D channel is present on the T1 trunk (refer to Section 5.4.1, T1 Framing):

      The AG 4000C T boards route this information as follows (refer to Figure 31):

    • Any signaling information is ignored.

      
      
      
      
      Figure 31. Connecting T1 Timeslots (RAW Mode)

    • 6.4 E1 Trunk Channels and Timeslots

      With AG 4000C E boards, DigitalMode only affects how signaling information is routed. Regardless of the DigitalMode setting, the AG-E1 routes the voice information as follows:

      Figure 32 illustrates how voice channel data is assigned to timeslots:

      Figure 32. Connecting E1 B Channels to Timeslots

      6.4.1 E1 Signaling for Channel Associated Signaling

      If DigitalMode=CAS (the default setting), signaling information is routed to accommodate an E1 channel associated signaling configuration, where E1 channel 16 carries signaling information for all other channels. The signaling information is broken out and placed on the corresponding signaling stream for that trunk. The signaling information is in the following streams:

      The signaling information is placed in the same timeslot number as the voice information for that channel.

      Figure 33 illustrates how signaling data is distributed:

      Figure 33. Breaking Out Signaling Information From E1 Stream 16 (CAS Mode)

      6.4.2 E1 Signaling/Timeslots for Common Channel Signaling

      If DigitalMode=PRI, signaling information is routed differently to accommodate an ISDN common channel signaling configuration, where CCS signaling packets are transmitted in channel 16 instead of CAS bits. All signaling information from channel 16 is placed directly into timeslot 0:

      If EnableMVIP=YES, switch connections must be made to connect these streams to the HDLC controllers, which processes the D channel information from each frame.

      Figure 34. Routing E1 Stream 16 Data To HDLC Controller (PRI Mode)

      6.4.3 E1 Channels and Timeslots for RAW Mode

      If DigitalMode is set to RAW:

      The AG 4000C E routes this information as follows (refer to Figure 35):

    • Any signaling information is ignored.

      
      
      
      
      Figure 35. Connecting E1 Timeslots (RAW Mode)

    • 6.5 Default Connections for Standalone Board

      For a standalone AG 4000C board, disable H.110 connectivity in the AG configuration file (EnableMVIP=NO). Default connections are made on AG 4000C boards to connect the voice and signaling information to DSP resources. The exact settings depend upon the setting of DigitalMode, as shown in this table:
      DigitalMode

      Default Routing for AG 4000C T Boards

      CAS

      Full duplex connection between trunk voice information and DSP resources:

      Trunk 1: 0:0..23 => 17:0..23, 16:0..23 => 1:0..23

      Trunk 2: 4:0..23 => 17:24..47, 16:24..47 => 5:0..23

      Trunk 3: 8:0..23 => 17:48..71, 16:48..71 => 9:0..23

      Trunk 4: 12:0..23 => 17:72..95, 16:72..95 => 13:0..23

      Full duplex connection between trunk signaling information and DSP resources:

      Trunk 1: 2:0..23 => 19:0..23, 18:0..23 => 3:0..23

      Trunk 2: 6:0..23 => 19:24..47, 18:24..47 => 7:0..23

      Trunk 3: 10:0..23 => 19:48..71, 18:48..71 => 11:0..23

      Trunk 4: 14:0..23 => 19:72..95, 18:72..95 => 15:0..23

      PRI

      Full duplex connection between trunk voice information and DSP resources:

      Trunk 1: 0:0..22 => 17:0..22, 16:0..22 => 1:0..22

      Trunk 2: 4:0..22 => 17:24..46, 16:24..46 => 5:0..22

      Trunk 3: 8:0..22 => 17:48..70, 16:48..70 => 9:0..22

      Trunk 4: 12:0..22 => 17:72..94, 16:72..94 => 13:0..22

      Note: timeslots 23, 47, 71, and 95 are unused on streams 16 and 17.

      Full duplex connection between HDLC controller and the signaling streams. This is done because the runfile can only access information on these streams:

      Trunk 1: 2:0 => 21:0, 20:0 => 3:0

      Trunk 2: 6:0 => 23:0, 22:0 => 7:0

      Trunk 3: 10:0 => 25:0, 24:0 => 11:0

      Trunk 4: 14:0 => 27:0, 26:0 => 15:0

      RAW

      Full duplex connection between trunk voice information and DSP resources:

      Trunk 1: 0:0..23 => 17:0..23, 16:0..23 => 1:0..23

      Trunk 2: 4:0..23 => 17:24..47, 16:24..47 => 5:0..23

      Trunk 3: 8:0..23 => 17:48..71, 16:48..71 => 9:0..23

      Trunk 4: 12:0..23 => 17:72..95, 16:72..95 => 13:0..23

      DigitalMode

      Default Routing for AG 4000C E Boards

      CAS

      Full duplex connection between the trunk voice information and the DSP resources:

      Trunk 1: 0:0..29 => 17:0..29, 16:0..29 => 1:0..29

      Trunk 2: 4:0..29 => 17:30..59, 16:30..59 => 5:0..29

      Trunk 3: 8:0..29 => 17:60..89, 16:60..89 => 9:0..29

      Trunk 4: 12:0..29 => 17:90..119, 16:90..119 => 13:0..29

      Full duplex connection between trunk signaling information and the DSP resources:

      Trunk 1: 2:0..29 => 19:0..29, 18:0..29 => 3:0..29

      Trunk 2: 6:0..29 => 19:30..59, 18:30..59 => 7:0..29

      Trunk 3: 10:0..29 => 19:60..89, 18:60..89 =>11:0..29

      Trunk 4: 14:0..29 => 19:90..119, 18:90..119 => 15:0..29

      PRI

      Full duplex connection between the trunk voice information and the DSP resources:

      Trunk 1: 0:0..29 => 17:0..29, 16:0..29 => 1:0..29

      Trunk 2: 4:0..29 => 17:30..59, 16:30..59 => 5:0..29

      Trunk 3: 8:0..29 => 17:60..89, 16:60..89 => 9:0..29

      Trunk 4: 12:0..29 => 17:90..119, 16:90..119 => 13:0..29

      Full duplex connection between HDLC controller and the signaling streams. This is done because the runfile can only access information on these streams:

      Trunk 1: 2:0 => 21:0, 20:0 => 3:0

      Trunk 2: 6:0 => 23:0, 22:0 => 7:0

      Trunk 3: 10:0 => 25:0, 24:0 => 11:0

      Trunk 4: 14:0 => 27:0, 26:0 => 15:0.

      RAW

      Full duplex connection between trunk voice information and DSP resources:

      Trunk 1: 0:0..30 => 17:0..30, 16:0..30 => 1:0..30

      Trunk 2: 4:0..30 => 17:31..61, 16:31..61 => 5:0..30

      Trunk 3: 8:0..30 => 17:62..92, 16:62..92 => 9:0..30

      Trunk 4: 12:0..30 => 17:93..123, 16:93..123 => 13:0..30

      
      
      
      You may wish to change this default routing so the board can interoperate with other boards connected to it over the H.110 bus. To do so, enable switching in the AG configuration file (EnableMVIP=YES).

      With switching enabled, there is no default routing. You must control the routing using CT Access Switching service commands.

      6.6 Using CT Access Switch Commands

      Switching on the AG 4000C board is controlled by the CT Access Switching service. The Switching service provides standard switching functions such as making and breaking switch connections, configuring the bus clocks, and sending patterns.

      The Switching service also provides a mechanism for configuring a board's local streams and timeslots. The local configuration data is vendor and device-driver specific. For the AG 4000C boards, the framer and channel parameters are configurable.

      Refer to the Switching Service Developer's Reference Manual for all Switching service API commands.

      6.6.1 Configuring Framer Parameters

      swiConfigLocalStream and swiGetLocalStreamInfo are used to configure and retrieve information about a specified trunk. The SWI_LOCALSTREAM_ARGS structure passed to the command specifies the parameterid of the device driver structure. The parameterid for the trunk data structure and the data structure definition is the following:

      #define NMS_FRAMER_CONFIG           0x80000001
      #define MVIP95_T1_TRUNK_DEVICE           0x00000000
      #define MVIP95_E1_TRUNK_DEVICE           0x00000001
      
      struct nms_config_framer_parms 
      {
        DWORD size;      /* size of the structure in bytes                  */
        DWORD trunk;      /* specifies the 0 based trunk number             */
        DWORD frame_type;      /* specifies the framing:        DT_D4 0    */
              /*        DT_ESF 1    */
              /*         DT_CEPT 2    */
        DWORD line_code;      /* specifies line code:        DT_AMI 0    */
      /* DT_B8ZS 1 */
      /* DT_AMI_ZCS 2 */
      DWORD debounce; /* specifies whether the device should */
      /* perform 6-9 ms debouncing of the A and */
      /* B signaling bits. A value of 1 */
      /* enables debouncing. */
      }
      The deviceid field of the SWI_LOCALSTREAM_ARGS structure should be set to either MVIP95_T1_TRUNK_DEVICE or to MVIP95_E1_TRUNK_DEVICE.

      6.6.2 Configuring Channel Parameters

      swiConfigLocalTimeslot and swiGetLocalTimeslotInfo configure and retrieve information about a specified trunk channel. The SWI_LOCALTIMESLOT_ARGS structure passed to the command specifies the parameterid of the device driver structure. The parameterid for the trunk channel data structure and the data structure definition is the following:

      #define NMS_CHANNEL_CONFIG           0x80000002
      #define MVIP95_T1_TRUNK_DEVICE           0x00000000
      #define MVIP95_E1_TRUNK_DEVICE           0x00000001
      
      struct nms_config_channel_parms 
      {
        DWORD size;     /* size of the structure in bytes               */
        DWORD trunk;     /* specifies the zero based trunk number             */
        DWORD channel;     /* specifies the zero based channel number             */
        DWORD invert;     /* 1 = invert signal; 0 = do not invert             */
        WORD loopback;     /* 1 = loopback the channel; 0 = do not             */
             /* loopback             */
        DWORD robbedbit;     /* 1 = robbed bit signaling used; 0 clear
      /* channel signaling is used */
      }
      The deviceid field of the SWI_LOCALTIMESLOT_ARGS structure should be set to either MVIP95_T1_TRUNK_DEVICE or to MVIP95_E1_TRUNK_DEVICE.

      6.6.3 Retrieving Local Device Information

      swiGetSwitchCaps returns information about the device driver including any local devices. The local devices are specified by the localdevs parameter which is an array of SWI_LOCALDEVICE_DESC data structures. The SWI_LOCALDEVICE_DESC data structure includes a deviceid parameter to specify the local devices. The following is a list of local devices for an AG 4000C board:

      #define NMS_ISDN_HDLC_DEVICE           0x80000001
      #define NMS_TASK_PROCESSOR_DEVICE           0x80000002
      #define NMS_NULL_DEVICE           0xFFFFFFFF
      #define MVIP95_T1_TRUNK_DEVICE           0x00000000
      #define MVIP95_E1_TRUNK_DEVICE           0x00000001
      
      



      (Page 1 of 1 in this chapter) Version


      tech_support@nmss.com
      Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.