lib/punchblock/connection/freeswitch.rb in punchblock-2.0.0.beta1 vs lib/punchblock/connection/freeswitch.rb in punchblock-2.0.0.beta2
- old
+ new
@@ -7,10 +7,10 @@
class Freeswitch < GenericConnection
attr_reader :translator, :stream
attr_accessor :event_handler
def initialize(options = {})
- @translator = Translator::Freeswitch.new self, options[:media_engine], options[:default_voice]
+ @translator = Translator::Freeswitch.new self
@stream_options = options.values_at(:host, :port, :password)
@stream = new_fs_stream
super()
end