struct Asterisk::ARI::Events::ChannelDestroyed

Overview

Notification that a channel has been destroyed.

Defined in:

asterisk/ari/events/channel_destroyed.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) #

Notification that a channel has been destroyed.


[View source]

Instance Method Detail

def cause : Int32 #

Integer representation of the cause of the hangup


[View source]
def cause=(cause : Int32) #

Integer representation of the cause of the hangup


[View source]
def cause_txt : String #

Text representation of the cause of the hangup


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

Text representation of the cause of the hangup


[View source]
def channel : Channels::Channel #

[View source]
def channel=(channel : Channels::Channel) #

[View source]