API Docs for: 2.6
Show:

cel Class

Module: cel

Provides the cel (Channel Event Logging) functions.

Item Index

Properties

Methods

getCallInfo

(
  • uniqueid
  • privacyStr
  • cb
)

Get call information from uniqueid.

Parameters:

  • uniqueid String

    The call identifier

  • privacyStr String

    The privacy string to be used to hide the phone numbers. It can be undefined

  • cb Function

    The callback function

getCallTrace

(
  • linkedid
  • privacyStr
  • cb
)

Get call trace from linkedid.

Parameters:

  • linkedid String

    The call identifier

  • privacyStr String

    The privacy string to be used to hide the phone numbers. It can be undefined

  • cb Function

    The callback function

setCompDbconn

(
  • comp
)

Sets the database architect component.

Parameters:

  • comp Object

    The database architect component.

setLogger

(
  • log
)
static

Set the logger to be used.

Parameters:

  • log Object

    The logger object. It must have at least three methods: info, warn and error as console object.

Properties

compDbconn

Object private

The architect component to be used for database.

IDLOG

String private final

The module identifier used by the logger.

Default: [cel]

logger

Object private

The logger. It must have at least three methods: info, warn and error.

Default: console