struct Asterisk::ARI::Channels::Channel

Overview

A specific communication connection between Asterisk and an Endpoint.

Included Modules

Defined in:

asterisk/ari/models/channels_channel.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def accountcode : String #

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

[View source]
def caller : Channels::CallerID #

[View source]
def caller=(caller : Channels::CallerID) #

[View source]
def channelvars : Hash(String, String | Bool | Int32 | Float32)? #

Channel variables


[View source]
def channelvars=(channelvars : Hash(String, String | Bool | Int32 | Float32)?) #

Channel variables


[View source]
def connected : Channels::CallerID #

[View source]
def connected=(connected : Channels::CallerID) #

[View source]
def creationtime : Time #

Timestamp when channel was created


[View source]
def creationtime=(creationtime : Time) #

Timestamp when channel was created


[View source]
def dialplan : Channels::DialplanCEP #

Current location in the dialplan


[View source]
def dialplan=(dialplan : Channels::DialplanCEP) #

Current location in the dialplan


[View source]
def id : String #

Unique identifier of the channel.

This is the same as the Uniqueid field in AMI.


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

Unique identifier of the channel.

This is the same as the Uniqueid field in AMI.


[View source]
def language : String #

The default spoken language


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

The default spoken language


[View source]
def name : String #

Name of the channel (i.e. SIP/foo-0000a7e3)


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

Name of the channel (i.e. SIP/foo-0000a7e3)


[View source]
def state : String #

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

[View source]