Platform SDK: Web Telephony Engine

WTEConnectionEvents Object

Description

The WTEConnectionEvents object is the outgoing interface of a WTEActiveConnection object.

Events

OnOffering
Fired when a new call is offered. From this event, it is possible to get all the interfaces related to the call.
OnConnected
Fired when the call gets to the connected state is received.
OnDisconnected
Fired when the call is disconnected. Event is received.
OnDigit
Fired when a digit is detected.

Parameters — bstrDigit : The detected digit.

OnBeforeNavigate
Fired when the BeforeNavigate event from the WebBrowser control is received.

Parameters — bstrURL : The URL.

OnNavigateComplete
Fired when the NavigateComplete event from the WebBrowser control is received.

Parameters — bstrURL : The URL.

OnDocumentComplete
Fired when the DocumentComplete event from the WebBrowser control is received.

Parameters — bstrURL : The URL.

OnTagBegin
Fired when WTE reaches a new element.

Parameters — pTagElement : The element.

OnTagEnd
Fired when WTE finishes to handle an element.

Parameters — pTagElement : The element.

OnStepEnd
Fired when WTE finishes rendering a telephony step, before any audio starts. At this point the Step object has all the data concerning the current telephony step.

Parameters — pTagElement : The element that caused WTE to end the telephony step. Reason : The reason the telephony step ended. pAppConstrains : The constraints of the offering.

OnSessionEnd
Fired when the current session ends. After the return from this event handler, all the objects concerning the call, including the ExtendedObjectModel and the Step are no longer valid.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswtecom.idl and Mswtecom.h.
  Library: Use Mswtecom.lib.