State Property

IPFX Integrator CTI Phone Control

State Property

This read only property returns the current connection status to the CT Server.

Syntax

Object.State

The object placeholder represents the CTIPhone Control OCX.

Constant

Value

Description

ctiPhoneClosed

0

Default. Closed

ctiPhoneOpen

1

Open

ctiPhoneListening

2

Listening

ctiPhoneConnectionPending

3

Connection pending

ctiPhoneResolvingHost

4

Resolving host

ctiPhoneHostResolved

5

Host Resolved

ctiPhoneConnecting

6

Connecting

ctiPhoneConnected

7

Connected

ctiPhoneClosing

8

Peer is closing the connection

ctiPhoneError

9

Error

Remarks

This read only property returns the current connection state to the server.

Typically if a connection is not established the state will be ctiPhoneClosed, if a connection is established the the state will be ctiPhoneConnected.

See Also

Properties

MyLine Property