API Docs for: 2.6
Show:

queue_recalling_manager Class

Module: ast_proxy

Provides the support to check if a user is still recalling a number that is an entry into the queue recall table of the call center phone bar service.

Methods

analizeQueueRecallingStatus

(
  • results
  • num
  • cb
)
private

Analize the channel list to understand if the number has already in a conversation.

Parameters:

  • results Object

    The channel list

  • num String

    The number to be checked for the presence in the list

  • cb Function

    The callback function

checkQueueRecallingStatus

(
  • num
  • cb
)

Request the list of the asterisk channels to be analized to understand if the number has already in a conversation.

Parameters:

  • num String

    The number to be checked for the call

  • cb Function

    The callback function

getQueueRecallData

(
  • type
  • val
  • qid
  • cb
)

Returns the recall data about the queue.

Parameters:

  • type String

    The search type: can be "hours" or "day"

  • val String

    The amount of interval time to be searched

  • qid String

    The queue identifier

  • cb Function

    The callback function

getQueueRecallInfo

(
  • type
  • val
  • cid
  • cb
)

Returns the details about the queue recall of the caller id.

Parameters:

  • type String

    The search type: can be "hours" or "day"

  • val String

    The amount of interval time to be searched

  • cid String

    The caller identifier

  • cb Function

    The callback function

setCompAstProxy

(
  • comp
)

Sets the asterisk proxy component.

Parameters:

  • comp Object

    The asterisk proxy component.

setCompDbconn

(
  • comp
)

Sets the database architect component.

Parameters:

  • comp Object

    The database architect component.

setLogger

(
  • log
)
static

Sets 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

compAstProxy

Object private

The asterisk component.

compDbconn

Object private

The database component.

IDLOG

String private final

The module identifier used by the logger.

Default: [queue_recalling_manager]

logger

Object private

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

Default: console