Interface CCPluginConfig

Configuration options for the Contact Center Plugin. CCPluginConfig

Example

const config: CCPluginConfig = {
allowMultiLogin: true,
allowAutomatedRelogin: false,
clientType: 'browser',
isKeepAliveEnabled: true,
force: false,
metrics: { clientName: 'myClient', clientType: 'browser' },
logging: { enable: true, verboseEvents: false },
callingClientConfig: { ... }
};
interface CCPluginConfig {
    allowAutomatedRelogin: boolean;
    allowMultiLogin: boolean;
    callingClientConfig: CallingClientConfig;
    clientType: string;
    force: boolean;
    isKeepAliveEnabled: boolean;
    logging: {
        enable: boolean;
        verboseEvents: boolean;
    };
    metrics: {
        clientName: string;
        clientType: string;
    };
}

Properties

allowAutomatedRelogin: boolean

Whether to automatically attempt relogin on connection loss

allowMultiLogin: boolean

Whether to allow multiple logins from different devices

callingClientConfig: CallingClientConfig

Configuration for the calling client

clientType: string

The type of client making the connection

force: boolean

Whether to force registration

isKeepAliveEnabled: boolean

Whether to enable keep-alive messages

logging: {
    enable: boolean;
    verboseEvents: boolean;
}

Logging configuration

Type declaration

  • enable: boolean

    Whether to enable logging

  • verboseEvents: boolean

    Whether to log verbose events

metrics: {
    clientName: string;
    clientType: string;
}

Metrics configuration

Type declaration

  • clientName: string

    Name of the client for metrics

  • clientType: string

    Type of client for metrics