TAPI_EVENT enumeration (tapi3if.h)

The TAPI_EVENT enumeration is used to notify an application that a change has occurred in the TAPI object. The ITTAPIEventNotification::Event method implementation uses members of this enumeration to indicate the type of object associated with the IDispatch pointer passed by TAPI.

Syntax

typedef enum TAPI_EVENT {
  TE_TAPIOBJECT = 0x1,
  TE_ADDRESS = 0x2,
  TE_CALLNOTIFICATION = 0x4,
  TE_CALLSTATE = 0x8,
  TE_CALLMEDIA = 0x10,
  TE_CALLHUB = 0x20,
  TE_CALLINFOCHANGE = 0x40,
  TE_PRIVATE = 0x80,
  TE_REQUEST = 0x100,
  TE_AGENT = 0x200,
  TE_AGENTSESSION = 0x400,
  TE_QOSEVENT = 0x800,
  TE_AGENTHANDLER = 0x1000,
  TE_ACDGROUP = 0x2000,
  TE_QUEUE = 0x4000,
  TE_DIGITEVENT = 0x8000,
  TE_GENERATEEVENT = 0x10000,
  TE_ASRTERMINAL = 0x20000,
  TE_TTSTERMINAL = 0x40000,
  TE_FILETERMINAL = 0x80000,
  TE_TONETERMINAL = 0x100000,
  TE_PHONEEVENT = 0x200000,
  TE_TONEEVENT = 0x400000,
  TE_GATHERDIGITS = 0x800000,
  TE_ADDRESSDEVSPECIFIC = 0x1000000,
  TE_PHONEDEVSPECIFIC = 0x2000000
} ;

Constants

 
TE_TAPIOBJECT
Value: 0x1
Change is in TAPI object itself. For more information, see
ITTAPIObjectEvent.
TE_ADDRESS
Value: 0x2
An Address object has changed. For more information, see
ITAddressEvent.
TE_CALLNOTIFICATION
Value: 0x4
A new communications session has appeared on the address and the TAPI DLL has created a new call object. This could be a result from an incoming session, a session handed off by another application, or a session being parked on the address. For more information, see
ITCallNotificationEvent and
ITTAPI::RegisterCallNotifications.
TE_CALLSTATE
Value: 0x8
The Call state has changed. For more information, see
ITCallStateEvent.
TE_CALLMEDIA
Value: 0x10
The media associated with a call has changed. For more information, see
ITCallMediaEvent.
TE_CALLHUB
Value: 0x20
A CallHub object has changed. For more information, see
ITCallHubEvent.
TE_CALLINFOCHANGE
Value: 0x40
The call information has changed.
For more information, see ITCallInfoChangeEvent.
TE_PRIVATE
Value: 0x80
A provider-specific private object has changed. The precise type of object referenced is implementation dependent. For more information, see Provider-Specific Interfaces.
TE_REQUEST
Value: 0x100
A Request object has changed. For more information, see ITRequestEvent.
TE_AGENT
Value: 0x200
An Agent object has changed. For more information, see ITAgentEvent.
TE_AGENTSESSION
Value: 0x400
An AgentSession object has changed. For more information, see ITAgentSessionEvent.
TE_QOSEVENT
Value: 0x800
A QOS event has occurred. For more information, see ITQOSEvent.
TE_AGENTHANDLER
Value: 0x1000
An AgentHandler object has changed. For more information, see ITAgentHandlerEvent.
TE_ACDGROUP
Value: 0x2000
An ACDGroup object has changed. For more information, see ITACDGroupEvent.
TE_QUEUE
Value: 0x4000
A Queue object has changed. For more information, see ITQueueEvent.
TE_DIGITEVENT
Value: 0x8000
A digit event has occurred. For more information, see ITDigitDetectionEvent.
TE_GENERATEEVENT
Value: 0x10000
A digit generation event has occurred. For more information, see ITDigitGenerationEvent.
TE_ASRTERMINAL
Value: 0x20000
An Automatic Speech Recognition terminal event has occurred. Valid only for computers running on Windows XP and later.
TE_TTSTERMINAL
Value: 0x40000
An event has occurred on a TTS terminal. For more information, see ITTTSTerminalEvent. Valid only for computers running on Windows XP and later.
TE_FILETERMINAL
Value: 0x80000
An event has occurred on a file terminal. For more information, see ITFileTerminalEvent. Valid only for computers running on Windows XP and later.
TE_TONETERMINAL
Value: 0x100000
An event has occurred on a tone terminal. For more information, see ITToneTerminalEvent. Valid only for computers running on Windows XP and later.
TE_PHONEEVENT
Value: 0x200000
A Phone object has changed. For more information, see
ITPhoneEvent. Valid only for computers running on Windows XP and later.
TE_TONEEVENT
Value: 0x400000
A tone event has been fired. Detection of in-band tones will be enabled or disabled. For more information, see
ITToneDetectionEvent. Valid only for computers running on Windows XP and later.
TE_GATHERDIGITS
Value: 0x800000
A gather digits event has been fired. Digits will be gathered on the current call. For more information, see
ITDigitsGatheredEvent. Valid only for computers running on Windows XP and later.
TE_ADDRESSDEVSPECIFIC
Value: 0x1000000
An address device-specific event has occurred. For more information, see ITAddressDeviceSpecificEvent. Valid only for computers running on Windows XP and later.
TE_PHONEDEVSPECIFIC
Value: 0x2000000
A phone device-specific event has occurred. For more information, see ITPhoneDeviceSpecificEvent. Valid only for computers running on Windows XP and later.

Remarks

Call the ITTAPI::put_EventFilter method and set the event filter mask to enable receiving events. If ITTAPI::put_EventFilter is not called, the application cannot receive events.

Requirements

Requirement Value
Header tapi3if.h

See also

ITACDGroupEvent

ITAddressEvent

ITAgentEvent

ITAgentHandlerEvent

ITAgentSessionEvent

ITCallHubEvent

ITCallInfoChangeEvent

ITCallMediaEvent

ITCallNotificationEvent

ITCallStateEvent

ITQOSEvent

ITQueueEvent

ITRequestEvent

ITTAPI::RegisterCallNotifications

ITTAPIEventNotification::Event

ITTAPIObjectEvent