Sha256: 67aee228fb2ea211a289a18ea8e3d62da3730228a1556aeb86dca376d236be1b

Contents?: true

Size: 472 Bytes

Versions: 61

Compression:

Stored size: 472 Bytes

Contents

require "fsr/app"
module FSR
  #http://wiki.freeswitch.org/wiki/Mod_commands#uuid_dump
  module App
    class UuidDump < Application
      def initialize(uuid)
        @uuid = uuid # Unique channel ID
      end

      def arguments
        [@uuid]
      end

      def sendmsg
        "call-command: execute\nexecute-app-name: %s\nexecute-app-arg: %s\nevent-lock:true\n\n" % [app_name, arguments.join(" ")]
      end

    end

    register(:uuid_dump, UuidDump)
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
bougyman-freeswitcher-0.1.0 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.1.1 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.1.2 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.1.3 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.1.4 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.3.0 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.3.1 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.4.0 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.4.1 lib/fsr/app/uuid_dump.rb
bougyman-freeswitcher-0.4.2 lib/fsr/app/uuid_dump.rb
freeswitcher-0.8.0 lib/fsr/app/uuid_dump.rb
freeswitcher-0.7.1 lib/fsr/app/uuid_dump.rb
freeswitcher-0.7.0 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.18 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.17 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.16 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.15 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.14 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.13 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.12 lib/fsr/app/uuid_dump.rb