Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
CallService Class
CallService Properties
CallService Methods
CallService Events

# CallService Class

The CallService object is accessible from the User object, providing access to call related services and information.
Inheritance Hierarchy
System
Object
Avaya.ClientServices
CallService

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
Copy

    public class CallService

The CallService type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| ActiveCall | An active call is local and in established state. The active call is null if there is no call, or if all calls are in held state.
| Calls | The Calls that are in progress.
| EmergencyNumbers | Gets List of configured emergency numbers
| HasHeldCall | Checks if there is a call in held state.
| HasInitiatingCall | Checks if there is a call in initiating state.
| IgnoredCalls | The Calls that are ignored. The ignored calls are the calls which are unattended but can be received any time.
| IsAutoAnswerAdministered | Gets a flag indicating whether auto-answer is administered for a station. This information is used to indicate how the client will behave when an incoming call is received. Do not use this information to determine if an incoming call should be answered automatically by your client. Instead use the call.CanAutoAnswer or call.IsAnswerModeAuto properties for that purpose.
| LineAppearances | Gives List of configured line appearances
| VideoCapability | Gets Capability object indicating whether the video is allowed. video capability is calculated based on license, user configuration and available network.
| VoIPCallingCapability | Gets Capability object indicating whether the VoIP calling is allowed. VoIP calling capability is calculated based on user configuration and available network.

Top
Methods

| Name | Description
--- | --- | ---
| ApplyDialingRulesForEC500 | Apply dialing rules. It is used for applying dialing rules outside of the call service (e.g ec500 calls).
| CreateCall | Creates a new outgoing call object.
| CreateCall(CallCreationInfo) | Creates a new outgoing call object with with information provided in the input argument.
| GetCreateCallCapability | Gets Capability object indicating whether the call can be created.
| GetVideoCapability | Gets Capability object indicating whether the video is allowed for specific call type. For each call type video capability is calculated based on license, user configuration and available network.
| GetVoIPCallingCapability | Gets Capability object indicating whether the VoIP calling is allowed for specific call type. For each call type VoIP calling capability is calculated based on user configuration and available network.

Top
Events

| Name | Description
--- | --- | ---
| ActiveCallChanged | Called when a there is change in active call. An active call is local and in established state. The active call is null if there is no call, or if all calls are in held state.
| CallAcceptRequested | Occurs when the application is informed of an incoming video call answer request from a third-party call control application or from the user's other endpoint which is controlling this application instance in Shared Control mode (see EnableAsControlledEndpoint).
| CallCreated | Called when a call is created by the client.
| CallRemoved | Called when a call has been removed.
| CallServiceCapabilityChanged | Occurs when there is changes in the capability of call service.
| CallStartRequested | Occurs when the application is informed of a new video call creation request from a third-party call control application or from the user's other endpoint which is controlling this application instance in Shared Control mode (see EnableAsControlledEndpoint).
| IncomingCallReceived | Occurs when an incoming call is received.
| IncomingCallUndelivered | Occurs when the user is informed of an incoming call that was not delivered to the local application due to an active server feature, such as call forwarding or send all calls.

Top
Remarks
The CallService object provides a set of APIs that allow application developers to implement basic SIP telephony features.
See Also

#### Reference

Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.