Sha256: 2e79b3dcb8d2052b21195e99acd3346561dbde872b6c6b374a26b93ef8d6c483

Contents?: true

Size: 247 Bytes

Versions: 16

Compression:

Stored size: 247 Bytes

Contents

# encoding: utf-8

module Adhearsion
  class Router
    module OpenendedRoute
      def openended?
        true
      end

      def dispatch(call, callback = nil)
        call[:ahn_prevent_hangup] = true
        super
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
adhearsion-2.4.0 lib/adhearsion/router/openended_route.rb
adhearsion-2.4.0.beta3 lib/adhearsion/router/openended_route.rb
adhearsion-2.4.0.beta2 lib/adhearsion/router/openended_route.rb
adhearsion-2.4.0.beta1 lib/adhearsion/router/openended_route.rb
adhearsion-2.3.5 lib/adhearsion/router/openended_route.rb
adhearsion-2.3.4 lib/adhearsion/router/openended_route.rb
adhearsion-2.3.3 lib/adhearsion/router/openended_route.rb
adhearsion-2.3.2 lib/adhearsion/router/openended_route.rb
adhearsion-2.3.1 lib/adhearsion/router/openended_route.rb
adhearsion-2.3.0 lib/adhearsion/router/openended_route.rb
adhearsion-2.2.1 lib/adhearsion/router/openended_route.rb
adhearsion-2.2.0 lib/adhearsion/router/openended_route.rb
adhearsion-2.1.3 lib/adhearsion/router/openended_route.rb
adhearsion-2.1.2 lib/adhearsion/router/openended_route.rb
adhearsion-2.1.1 lib/adhearsion/router/openended_route.rb
adhearsion-2.1.0 lib/adhearsion/router/openended_route.rb