lib/punchblock/translator/freeswitch/component/input.rb in punchblock-1.9.4 vs lib/punchblock/translator/freeswitch/component/input.rb in punchblock-2.0.0.beta1

- old
+ new

@@ -6,9 +6,14 @@ module Component class Input < Component include InputComponent + def execute + super + @dtmf_handler_id = register_dtmf_event_handler + end + private def register_dtmf_event_handler component = current_actor call.register_handler :es, :event_name => 'DTMF' do |event|