Class: Adhearsion::VoIP::Asterisk::AMI::Actions::OriginateAction

Inherits:
Action
  • Object
show all
Defined in:
lib/adhearsion/voip/asterisk/ami/actions.rb

Instance Attribute Summary

Attributes inherited from Action

#action, #action_id

Instance Method Summary collapse

Methods inherited from Action

#<<, [], []=, build, #check_error!, #complete!, #complete_async!, #complete_sync!, #completed_by?, #completed_by_async?, #done?, #follows?, #has_response?, #immediate?, inherited, #initialize, #keep?, #keep_event?, #packets!, #to_s, #waits_for_events?

Constructor Details

This class inherits a constructor from Adhearsion::VoIP::Asterisk::AMI::Actions::Action

Instance Method Details

#async?Boolean

Return true if this action will return events, i.e. it is asynchronous. This is controlled by the ‘Async’ argument to the command.

Returns:

  • (Boolean)


199
200
201
# File 'lib/adhearsion/voip/asterisk/ami/actions.rb', line 199

def async?
  @arguments['async'] == true
end