code: function Session_getAgents() {
    var result = []
  
    this.channels.forEach(function(channel){
      result = result.concat(channel.getAgents())
    })
  
    return result
  }
docs: ------------------------------------------------------------------------------