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
freeswitcher-0.5.3 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.2 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.1 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.0 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.10 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.9 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.8 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.7 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.6 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.4 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.3 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.2 lib/fsr/app/uuid_dump.rb
freeswitcher-0.0.13 lib/fsr/app/uuid_dump.rb
freeswitcher-0.0.11 lib/fsr/app/uuid_dump.rb
freeswitcher-0.1.4 lib/fsr/app/uuid_dump.rb
freeswitcher-0.1.3 lib/fsr/app/uuid_dump.rb
freeswitcher-0.0.12 lib/fsr/app/uuid_dump.rb
freeswitcher-0.3.0 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.1 lib/fsr/app/uuid_dump.rb
freeswitcher-0.4.0 lib/fsr/app/uuid_dump.rb