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.6.11 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.10 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.9 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.8 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.7 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.6 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.5 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.4 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.3 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.2 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.1 lib/fsr/app/uuid_dump.rb
freeswitcher-0.6.0 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.11 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.10 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.9 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.8 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.7 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.6 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.5 lib/fsr/app/uuid_dump.rb
freeswitcher-0.5.4 lib/fsr/app/uuid_dump.rb