Sha256: 08ebf01fc5f95520c62f2d6d0e81dcde50ceed9600fce265d8c7acc8e8693027

Contents?: true

Size: 467 Bytes

Versions: 14

Compression:

Stored size: 467 Bytes

Contents

require 'spec/helper'
require "fsr/cmd"
FSR::Cmd.load_command("originate")

describe "Testing FSR::Cmd::Originate" do
  # Originate to an extension
  it "Originates calls to extensions" do
    originate = FSR::Cmd::Originate.new(nil, :target => "user/bougyman", :endpoint => "4000")
    originate.raw.should == "originate {ignore_early_media=true,originate_timeout=30,origination_caller_id_name=FSR,origination_caller_id_number=8675309}user/bougyman 4000"
  end

end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
bougyman-freeswitcher-0.0.9 spec/fsr/cmd/originate.rb
bougyman-freeswitcher-0.1.0 spec/fsr/cmd/originate.rb
bougyman-freeswitcher-0.1.1 spec/fsr/cmd/originate.rb
bougyman-freeswitcher-0.1.2 spec/fsr/cmd/originate.rb
bougyman-freeswitcher-0.1.3 spec/fsr/cmd/originate.rb
bougyman-freeswitcher-0.1.4 spec/fsr/cmd/originate.rb
FreeSWITCHeR-0.0.8 spec/fsr/cmd/originate.rb
freeswitcher-0.0.10 spec/fsr/cmd/originate.rb
freeswitcher-0.0.12 spec/fsr/cmd/originate.rb
freeswitcher-0.1.4 spec/fsr/cmd/originate.rb
freeswitcher-0.1.3 spec/fsr/cmd/originate.rb
freeswitcher-0.0.9 spec/fsr/cmd/originate.rb
freeswitcher-0.0.13 spec/fsr/cmd/originate.rb
freeswitcher-0.0.11 spec/fsr/cmd/originate.rb