struct Asterisk::ARI::Events::Peer

Overview

Detailed information about a remote peer that communicates with Asterisk.

Defined in:

asterisk/ari/events/peer.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Asterisk::ARI::Events::Event

application : String application, application=(application : String) application=, timestamp : Time timestamp, timestamp=(timestamp : Time) timestamp=

Constructor methods inherited from struct Asterisk::ARI::Events::Event

new(pull : JSON::PullParser) new

Instance methods inherited from struct Asterisk::ARI::Events::Message

asterisk_id : String? asterisk_id, asterisk_id=(asterisk_id : String?) asterisk_id=, type : String type, type=(type : String) type=

Constructor methods inherited from struct Asterisk::ARI::Events::Message

new(pull : JSON::PullParser) new

Constructor Detail

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

Detailed information about a remote peer that communicates with Asterisk.


[View source]

Instance Method Detail

def address : String? #

The IP address of the peer.


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

The IP address of the peer.


[View source]
def cause : String? #

An optional reason associated with the change in peer_status.


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

An optional reason associated with the change in peer_status.


[View source]
def peer_status : String #

The current state of the peer. Note that the values of the status are dependent on the underlying peer technology.


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

The current state of the peer. Note that the values of the status are dependent on the underlying peer technology.


[View source]
def port : String? #

The port of the peer.


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

The port of the peer.


[View source]
def time : String? #

The last known time the peer was contacted.


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

The last known time the peer was contacted.


[View source]