Sha256: a38da6c3948e0293f0e8f727a5d037a3e196beb7a2f796f02661b2955f6c201e
Contents?: true
Size: 906 Bytes
Versions: 12
Compression:
Stored size: 906 Bytes
Contents
# THIS FREESWITCH LIBRARY HASN'T BEEN INTEGRATED INTO THE REFACTORED 0.8.0 YET. # WHAT EXISTS HERE IS OLD, MUST BE CHANGED, AND DOES NOT EVEN GET LOADED AT THE MOMENT. require "adhearsion/voip/freeswitch/oes_server" require "adhearsion/voip/freeswitch/event_handler" require "adhearsion/voip/freeswitch/inbound_connection_manager" require "adhearsion/voip/dsl/dialplan/control_passing_exception" oes_enabled = Adhearsion::Configuration.core.voip.freeswitch.oes && Adhearsion::Configuration.core.voip.freeswitch.oes.port if oes_enabled port = Adhearsion::Configuration.core.voip.freeswitch.oes.port host = Adhearsion::Configuration.core.voip.freeswitch.oes.host server = Adhearsion::VoIP::FreeSwitch::OesServer.new port, host Events.register_callback(:after_initialized) { server.start } Events.register_callback(:shutdown) { server.stop } IMPORTANT_THREADS << server end
Version data entries
12 entries across 12 versions & 6 rubygems