struct Asterisk::ARI::Events::ChannelDtmfReceived
- Asterisk::ARI::Events::ChannelDtmfReceived
- Asterisk::ARI::Events::Event
- Asterisk::ARI::Events::Message
- Struct
- Value
- Object
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.crConstructors
-
.new(pull : JSON::PullParser)
DTMF received on a channel.
Instance Method Summary
-
#channel : Channels::Channel
The channel on which DTMF was received
-
#channel=(channel : Channels::Channel)
The channel on which DTMF was received
-
#digit : String
DTMF digit received (0-9, A-E, # or *)
-
#digit=(digit : String)
DTMF digit received (0-9, A-E, # or *)
-
#duration_ms : Int32
Number of milliseconds DTMF was received
-
#duration_ms=(duration_ms : Int32)
Number of milliseconds DTMF was received
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