Module: Adhearsion
- Defined in:
- lib/adhearsion/version.rb,
lib/adhearsion.rb,
lib/adhearsion/cli.rb,
lib/adhearsion/logging.rb,
lib/adhearsion/initializer.rb,
lib/adhearsion/voip/commands.rb,
lib/adhearsion/events_support.rb,
lib/adhearsion/voip/constants.rb,
lib/adhearsion/voip/dial_plan.rb,
lib/adhearsion/initializer/drb.rb,
lib/adhearsion/host_definitions.rb,
lib/adhearsion/component_manager.rb,
lib/adhearsion/initializer/rails.rb,
lib/adhearsion/voip/call_routing.rb,
lib/adhearsion/voip/conveniences.rb,
lib/adhearsion/initializer/asterisk.rb,
lib/adhearsion/initializer/database.rb,
lib/adhearsion/voip/asterisk/agi_server.rb,
lib/adhearsion/voip/dsl/dialplan/parser.rb,
lib/adhearsion/initializer/configuration.rb,
lib/adhearsion/voip/dsl/numerical_string.rb,
lib/adhearsion/voip/freeswitch/oes_server.rb,
lib/adhearsion/voip/asterisk/super_manager.rb,
lib/adhearsion/foundation/custom_daemonizer.rb,
lib/adhearsion/voip/asterisk/config_manager.rb,
lib/adhearsion/voip/dsl/dialplan/dispatcher.rb,
lib/adhearsion/voip/freeswitch/event_handler.rb,
lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb,
lib/adhearsion/voip/asterisk/manager_interface.rb,
lib/adhearsion/voip/menu_state_machine/matchers.rb,
lib/adhearsion/voip/menu_state_machine/menu_class.rb,
lib/adhearsion/voip/menu_state_machine/menu_builder.rb,
lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb,
lib/adhearsion/voip/freeswitch/basic_connection_manager.rb,
lib/adhearsion/voip/menu_state_machine/calculated_match.rb,
lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb,
lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb,
lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb,
lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb,
lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb,
lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb,
lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb,
lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb,
lib/adhearsion/voip/asterisk/config_generators/config_generator.rb,
lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb
Overview
This is largely based on the Daemonize library by Travis Whitton and Judson Lester. grub.ath.cx/daemonize. I cleaned it up a bit to meet Adhearsion’s quality standards.
Defined Under Namespace
Modules: CLI, Components, CustomDaemonizer, Events, Logging, VERSION, VoIP Classes: Configuration, DialPlan, HostDefinition, Initializer, PathString
Constant Summary collapse
- AHN_INSTALL_DIR =
Sets up the Gem require path.
File.(File.dirname(__FILE__) + "/..")
- AHN_CONFIG =
Configuration.new
- IMPORTANT_THREADS =
This Array holds all the Threads whose life matters. Adhearsion will not exit until all of these have died.
[]
Class Method Summary collapse
-
.shutdown! ⇒ Object
Shuts down the framework.