struct Asterisk::ARI::Events::ChannelHold

Overview

A channel initiated a media hold.

Defined in:

asterisk/ari/events/channel_hold.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 channel initiated a media hold.


[View source]

Instance Method Detail

def channel : Channels::Channel #

The channel that initiated the hold event.


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

The channel that initiated the hold event.


[View source]
def musicclass : String? #

The music on hold class that the initiator requested.


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

The music on hold class that the initiator requested.


[View source]