API Docs for:
Show:

listMeetmeConf Class

Module: plugins_command_13
Parent Module: astproxy

Command plugin to list all members of all or single meetme conference.

Use it with astproxy module as follow:

ast_proxy.doCmd({ command: 'listMeetmeConf', meetmeConfCode: '1234' }, function (res) {
    // some code
});

ast_proxy.doCmd({ command: 'listMeetmeConf', meetmeConfCode: '1234', confId: '202' }, function (res) {
    // some code
});

ast_proxy.doCmd({ command: 'listMeetmeConf', meetmeConfCode: '1234', confId: '202', remoteSitesPrefixes: { "6": "nethesis", "4": "nethesis2" } }, function (res) {
    // some code
});

Item Index

Methods

Methods

data

(
  • data
)
static

It's called from astproxy component for each data received from asterisk and relative to this command.

Parameters:

  • data Object

    The asterisk data for the current command

execute

(
  • am
  • args
  • cb
)
static

Execute asterisk action to mute a meetme user.

Parameters:

  • am Object

    Asterisk manager used to send the action

  • args Object

    The object containing optional parameters

  • cb Function

    The callback function

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

Properties

IDLOG

String private final

The module identifier used by the logger.

Default: [listMeetmeConf]

list

Object private

List of all conferences. The key is the identifier of the extension owner and the value is the conference object.

logger

Object private

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

Default: console

map

Object private

Map associations between ActionID and callback to execute at the end of the command.

MEETME_CONF_CODE

String private

Asterisk phone code used to start a meetme conference.

remoteSitesPrefixes

Array private

Remote sites phone prefixes.