jssip - v3.14.0
    Preparing search index...

    Class ConfigurationError

    Error during UA configuration object load.

    try {
    const ua = new JsSIP.UA({ sockets: socket, uri: 'not a sip uri' });
    } catch (error) {
    if (error instanceof JsSIP.Exceptions.ConfigurationError) {
    console.error(error.parameter, error.value);
    }
    }

    Hierarchy

    • Error
      • ConfigurationError
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • parameter: string

        Name of the offending configuration parameter.

      • Optionalvalue: any

        Value the application gave for it, if any.

      Returns ConfigurationError

    Properties

    code: number = 1

    Numeric identifier of this error, so that it can be told apart without relying on instanceof.

    name: string = 'CONFIGURATION_ERROR'

    Always CONFIGURATION_ERROR.

    parameter: string

    Name of the offending configuration parameter.

    value: any

    Value the application gave for it, undefined when it was missing.