Function createCallQueueClient

  • Creates a call-queue client for the signed-in Webex Calling user.

    Returns

    A call-queue client, or undefined when managed mode is disabled or fails.

    Example

    const callQueue = createCallQueueClient(webex, logger, {webexApiBaseUrl});
    

    Parameters

    • webex: WebexSDK

      The Webex SDK instance used for requests and events.

    • logger: LoggerInterface

      Logging configuration for the Calling SDK.

    • options: CallQueueClientOptions

      Call queue options, including the public API base URL.

    • previousClient: undefined | CallQueueClient

      Optional existing client to reuse when its configuration still matches.

    • enabled: boolean

      When supplied, manage the optional client without interrupting other clients.

    Returns CallQueueClient | undefined

  • Parameters

    Returns CallQueueClient