TeamCall CSTAServer FAQ

Frequently asked questions about TeamCall CSTAServer

Last modified $Date: 2003/06/16 19:02:02 $


Introduction

What is the TeamCall CSTAServer?

The TeamCall CSTAServer is a middleware for Computer Telephony Integration (CTI).

Which APIs does it support?

There are two socket/stream-based APIs:

Simple TeLephony Interface (STLI)
It is inspired by ECMA's CSTA standard. Please refer to the following documents:

CSTA Phase I: ECMA-179 and ECMA-180

CSTA Phase II: ECMA-217, ECMA-218 and TR/68

CSTA Phase III: ECMA-269, ECMA-285, ECMA-323, TR/72, TR/80 and TR/82

Telephony API (TAPI)
It is compliant to Microsoft's (R) TAPI (Version <=2.x)

Which Operating Systems does it support?

Solaris/SunOs
Win9x/WinNT 4.x
MacOS X (Darwin)
Linux
UnixWare

Which Switches,PBXs does it support?

Alcatel A4200(Office E)/OmniPCX
Alcatel A4400
Siemens Hicom 150 Office E R1.x, 2.x , 3.x
Siemens Hicom 150 H R1.x
Siemens Hicom 300/330/350 2.x, 3.x
Siemens Hipath3000
Siemens Hipath4000
Telekom Octopus E300/800 6.x
Telekom Octopus E30/E930 >=1.2
Telekom Octopus Open

Which Switch,PBX supports which CSTA Phase?

Alcatel A4200(Office E/OmniPCX): Phase I
Alcatel A4400: Phases I and II
Siemens Hicom 150 Office E: Phase II
Siemens Hicom 150 H: Phase III
Siemens Hicom 300/330/350: Phase I
Siemens Hipath3000: Phase III
Siemens Hipath4000: Phase III
Telekom Octopus E300/800: Phase I
Telekom Octopus E30/E930: Phase II and III
Telekom Octopus Open: Phase I

Where can I get more information?

Check www.ilink.de

or contact

cti@ilink.de


General Problems

Setting a specific forwarding with the TeamCall Server does not work

CSTA distinguishes several types of forwarding: immediate, no answer, busy, etc.

Most of these forwarding types are not implemented by many switches. Even worse, only a small subset is accessible via the CSTA interface of the switches. That is, you may be able to set a forwarding type via a telephone set, but setting it via the TeamCall Server may not be possible.

In fact, most of the switches support only forward immediate via their CSTA interface.

Why is setting a forwarding to an external number not possible?

First try to set a forwarding via your phone set. If this does not work, either, please contact your switch-vendor in order to modify the configuration of your switch.

If the forwarding is succesfull via a phone set but does not work via the TeamCall Server, please contact us: cti@ilink.de

(See also Setting a specific forwarding with the TeamCall Server does not work.


STLI and TAPI

My self-written TAPI-Application using TeamCall TSP does not work as expected

You can download a reference TAPI-Application Phone from JulMar Technology Inc. at

http://www.julmar.com/samples/phone.zip

If Phone works as you expected, check your own application.

If Phone does not work as you expected, refer to the Microsoft TAPI Reference in order to validate your requirements:

 http://msdn.microsoft.com/
 Platform SDK Documentation 
        Networking and Directory Services 
            Networking and Directory Services\Network Communication
                Telephony Application Programming Interfaces (TAPI, TSPI, MSPI)

If you discovered a bug in the TeamCall TSP, please contact us: cti@ilink.de.

What is the last character of a message in STLI?

Each message is terminated with a CR LF (``\r\n'') at the end.

Why are external calls sometimes signaled with a leading ``+''?

When an external incoming call (i.e. a call outside the PBX) is signaled, the dialing number of the calling party starts with a ``+'' (unless you specified a prefixPlan in your configuration file) for the following events:

Delivered
Established
Queued

In these events, the CSTA protocol identifies the calling party as exactly one of these types:

device: internal or external calling device
implicitPublic: external calling device
explicitPublic: external calling device
implicitPrivate: internal calling device
explicitPrivate: internal calling device
other: internal or external calling device (i.e. unspecified)

In order to identify external and internal devices within the events signaled via STLI/TAPI, we prepended a ``+'' to the calling device number if it's type is either implicitPublic or explicitPublic.

Which type is used for signalisation depends on the PBX/Switch. Usually, external devices are of the type implicitPublic.

Please refer to ECMA-218 for more information.

You can define a prefixPlan in your configuration file in order to replace the ``+''. Here is an example:

 prefixPlan "+00/00:+0/0:+/00"

This plan replaces a leading ``+00'' with a ``00'' or a ``+0'' with a ``0'' or a ``+'' with a ``00''. The first rule fires.

Please refer also to the TeamCall Reference Guide.

Why is an external incoming call not signaled with a ``+'' in the Transferred event?

The connection list, which is transmitted via the transfer, does not contain any information about the origin of the included devices. They are simply transmitted as DeviceID without further specification. There is no distinction of types as for example in the Delivered event (see also Why are external calls sometimes signaled with a leading ``+''?).

It may be configurable within your PBX if the dialing numbers are generally signalled with the whole information, i.e. country code, area code and phone number.

If the external incoming call would have been delivered (or queued) to an internal and monitored device, the Server could have had the knowledge about the calling device if it is internal or external. But if the external call is transferred from a non-monitored (or even external) device or first delivered to a non-monitored device, this knowledge does not exist. Thus we decided not to gather this information as there are too much cases where the information would not have been transmitted.

What does ``error_ind UniversalFailure ...'' mean?

Your request has been acknowledged with a negative response from the PBX, i.e. the request has not been executed. Please refer to ECMA-217 Chapter 9.4 for further details and explanations.


Switches,PBXs, Routers

This section treats questions concerning specific Switches,PBXs

Alcatel A4200 (Office E)

Before installing the TeamCall Server, please check with your local dealer if your PBX is enabled for CSTA, e.g. if you have purchased Monitoring Licenses.

Alcatel A4400

Before installing the TeamCall Server, please check with your local dealer if your PBX is enabled for CSTA, e.g. if you have purchased Monitoring Licenses.

Siemens Hicom 150 Office E

This PBX needs either the LinkISDN (Windows only) or the LinkV24.

Why are calls from external devices not signalled correctly?

Contact your Siemens dealer and ask him to check your Hicom150. The signalling of the trunkIds (usually 7801,7802, etc.) has to be activated in the Hicom150-Configuration.

After starting LinkISDN/V24 and CSTAServer: why do I get a LinkOutOfService?

Check your Configuration file. Usually, both LinkISDN/V24 and CSTAServer use the same file. If not, compare the entries

 cstaLinkAddress
 cstaLinkPort

Check the Configuration entries for the LinkISDN/V24 (LinkISDN, LinkV24).

Why do I get a ``ERROR - Length discrepancy on sequence'' after startup?

Usually, this error message should only appear once during connection establishement. It is due to a message which does not conform to the CSTA standard sent by the Hicom during startup.

Siemens Hicom 300/330/350

This PBX needs a CallBridge Version 4. Please contact your local dealer for more information on the CallBridge.

Note: If you have a Hicom3XX with a Software release <=2.x we strongly recommend an update to the last 3.x revision. Otherwise you may encounter several signalling problems, especially concerning outbound calls.

Note: If you have a CallBridge Version 3.x you will encounter several problems concerning the signalling, the only possibility is to update to Version 4.x.

IMPORTANT: if you monitor a device but do net get any events (i.e. no signalling at all) check your CallBridge Configuration: Monitor Filter must be set to Reverse.

Siemens Hipath4000

This PBX needs a CallBridge Version 5. Please contact your local dealer for more information on the CallBridge.

Telekom Octopus E300/800

This PBX needs the ISDNRouter (Windows only) or the LinkV24.

Telekom Octopus E30/E930

This PBX is based on the Siemens Hicom150 H. Please verify that you have at least PBX Software version 1.2.

Telekom Octopus Open

This PBX is based on the Alcatel Office.

ISDNRouter

ISDN D-channel Router for Siemens A6,Telekom Octopus.

This version is only for Win32-plattforms.

LinkISDN

ISDN B-channel Router for Hicom 150.

This version is only for Win32-plattforms.

Why can't I establish a connection via my ISDN board to the PBX?

Check your PBX-Configuration if the ISDN-Link is enabled. If not, contact your PBX-Dealer.

Check if your ISDN board supports User-to-User ISDN protocol.

Check if you entered the correct directory number for the CSTA Connection in your Configuration file (cstaLinkNumber). For Hicom150, this is usually 891.

LinkV24

Why can't I establish a connection via the serial device to the PBX?

Check if you entered the correct serial device for the CSTA Connection in your Configuration file (serialDevice).

Check if the serial device for the CSTA Connection in your Configuration file (serialDevice) is available for reading/writing, i.e. if no other process blocks it.

Check if the baudRate in your Configuration file corresponds to the settings in the PBX. For Hicom150, the default setting usually is 9600.

Hicom150: what cable should I use?

The connection cable must be a zero modem cable and should not exceed a length of 15 metres without special shielding. The pin assignments is as follows:

 HOST (9pins)        HICOM (25 pins)
   DCD  1                 8
   RxD  2                 2
   TxD  3                 3
   DTR  4                 6
   DSR  6                 20
   RTS  7                 5
   CTS  8                 4
   GND  5                 7

Note Hardware handshake via DTR/DSR or RTS/CTS is not provided.

Note The asynchronous V.24/RS-232 CSTA interface must be operated with the following parameters:

 Baud rate: 2400 or 9600 (Hicom150 R2.x or higher)
 Data bits: 8
 Parity: none
 Stop bit: 1

These are also the default values for the LinkV24.

Can I use the LinkV24 for the OctopusE300/800?

Yes, but this implies the serial device at the PBX to be activated. Please contact your local dealer for more information.

Check also the Octopus manual for the correct configuration of the LinkV24.

OctopusE300/800: what cable should I use?

This depends on the operating system where you want to start the LinkV24. Some of them need a DTR/DTS signal, some not. Please ask your local dealer for a detailed specification of the Octopus serial device.

Usually the V.24/RS-232 CSTA interface of the Octopus is operated with the following values:

 Baud rate: 2400
 Data bits: 8
 Parity: even
 Stop bit: 1

Addtionally, the follwing key/value has to be added to the configuration file (e.g. Default.conf):

 linkedPBX a6


Log files

What are these logfiles for?

The main purpose is debugging and tracing. If you have a problem with your server, turn on the debugging (please refer to your manual) and send us the log files.

What is the format of the logfiles?

The format may change from version to version without notice. As the logfiles are for internal use only, the format won't be described further. If you are really interested, please contact us, we can arrange a training for you.

Can I use the logfiles?

Feel free to use it but read What is the format of the logfiles? before.