
Release 4.0
Part No. 77000TAPI02
April 2001 Printed in the U.S.A. (2106)

Toll fraud is committed when individuals unlawfully gain access to customer telecommunication systems. This is a criminal offense. Currently, we do not know of any telecommunications system that is immune to this type of criminal activity. NEC America will not accept liability for any damages, including long distance charges, which result from unauthorized and/or unlawful use. Although NEC America has designed security features into its products, it is your sole responsibility to use the security features and to establish security practices within your company, including training, security awareness, and call auditing.
While every effort has been made to ensure accuracy, NEC America will not be liable for technical or editorial errors or omissions contained within the documentation. The information contained in this documentation is subject to change without notice.
This documentation may be used only in accordance with the terms of the NEC America License Agreement.
NEC America, Inc., Corporate Networks Group 4 Forest Parkway Shelton, CT. 06484 Telephone: 203-926-5400 Fax: 203-929-0535 Web site: cng.nec.com
NEC, NCS Serv, NCS Ware, Extended Caller ID, N-TeliTouch, NCS LinkPlus, NCS Console, NCS Admin and N-TeliCall are trademarks or registered trademarks of NEC.
All other brand names mentioned are trademarks or registered trademarks of their respective manufacturers.
Copyright © NEC America 2001. All rights reserved. Printed in U.S.A. 4502-0001-A1


ii TAPI 4.0 User Guide
Table of Contents

TAPI stands for Telephony Application Programming Interface. It is a specification by Microsoft for writing telephony-based (the application's purpose is telephony and call control) or telephony-enabled (the application's purpose is something else, but it supports telephony functions such as calling a contact - e.g. Microsoft Outlook, Act, Goldmine) applications. There are several off-the-shelf applications such as Microsoft Outlook, Act and Goldmine that support TAPI for calling contacts right from the application without having to manually enter the number on the telephone's keypad. If you have such an application installed at your site and would like to use this functionality using the NCS Serv system, you should read this document and install and configure the appropriate components.
TAPI is a collection of interfaces that are based on a 3-layer telephony architecture. This architecture is depicted in Fig. 1.

Figure 1. 3-Layer TAPI Architecture
Introduction to TAPI

The service providers implement the telephony functions necessary to write a telephony application as specified in the TSPI. The telephone system manufacturer typically implements this layer so that all the TAPI applications can function with the telephone system. Microsoft implemented the TAPI middleware and this layer aggregates all the service providers available and provides a uniform API to the applications. It also adds value by implementing a few other high level functions. The application layer is where all the applications such as Microsoft Outlook function. These applications are written to TAPI specification so that they can work with any telephone system that has its own service provider.
With Windows 2000, Microsoft released a new version of TAPI called TAPI 3.0 that provides an object oriented API for telephony functions. Even though the application layer specification has been completely rewritten, the service provider interface is compatible with TAPI 2.1. Since NCS Ware implements its service provider based on TAPI 2.1, applications written to TAPI 3.0 can make full use of all the telephony functions implemented by NCS Ware.
In earlier versions, NEC implemented a TAPI Service Provider (TSP) only and relied completely on Microsoft's middleware to support clients running over a network. However, Microsoft's support for remote clients required that the installation have a complete NT server environment including domains and directory. It required the client systems to belong to the same NT domain, the remote user to have an account on the NT domain, etc. Overall, installing, maintaining and supporting a TAPI-based application resulted in a lot of work and hence made it a very expensive solution.

In NCS Ware 4.0, NEC has implemented an innovative solution to overcome the problems mentioned above. The new solution does not rely on Microsoft's middleware to support remote clients and implements that functionality by itself using TCP/IP. This new architecture is depicted in Fig. 2

Figure 2. NEC’s TAPI Implementation
TAPI Gateway consists of two components:
These two components communicate with each other using NEC's own TCP/IP based protocol called NCS LinkPlus. Since there is no requirement other than that the client and the server systems should have a TCP/IP connection, the installation, maintenance and support for TAPI applications should be very easy and straightforward.
NEC's TAPI Implementation

As is evident from Fig. 2, when a client application registers with TAPI for controlling a telephony device such as an extension, NCS Serv will send all events happening on that device to the TAPI proxy, which will, in turn send the events to the client system's service provider. The service provider will report these events to the TAPI middleware on the client system and TAPI will report them to the client application. Similarly, when the client application sends a command to TAPI, it is transported all the way to the NCS Ware system software and the results are sent back via the same components.
The important point to note is that all the communication that goes on below the TAPI layer on the client system is transparent to the application itself. Thus, the support for TAPI applications has been greatly simplified in NCS Ware 4.0.

In order to use TAPI applications such as Microsoft Outlook , Act 2000 or Goldmine successfully, your environment has to meet certain requirements. These requirements are given below for your reference. Before implementing TAPI in an environment, you should make sure these requirements are met and also make sure you understand the restrictions and exceptions to the TAPI support in NCS Ware 4.0 as outlined on page 8.
System Requirements

Before you install the client software (TAPI SP), you should prepare the server system. The first step in preparing the server system is to install and configure the NCS Ware software. For more details on this step, refer to NCS Serv Getting Started Manual. Once you have installed the telephony hardware, installed the NCS Ware software and configured it, test the system by making a few calls into and out of the system and make sure it works as expected.
Then, install the TAPI Proxy Server software. This software can be found in the NCS Ware 4.0 CD and also in the Center 4.0 CD. Run the SETUP.EXE file from the TAPIGateway\TAPIServer folder. Remember that you should be logged in as a user that has Administrator privileges to install the software properly.
Once you install this server component, the service is started automatically. No configuration parameters need to be set on the server.
Before you begin client installation, make sure that the client system meets all the requirements listed on page 5. Then, check that the server installation is complete. You should also note the name or the IP address of the server.

Now, you are ready to use TAPI application from your client PC. To test your client installation, launch Phone Dialer from Start=>Programs=>Accessories. Enter a number to call in the Number to Dial box and then click on Dial button. If the installation is correct, your extension should ring and once you pick up the telephone handset, the system will dial the number you entered and you will be connected to that number.
Client Installation

In NCS Ware 4.0, only outbound dialing functions are supported in the TAPI gateway. With this support, a client application can make outbound calls from an extension.
TAPI call control functions such as transfer, hold, park, etc. are not supported in NCS Ware 4.0.
Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.