Click or drag to resize

NewCallEventArgs Class

The event arguments that are supplied with a new call event including a reference to the assigned Channel Resource.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    VoiceElements.ClientNewCallEventArgs

Namespace:  VoiceElements.Client
Assembly:  VoiceElementsClient (in VoiceElementsClient.dll) Version: 8.6.1.1
Syntax
public class NewCallEventArgs : EventArgs

The NewCallEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodNewCallEventArgs
Constructor for new call event arguments which include a reference to the Channel Resource assigned by the server.
Top
Properties
  NameDescription
Public propertyCancel
Informs server to drop the incoming call. Leave false to take the call.
Public propertyChannelResource
The channel resource that encapsulates the call that is being offered by the server.
Top
Remarks
Using the Arguments

The event passes along "e" as a reference to an instance of this class with the New Call Event. When receiving a new call, this is most useful for retrieving the Channel Resource and the Voice Resource, which are used for all voice processing/telephony functions for the call. You will use this object along with the Voice Resource for all Plays, Get Responses and other voice functions. To access the Voice Resource, you will find a reference in the Voice Resource Property of the Channel Resource in the NewCallEventArgs.

Getting Started: Inbound Calls

To begin learning about how to handle inbound calls, start by reading about the New Call Event.

See Also