struct Asterisk::ARI::Endpoints::Endpoint

Overview

An external device that may offer/accept calls to/from Asterisk.

Unlike most resources, which have a single unique identifier, an endpoint is uniquely identified by the technology/resource pair.

Included Modules

Defined in:

asterisk/ari/models/endpoints_endpoint.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def channel_ids : Array(String) #

Id's of channels associated with this endpoint


[View source]
def channel_ids=(channel_ids : Array(String)) #

Id's of channels associated with this endpoint


[View source]
def resource : String #

Identifier of the endpoint, specific to the given technology.


[View source]
def resource=(resource : String) #

Identifier of the endpoint, specific to the given technology.


[View source]
def state : String? #

Endpoint's state


[View source]
def state=(state : String?) #

Endpoint's state


[View source]
def technology : String #

Technology of the endpoint


[View source]
def technology=(technology : String) #

Technology of the endpoint


[View source]