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

# OtherPhoneService Class

This service provides the user with the ability to direct media to any other phone (typically a cell phone/ home phone) while controlling signaling from the client. Access to this service is provided by the OtherPhoneService property on the User class.
Inheritance Hierarchy
System
Object
Avaya.ClientServices
OtherPhoneService

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

    public class OtherPhoneService

The OtherPhoneService type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| OtherPhoneModeCapability | Capability describing whether other phone mode is allowed. Other phone mode capability is allowed based on the user license.
| OtherPhoneNumber | Property to get active other phone number.

Top
Methods

| Name | Description
--- | --- | ---
| Activate | Activates other phone mode using the specified phone number, or updates the phone number if other phone mode is already active.
| Deactivate | Deactivates the other phone mode.

Top
Events

| Name | Description
--- | --- | ---
| Activated | Occurs when other phone mode is activated.
| Deactivated | Occurs when other phone mode is deactivated.
| OtherPhoneServiceCapabilityChanged | Occurs when there is a change in the capability of other phone service.

Top
Remarks
In other phone mode, each call consists of two call legs represented by a single Call object, where one call leg is with the other phone number and the other one with with the remote party. Applications would still have a single call, towards the target number to manage. The second call leg towards the other phone number will be managed internally by the SDK. Following are limitations in other phone mode:

- Currently, video calls are not supported in other phone mode
- HTTP calls are not supported in other phone mode

The OtherPhoneService object provides a set of APIs that allows application developers to activate/deactivate the other phone number.

The client application is notified about status updates reported by the other phone service through a delegate that the application adds to the OtherPhoneService object. These updates may be the result of local operations like activation/deactivation on the OtherPhoneService object.

See Also

#### Reference

Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.