lib/adhearsion-asr/prompt_builder.rb in adhearsion-asr-1.1.0 vs lib/adhearsion-asr/prompt_builder.rb in adhearsion-asr-1.1.1
- old
+ new
@@ -52,9 +52,11 @@
result.status = :nomatch
when Punchblock::Component::Input::Complete::NoInput
result.status = :noinput
when Punchblock::Event::Complete::Hangup
result.status = :hangup
+ when Punchblock::Event::Complete::Stop
+ result.status = :stop
else
raise "Unknown completion reason received: #{reason}"
end
logger.debug "Ask completed with result #{result.inspect}"
end