Tips to TAPI and Windows

Telephon programming under Windows is said to be the last great adventure of our time.

This is a true story. And you can read some tips that I collected during the implementation under Windows NT / Windows 2000:

Installation of the ESP

The Economical Service Provider (ESP) is an emulation of the telephone equipment. This emulation includes the connected lines and phones. You can find this application in the Microsoft Platform-SDK. For Windows NT and Windows 2000 you must use the ESP version 2.0. After the start of the application you must connect the ESP with the menu entry Datei|Install. On my computer the application sent an error message without a reason.
The solution is very simple. You have to copy all files of the ESP (ESPEXE.EXE, ESP32.TSP and ESPUI.DLL) directly into the system (WinNT\System32) and the ESP will work.

Selected line of TAPI causes interruption of dialing

The reason for this problem is the return value of TAPI for the LINEMODE. This value didn't include some information on the functionality provided by the line. The LINEMODE LINEMEDIAMODE_INTERACTIVEVOICE is not a guarantee for the possibility to place a call. I did not find a solution for this problem. The only way is a manual selection of the line in the source code.
In connection with Fritz!Card by AVM you will only be sucessful by using the line that provides you with TAPI on CAPI 2.0.
Have a look at the messages of the JTAPI-TAPI-Bridge and select a line manually.

Advantages of Fritz!Card user

The bridge works very well with the Fritz!Card ISDN card from AVM. On the homepage of AVM you can download a TAPI service provider. This TSP has the versions number 2.0.x and implements the TAPI interface version 2.0. In corporation with a sound cart, a loudspeaker and a Microfon (or a headset) you can start telephoning immediately after the setting up of the connection. The TSP provides you with a connection between the Fritz!Card and the sound card which otherwise you would have to programme yourself. The version 1.0 of the bridge lost the connection to TAPI after completion of the call. Only the remote terminal can disconnect the connection. This problem is solved in version 1.1 of the bridge.

Fritz!Card and PBX

If you use a Fritz!Card on a PBX, problems with answering incoming calls are possible. The requirement for the answering of incoming calls is the correct MSN for incoming and outgoing calls. At many PBX this is the internal number with two ore more digits and not the MSN of the public ISDN network. You can read a good paper to this subject on the Homepage of AVM.
In the modem settings of the control panel you can find an entry "AVM ISDN TAPI Services for CAPI" in the additional options. In the configuration of this entry you can make the definitions for incoming and outgoing MSN.


© Ralf Lange, longsoft Dresden
Comments & suggestions: webmaster form - Last Modification: 2007-03-01
Java and all Java based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the USA and in other countries. All other mentioned companies and product names are trademarks or registered trademarks of each manufacturer.