Click or drag to resize
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
SystemObject
  Avaya.ClientServicesOtherPhoneService

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 493.0.70.0
Syntax
C#
public class OtherPhoneService

The OtherPhoneService type exposes the following members.

Properties
  NameDescription
Public propertyOtherPhoneModeCapability
Capability describing whether other phone mode is allowed. Other phone mode capability is allowed based on the user license.
Public propertyOtherPhoneNumber
Property to get active other phone number.
Top
Methods
  NameDescription
Public methodActivate
Activates other phone mode using the specified phone number, or updates the phone number if other phone mode is already active.
Public methodDeactivate
Deactivates the other phone mode.
Top
Events
  NameDescription
Public eventActivated
Occurs when other phone mode is activated.
Public eventDeactivated
Occurs when other phone mode is deactivated.
Public eventOtherPhoneServiceCapabilityChanged
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