struct Asterisk::ARI::Events::ChannelDtmfReceived

Overview

DTMF received on a channel.

This event is sent when the DTMF ends. There is no notification about the start of DTMF

Defined in:

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

DTMF received on a channel.

This event is sent when the DTMF ends. There is no notification about the start of DTMF


[View source]

Instance Method Detail

def channel : Channels::Channel #

The channel on which DTMF was received


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

The channel on which DTMF was received


[View source]
def digit : String #

DTMF digit received (0-9, A-E, # or *)


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

DTMF digit received (0-9, A-E, # or *)


[View source]
def duration_ms : Int32 #

Number of milliseconds DTMF was received


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

Number of milliseconds DTMF was received


[View source]