lib/punchblock/translator/freeswitch/component/input.rb in punchblock-1.8.2 vs lib/punchblock/translator/freeswitch/component/input.rb in punchblock-1.9.0

- old
+ new

@@ -9,12 +9,13 @@ include InputComponent private def register_dtmf_event_handler + component = current_actor call.register_handler :es, :event_name => 'DTMF' do |event| safe_from_dead_actors do - @recognizer << event[:dtmf_digit] + component.process_dtmf event[:dtmf_digit] end end end def unregister_dtmf_event_handler