# File lib/adhearsion/voip/asterisk/commands.rb, line 140 def input(digits = nil, options = {}) timeout = options[:timeout] timeout = (timeout && timeout != -1) ? (timeout * 1000).to_i : -1 play = options[:play] || 'beep' result = raw_response("GET DATA #{play} #{timeout} #{digits}") extract_input_from result end