|
NewCallEventArgs Class |
The event arguments that are supplied with a new call event including a reference to the assigned Channel Resource.
Inheritance Hierarchy
Namespace:
VoiceElements.Client
Assembly:
VoiceElementsClient (in VoiceElementsClient.dll) Version: 8.6.1.1
Syntax public class NewCallEventArgs : EventArgs
Public Class NewCallEventArgs
Inherits EventArgs
public ref class NewCallEventArgs : public EventArgs
type NewCallEventArgs =
class
inherit EventArgs
end
The NewCallEventArgs type exposes the following members.
Constructors
| Name | Description |
---|
| NewCallEventArgs |
Constructor for new call event arguments which include a reference to the Channel Resource assigned by the server.
|
TopProperties
| Name | Description |
---|
| Cancel |
Informs server to drop the incoming call. Leave false to take the call.
|
| ChannelResource |
The channel resource that encapsulates the call that is being offered by the server.
|
TopRemarks 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