CTI Client events (ActiveX)

OnCallState

Contents  Back  Next

Signals the state of one’s own calls.

 

Event OnCallState(

 Long lState,

 Long lCallID

)

Parameters

lState

The call’s call state

 

lCallID

Call ID of call whose state has changed.

 

Remarks

A call has changed state. You should keep a list of active calls in the program. Each time OnCallState is received, check if the call ID is in the list and add it to the list if necessary. If a state of LINECALLSTATE_IDLE is sent, remove the call from the list. The list will generally only contain one or two calls.

States of group members are sent on event OnSendUserState.

 

Example

Simply CTI client (Delphi)

 

See also

Events overview | OnSendUserState

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.