# File lib/adhearsion/voip/asterisk/ami/actions.rb, line 136 def completed_by_async?(packet) return false if not async? return false if not packet.is_event? statuses = %w(success failure).collect { |status| "#{@action}#{status}" } statuses.include?(packet.event.downcase) end