Global

Methods

isIp(str) → {boolean}

Checks if string is valid ip. Both ip and ip:port are accepted
Parameters:
Name Type Description
str
Source:
Returns:
Type
boolean

on(event, callback)

Registers a listener to receive events.
Parameters:
Name Type Description
event string
callback function
Source:

Type Definitions

QueueActionCallback(error)

Parameters:
Name Type Description
error string An error message, null when operation is successful
Source:

SubscriptionsCallback(users)

Parameters:
Name Type Description
users Array.<WTAPI.User>
Source:

TelephonyActionCallback(error)

Parameters:
Name Type Description
error string An error message, null when operation is successful
Source: