Method: Asterisk::AMI#command

Defined in:
lib/ami.rb

#command(command) ⇒ Object



35
36
37
# File 'lib/ami.rb', line 35

def command(command)
  Asterisk::Action.new("Command", {"Command" => command}).send(@connection)
end