Class CallControlFactory

Enables the creation of a device with call control functionality.

A CallControlFactory is initialized by passing in softphone information and the core IApi interface. It can then be used to create ICallControl instances.

Methods

  • Creates an ICallControl instance for a given device, enabling call control functionality.

    Parameters

    • device: IDevice

      the device you wish to execute call control functionality on.

    Returns Promise<ICallControl>

    an Observable which emits a new ICallControl.

  • Verifies whether a device supports call control or not.

    Parameters

    • potentialDevice: IDevice

      The device you wish to execute call control functionality on.

    Returns boolean

    true if we find ANY descriptor which matches call control functionality, false otherwise.