Table of Contents Index NMS Glossary Previous Page Next Page Version


Chapter 1

Introduction


1.1 Introduction
1.2 Integrated Services Digital Network (ISDN)
1.2.1 ISDN Protocols and Protocol Layering
1.2.2 Information Exchange Between Layers
1.2.3 ISDN Carriers
1.2.4 ISDN Functional Devices and Reference Points
1.3 AG ISDN Software
1.3.1 AG ISDN Product Configurations
1.3.2 AG ISDN ACU Configuration
1.3.3 The AG ISDN LAPD Configuration
1.3.4 Reference Points Supported by AG ISDN
1.4 AG ISDN Software Components
1.4.1 The Readme File
1.4.2 The AG ISDN Function Libraries
1.4.3 ISDN Protocol Stack Downloadable Object Modules
1.4.4 The Configuration File
1.4.5 The Demonstration Programs and Utilities
1.5 Other Components
1.5.1 About CT Access
1.6 Developing an AG ISDN Application

1.1 IntroductionTop of Page

The AG ISDN Messaging API Developer's Reference Manual provides the following:

The AG ISDN product exposes the ISDN primary rate protocol at three levels:

This manual concentrates on building applications that interface with the ISDN protocol stack at layers 2 and 3. For information on building applications that are integrated at higher layers, see the AG ISDN for Natural Call Control Developer's Manual.

This document is for developers of ISDN applications in C who want to program at the messaging level. The developer should be experienced with ITU Q.931 ISDN call control messages and call states. The developer should also be familiar with CT Access, basic telephony concepts, and the C programming language.

This chapter:

1.2 Integrated Services Digital Network (ISDN)Top of Page

Integrated Services Digital Network (ISDN) is a continually evolving international standard for networking a wide range of services, including voice and non-voice services. The network is completely digital, from one end to the other: voice information is digitized and sent in digital form. Signaling information is sent separately from voice information, using a method called common channel signaling (CCS).

1.2.1 ISDN Protocols and Protocol LayeringTop of Page

ISDN communications can be described at many levels, from the way bits are transferred from machine to machine to the sets of messages computers pass to one another. A scheme for communication at a certain level is called a protocol.

In the late 1970's, the International Standards Organization (ISO) established the Open Systems Interconnect (OSI) model for communication. ISDN is based on this model. In OSI, seven separate levels, or layers, of communication are defined. The first three layers, called the chained layers, are the lowest levels. The chained layers are:

Layers higher than these three are end-to-end layers. They describe how information is exchanged and delivered end-to-end. They also define process-to-process communication, and describe application-independent user services, user interfaces and applications, etc.


chap10.gif

Figure 1. OSI Protocol Layering Model


The functionality provided by a layer includes the services and functions of all of the layers below it. A Service Access Point (SAP) is the point at which a layer provides services to the layer directly above it. A unique Service Access Point Identifier (SAPI) is associated with each SAP.

1.2.2 Information Exchange Between LayersTop of Page

Cooperation between entities on the same layer is governed by a peer-to-peer protocol specific to the layer and the entity. To exchange information between two or more layer entities, a connection must be established between the layer entities using the protocol of the layer directly below. Connections are provided by a layer between two or more SAPs.

Data message units are conveyed between peer-to-peer entities at the lowest layer by means of a physical connection. Layer (n+1) requests services from layer n via primitives. These primitives allow the logical exchange of information and control between two adjacent layers.


chap11.gif

Figure 2. Message Primitives Exchanged Between Layers


Four types of primitives are exchanged between adjacent layers:

1.2.3 ISDN CarriersTop of Page

ISDN is transmitted over standard T1 and E1 carriers. T1 and E1 are typically four-wire digital transmission links. T1 is used mainly in the United States, Canada, Hong Kong, and Japan. E1 is used in most of the rest of the world.

Data on a T1 or E1 trunk is transmitted in channels. Each channel carries information digitized at 64000 bits per second (bps). For primary rate ISDN, T1 carries 24 channels. E1 carries 32 channels.

With primary-rate ISDN, the channels are usually used as follows:


chap12.gif

Figure 3. T1 Trunk (Standard Configuration)


In setups with multiple T1 ISDN trunks, a Non-Facility Associated Signaling (NFAS) configuration is often used. In this configuration, the D channel on one of the ISDN trunks carries signaling for all channels on several other trunks. This leaves channel 24 free on each of the other trunks to be used as another B channel. (See Figure 4.)


chap13.gif

Figure 4. Sample NFAS Configuration


NFAS configurations are not supported on E1 trunks. For more information about NFAS, see Appendix F.

1.2.4 ISDN Functional Devices and Reference PointsTop of Page

ISDN equipment is classified into a number of categories by international and United States domestic standards1. Among those categories are the following:

The interface between each category is called a point:

Figure 5 illustrates the component categories and associated reference points:
chap14.gif

Figure 5. ISDN Service Points and Equipment Classification

1.3 AG ISDN SoftwareTop of Page

Alliance Generation (AG) ISDN protocol software allows you to write CT Access applications that communicate with T1 or E1 trunks to perform voice processing functions and call control using ISDN Common Channel Signaling protocols.

AG ISDN software is designed to use one or more NMS digital boards (such as the CG 6000C, AG Quad, AG 4000, AG-T1, or AG-E1 boards) as the physical interface to trunk lines. In addition to line interfaces, these boards also feature powerful on-board digital signal processing (DSP) resources that can handle much of the call control and voice processing overhead.

1.3.1 AG ISDN Product ConfigurationsTop of Page

You can use AG ISDN software to access ISDN services in three ways:

Specify the configuration to use when initializing the ISDN protocol stack, as described in Section 4.4.1.

1.3.2 AG ISDN ACU ConfigurationTop of Page

The AG ISDN ACU configuration allows access to Q.931 (layer 3) call control, using the AG ISDN Messaging API. Your application can send and receive switch- and country-invariant D channel messages using this interface. Access at this level allows you direct control over D channel messages and greater control over the contents of these messages.

In this configuration (shown in Figure 6), one or more instances of the AG ISDN protocol stack run on the board, one for each D channel. The stack runs in ACU stack mode. In this mode, the protocol stack implements all ISDN layer 2 and layer 3 functionality. The application uses the AG ISDN messaging API to command an entity in the stack called the ACU, which in turn commands the D channel through the lower ISDN layers. Events received by the stack from the D channel are placed in the same event queue as other CT Access events, allowing the application to access ISDN events in the same way that other events are accessed.

B channel information is routed to the DSP resources through the board's MVIP switch. The switch has certain default behavior, described in Section 3.3. Alternatively, the switch can be controlled using the CT Access Switching service.


chap15.gif

Figure 6. AG ISDN Application Architecture (ACU Configuration)

1.3.3 The AG ISDN LAPD ConfigurationTop of Page

Access at the data link layer is useful if an application must support a private data link protocol, or if the user wishes to create a complete Q.931 protocol at the application level. At this level, the messages sent and received by the application constitute LAPD frames.

The AG ISDN protocol stack runs in LAPD stack mode, as shown in Figure 7. In this mode, the protocol stack implements ISDN layer 2 functionality. No ACU is present. Instead, the application uses the AG ISDN Messaging API to send LAPD frames directly to the data link layer (layer 2).

Events coming from the data link layer are placed in the same event queue as other CT Access events, allowing the user to access ISDN events in the same way that other events are accessed.

As in other configurations, B channel information is routed to the DSP resources through the board's MVIP switch. The switch has certain default behavior, described in Section 3.3. Alternatively, the switch can be controlled using the CT Access Switching service.


chap16.gif

Figure 7. AG ISDN Application Architecture (LAPD Configuration)

1.3.4 Reference Points Supported by AG ISDNTop of Page

The AG ISDN product supports access across the S and the T reference points (as depicted with the solid arrows on the upper left of Figure 8). At the ACU SAP, access to S/T is transparent.

In addition, you can configure an ISDN protocol stack to emulate the network, using the partner_equip field passed to isdnStartProtocol. See Chapter 7 for more details on the parameters available to configure the ISDN protocol stack.


chap17.gif

Figure 8. Reference Points Supported by AG ISDN

1.4 AG ISDN Software ComponentsTop of Page

ISDN is implemented differently around the world. For this reason, NMS provides versions of its AG ISDN software for different regions. The package for a variant contains the software modules you need to allow a board to communicate on a T1 or E1 trunk in one or more countries using that variant.

The ISDN software package for a given region contains the following:

The sections that follow briefly describe each of these components.

Other components, also included, are only used when the AG ISDN protocol stack is running in Channelized stack mode. For more information about this mode, see the AG ISDN for Natural Call Control Developer's Manual.

The Channelized stack mode-specific components are:

1.4.1 The Readme FileTop of Page

The ASCII text file readme_isdn.txt contains release information that does not appear in other documentation. Consult this file to learn where the AG ISDN software components are located after installation.

1.4.2 The AG ISDN Function LibrariesTop of Page

These components run on the host computer. They are used by the application program to interact with ISDN protocol stacks running on board and to communicate with NCC and ADI services. These are dynamic-link libraries (DLL) under Windows NT, and are shared objects under UNIX. The libraries have different names under different operating systems:
Operating System

CT Access Library Name(s)

Windows NT

isdnapi.lib, isdnapi.dll, nccisdn.lib*, nccisdn.dll*, imgtapi.lib*, imgtapi.dll*

UNIX

libisdnapi.so, libnccisdn.so*, libimgtapi.so*

*These files are not in use for Layer 3.

Standard AG ISDN header files, required by your applications to communicate with the ISDN protocol stack on the board, are also supplied.

The following figure describes the include file structure used by an application using AG ISDN in the ACU configuration:


chap18.gif

Figure 9. Header File Usage (ACU Configuration)


The following figure describes the include file structure used by an application using AG ISDN in the LAPD configuration:


chap19.gif

Figure 10. Header File Usage (LAPD Configuration)

1.4.3 ISDN Protocol Stack Downloadable Object ModulesTop of Page

A downloadable object module file contains the basic low-level software which a board requires to support ISDN. The module is transferred from the host into on-board memory when the board boots.

Different module files are supplied for different configurations. The file you use depends upon what board type you are using. For more information about downloadable object modules, see the AG ISDN Installation Manual.

1.4.4 The Configuration FileTop of Page

The configuration file contains information that determines how to set up your boards for use. This file also contains country-specific information, and defines what trunks are assigned to which D-channels.

Several example files are included, describing ISDN configurations for different boards. You can use these files to create a file describing your hardware and software setup. For details, see the OAM System User's Manual. For versions prior to CT Access 4.0, see the AG ISDN Installation Manual and AG Runtime Configuration and Developer's Manual.

1.4.5 The Demonstration Programs and UtilitiesTop of Page

The following demonstration programs and utilities are included, with their source code files and makefiles:
Program

Description

isdndemo

Simple call control application that communicates with the ISDN stack in the ACU configuration.

lapddemo

Illustrates establishing a LAPD data link on an ISDN trunk.

dectrace

Decodes and displays messages sent or received by the AG ISDN protocol stack which were previously captured in a log file by the oammon or agmon utility.

itrace

Runtime filter for AG ISDN messages from the stack being captured by the oammon or agmon utility.

For details on these programs, see Chapter 9.

1.5 Other ComponentsTop of Page

In addition to the AG ISDN software, you will need the following components to build an ISDN protocol application:

1.5.1 About CT AccessTop of Page

CT Access is a complete development environment for telephony applications. It provides a standard set of telephony functions grouped into logical services, each of which has a standard API. CT Access provides functions for telephony-related tasks such as call control, tone and DTMF tone generation and detection, and voice playing and recording.

CT Access includes a service which controls switching on MVIP-compliant devices. You can use this service to make or break connections, send patterns, sample data, etc. This service supports both MVIP-95 and MVIP-90 specifications. Alternatively, you can use the swish standalone utility to control switching interactively or in a batch mode.

For general information about installing and using CT Access, see the CT Access documentation.

1.6 Developing an AG ISDN ApplicationTop of Page

To create an AG ISDN application:
Step

Where Step Is Documented

1. Install digital trunk interface boards in a system, and any other boards you will need in your application.

The installation manuals for your boards

2. Install CT Access.

Natural Access installation booklet

3. Install the AG ISDN software for each country or region that your application will be used in.

AG ISDN Installation Manual

4. Edit your configuration file so it describes all boards in your system.

The AG ISDN Installation Manual, the installation manuals for your boards, and the OAM System User's Manual (or the AG Runtime Configuration and Developer's Manual for versions of CT Access prior to 4.0).

5. Test your hardware installation.

The installation manuals for your boards

6. Write your application.

This manual, and the CT Access documentation set



Table of Contents Index NMS Glossary Previous Page Next Page Version


1 The International Telecommunications Union (ITU) document I.411 defines ISDN user-network interface reference configurations. In the USA, the definition is provided by a number of documents, including AT&T TR-41449 ISDN Primary Rate Interface Specification.

2 AG-T1 and AG-E1 boards only support AG ISDN if they are revision D-1 and later. If your AG-T1 or AG-E1 board was purchased prior to June 1996, you may need a hardware upgrade. These board models are not supported by CT Access 4.0 and later.

Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.