CTI Client events (ActiveX)OnCallState |
Signals the state of one’s own calls.
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
See also Events overview | OnSendUserState
© 2020 Tino Kasubke. All rights reserved.
|