Class: Adhearsion::Translator::Asterisk::Component::Input

Inherits:
Component show all
Includes:
InputComponent
Defined in:
lib/adhearsion/translator/asterisk/component/input.rb

Instance Attribute Summary

Attributes inherited from Component

#call, #call_id, #id

Instance Method Summary collapse

Methods included from InputComponent

#execute_command, #match, #noinput, #nomatch, #process_dtmf

Methods inherited from Component

#call_ended, #execute_command, #initialize, #logger_id, #send_complete_event, #send_event, #setup

Constructor Details

This class inherits a constructor from Adhearsion::Translator::Asterisk::Component::Component

Instance Method Details

#executeObject


13
14
15
16
17
# File 'lib/adhearsion/translator/asterisk/component/input.rb', line 13

def execute
  @call.send_progress
  super
  @dtmf_handler_id = register_dtmf_event_handler
end