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 NMS ISDN Software
1.3.1 NMS ISDN Product Configurations
1.3.2 NMS ISDN ACU Configuration
1.3.3 NMS ISDN LAPD Configuration
1.3.4 Reference Points Supported by NMS ISDN
1.4 NMS ISDN Software Components
1.4.1 Readme File
1.4.2 NMS ISDN Function Libraries
1.4.3 ISDN Protocol Stack Downloadable Object Modules
1.4.4 Configuration File
1.4.5 Demonstration Programs and Utilities
1.5 Other Components
1.5.1 Natural Access
1.6 Developing an NMS ISDN Application

1.1 IntroductionTop of Page

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

The NMS 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 NMS 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 Natural 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.

Figure 1 illustrates the hierarchy of layers:


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 NMS ISDN SoftwareTop of Page

NMS ISDN protocol software allows you to write Natural Access applications that communicate with T1 or E1 trunks to perform voice processing functions and call control using ISDN Common Channel Signaling protocols.

NMS 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 NMS ISDN Product ConfigurationsTop of Page

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

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

1.3.2 NMS ISDN ACU ConfigurationTop of Page

The NMS ISDN ACU configuration allows access to Q.931 (layer 3) call control, using the NMS 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 NMS 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 NMS 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 Natural 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 H.100, H.110, or MVIP switch. The switch has certain default behavior, described in Section 3.3. Alternatively, the switch can be controlled using the Natural Access Switching service.


chap15.gif

Figure 6. NMS ISDN Application Architecture (ACU Configuration)

1.3.3 NMS 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 NMS 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 NMS 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 Natural 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 H.100, H.110, or MVIP switch. The switch has certain default behavior, described in Section 3.3. Alternatively, the switch can be controlled using the Natural Access Switching service.


chap16.gif

Figure 7. NMS ISDN Application Architecture (LAPD Configuration)

1.3.4 Reference Points Supported by NMS ISDNTop of Page

The NMS 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 NMS ISDN

1.4 NMS ISDN Software ComponentsTop of Page

ISDN is implemented differently around the world. For this reason, NMS provides versions of its 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 NMS ISDN protocol stack is running in Channelized stack mode. For more information about this mode, see the NMS ISDN for Natural Call Control Developer's Manual.

The Channelized stack mode-specific components are:

1.4.1 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 NMS ISDN software components are located after installation.

1.4.2 NMS 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 a board and to communicate with NCC and ADI services. These are dynamic-link libraries (DLL) under Windows NT and Windows 2000, and are shared objects under UNIX. The libraries have different names under different operating systems:
Operating System

Natural Access Library Name(s)

Windows NT and Windows 2000

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 NMS 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 NMS 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 NMS 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 NMS ISDN Installation Manual.

1.4.4 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 NMS OAM System User's Manual. For versions prior to Natural Access 4.0, see the NMS ISDN Installation Manual and AG Runtime Configuration and Developer's Manual.

1.4.5 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 NMS ISDN protocol stack which were previously captured in a log file by the oammon or agmon utility.

itrace

Runtime filter for NMS 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 NMS ISDN software, you will need the following components to build an ISDN protocol application:

1.5.1 Natural AccessTop of Page

Natural 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. Natural Access provides functions for telephony-related tasks such as call control, tone and DTMF tone generation and detection, and voice playing and recording.

Natural Access includes a service which controls switching on H.100, H.110, or MVIP-compliant devices. You can use this service to make or break connections, send patterns, sample data, etc. Alternatively, you can use the swish standalone utility to control switching interactively or in a batch mode.

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

1.6 Developing an NMS ISDN ApplicationTop of Page

To create an NMS 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 the boards

2. Install Natural Access.

Natural Access installation booklet

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

NMS ISDN Installation Manual

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

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

5. Test your hardware installation.

The installation manuals for your boards

6. Write your application.

This manual, and the Natural 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.

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