struct Asterisk::ARI::Events::ChannelHangupRequest

Overview

A hangup was requested on the channel.

Defined in:

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

A hangup was requested on the channel.


[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 channel : Channels::Channel #

The channel on which the hangup was requested.


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

The channel on which the hangup was requested.


[View source]
def soft : Bool? #

Whether the hangup request was a soft hangup request.


[View source]
def soft=(soft : Bool?) #

Whether the hangup request was a soft hangup request.


[View source]