require 'rubygems' require 'eventmachine' require 'active_support' require 'larynx/version' require 'larynx/logger' require 'larynx/server' require 'larynx/observable' require 'larynx/callbacks' require 'larynx/callbacks_with_async' require 'larynx/session' require 'larynx/response' require 'larynx/command' require 'larynx/commands' require 'larynx/prompt' require 'larynx/application' require 'larynx/field' require 'larynx/form' require 'larynx/restartable_timer' require 'larynx/call_handler' module Larynx class << self include Callbacks define_callback :connect, :answer, :hungup end # Default connect callback is to answer call connect {|call| call.answer } end