Cluster

Cluster

new Cluster()

A cluster of freeswitch servers that SIP requests will be proxied to

Source:

Methods

addServer(targets)

adds one or more freeswitch servers to the cluster. Any existing servers in the cluster that are not part of the new list will be removed

Parameters:
Name Type Description
targets Fsw~createOptions | Array

freeswitch server connection options (or array of same)

Source:

getOnlineServers()

get array of online freeswitch servers

Source: