freeswitcher 0.4.4 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
data/AUTHORS CHANGED
@@ -11,5 +11,6 @@ Following persons have contributed to freeswitcher.
11
11
  3 Kevin Berry <kevin@opensourcealchemist.com>
12
12
  2 freeswitch <freeswitch@falcon.(none)>
13
13
  2 TJ Vanderpoel <Jayson Vaughn jv@rubyists.com>
14
+ 1 SS <SudeshnaSen@shaunak.nationwide-recovery.com>
14
15
  1 TJ Vanderpoel <bougyman@zero.(none)>
15
16
  1 U-Paul-PC\Paul <Paul@Paul-PC.(none)>
data/CHANGELOG CHANGED
@@ -1,10 +1,14 @@
1
- [0934651 | 2009-12-06 20:31:43 UTC] TJ Vanderpoel <TJ Vanderpoel tj@rubyists.com>
1
+ [bd98082 | 2010-01-16 04:41:58 UTC] TJ Vanderpoel <TJ Vanderpoel tj@rubyists.com>
2
2
 
3
- * added event-lock to playback (from spec)
3
+ * modified to work with em-spec 0.2
4
4
 
5
- [24b927d | 2009-12-06 20:28:36 UTC] TJ Vanderpoel <TJ Vanderpoel tj@rubyists.com>
5
+ [15f8138 | 2010-01-16 03:47:44 UTC] TJ Vanderpoel <TJ Vanderpoel tj@rubyists.com>
6
6
 
7
- * arguments has to be an array, sendmsg can use default (in app.rb)
7
+ * removed old github-gem reference, em-spec is now on rubyforge
8
+
9
+ [45b02a3 | 2009-12-17 22:20:30 UTC] SS <SudeshnaSen@shaunak.nationwide-recovery.com>
10
+
11
+ * resolved requirements
8
12
 
9
13
  [01589c4 | 2009-11-18 06:46:00 UTC] TJ Vanderpoel <TJ Vanderpoel tj@rubyists.com>
10
14
 
@@ -2,12 +2,135 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{freeswitcher}
5
- s.version = "0.4.4"
5
+ s.version = "0.4.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jayson Vaughn", "Michael Fellinger", "Kevin Berry", "TJ Vanderpoel"]
9
- s.date = %q{2009-12-06}
10
- s.description = %q{========================================================= FreeSWITCHeR Copyright (c) 2009 The Rubyists (Jayson Vaughn, Tj Vanderpoel, Michael Fellinger, Kevin Berry) Distributed under the terms of the MIT License. ========================================================== ABOUT ----- A ruby library for interacting with the "FreeSWITCH" (http://www.freeswitch.org) opensource telephony platform REQUIREMENTS ------------ * ruby (>= 1.8) * eventmachine (If you wish to use Outbound and Inbound listener) USAGE ----- An Outbound Event Listener Example that reads and returns DTMF input: -------------------------------------------------------------------- Simply just create a subclass of FSR::Listner::Outbound and all new calls/sessions will invoke the "session_initiated" callback method. <b>NOTE</b>: FSR uses blocks within the 'session_inititated' method to ensure that the next "freeswich command" is not executed until the previous "Freeswitch command" has finished. (Basically a continuation) This is kicked off by "answer do". #!/usr/bin/ruby require 'fsr' require 'fsr/listener/outbound' class OutboundDemo < FSR::Listener::Outbound def session_initiated exten = @session.headers[:caller_caller_id_number] FSR::Log.info "*** Answering incoming call from #{exten}" answer do FSR::Log.info "***Reading DTMF from #{exten}" read("/home/freeswitch/freeswitch/sounds/music/8000/sweet.wav", 4, 10, "input", 7000) do |read_var| FSR::Log.info "***Success, grabbed #{read_var.to_s.strip} from #{exten}" # Tell the caller what they entered speak("Got the DTMF of: #{read_var.to_s.strip}") do #Hangup the call hangup end end end end end FSR.start_oes! OutboundDemo, :port => 8084, :host => "127.0.0.1" An Inbound Event Socket Listener example using FreeSWITCHeR's hook system: -------------------------------------------------------------------------- #!/usr/bin/ruby require 'pp' require 'fsr' require "fsr/listener/inbound" # EXAMPLE 1 # This adds a hook on CHANNEL_CREATE events. You can also create a method to handle the event you're after. See the next example FSL::Inbound.add_event_hook(:CHANNEL_CREATE) { FSR::Log.info "*** [#{event.content[:unique_id]}] Channel created - greetings from the hook!" } # EXAMPLE 2 # Define a method to handle CHANNEL_HANGUP events. def custom_channel_hangup_handler(event) FSR::Log.info "*** [#{event.content[:unique_id]}] Channel hangup. The event:" pp event end # This adds a hook for EXAMPLE 2 FSL::Inbound.add_event_hook(:CHANNEL_HANGUP) { custom_channel_hangup_handler(event) } # Start FSR Inbound Listener FSR.start_ies!(FSL::Inbound, :host => "localhost", :port => 8021) An Inbound Event Socket Listener example using the on_event callback method instead of hooks: --------------------------------------------------------------------------------------------- #!/usr/bin/ruby require 'pp' require 'fsr' require "fsr/listener/inbound" class IesDemo < FSR::Listener::Inbound def on_event pp event.headers pp event.content[:event_name] end end FSR.start_ies!(IesDemo, :host => "localhost", :port => 8021, :auth => "ClueCon") An example of using FSR::CommandSocket to originate a new call in irb: ---------------------------------------------------------------------- irb(main):001:0> require 'fsr' => true irb(main):002:0> FSR.load_all_commands => [:sofia, :originate] irb(main):003:0> sock = FSR::CommandSocket.new => #<FSR::CommandSocket:0xb7a89104 @server="127.0.0.1", @socket=#<TCPSocket:0xb7a8908c>, @port="8021", @auth="ClueCon"> irb(main):007:0> sock.originate(:target => 'sofia/gateway/carlos/8179395222', :endpoint => FSR::App::Bridge.new("user/bougyman")).run => {"Job-UUID"=>"732075a4-7dd5-4258-b124-6284a82a5ae7", "body"=>"", "Content-Type"=>"command/reply", "Reply-Text"=>"+OK Job-UUID: 732075a4-7dd5-4258-b124-6284a82a5ae7"} SUPPORT ------- Home page at http://code.rubyists.com/projects/fs #rubyists on FreeNode}
9
+ s.date = %q{2010-01-15}
10
+ s.description = %q{=========================================================
11
+ FreeSWITCHeR
12
+ Copyright (c) 2009 The Rubyists (Jayson Vaughn, Tj Vanderpoel, Michael Fellinger, Kevin Berry)
13
+ Distributed under the terms of the MIT License.
14
+ ==========================================================
15
+
16
+ ABOUT
17
+ -----
18
+ A ruby library for interacting with the "FreeSWITCH" (http://www.freeswitch.org) opensource telephony platform
19
+
20
+ REQUIREMENTS
21
+ ------------
22
+ * ruby (>= 1.8)
23
+ * eventmachine (If you wish to use Outbound and Inbound listener)
24
+
25
+ USAGE
26
+ -----
27
+
28
+ An Outbound Event Listener Example that reads and returns DTMF input:
29
+ --------------------------------------------------------------------
30
+
31
+ Simply just create a subclass of FSR::Listner::Outbound and all
32
+ new calls/sessions will invoke the "session_initiated" callback method.
33
+
34
+ <b>NOTE</b>: FSR uses blocks within the 'session_inititated' method to ensure that the next "freeswich command" is not executed until the previous "Freeswitch command" has finished. (Basically a continuation) This is kicked off by "answer do".
35
+
36
+ #!/usr/bin/ruby
37
+ require 'fsr'
38
+ require 'fsr/listener/outbound'
39
+
40
+ class OutboundDemo < FSR::Listener::Outbound
41
+
42
+ def session_initiated
43
+ exten = @session.headers[:caller_caller_id_number]
44
+ FSR::Log.info "*** Answering incoming call from #{exten}"
45
+
46
+ answer do
47
+ FSR::Log.info "***Reading DTMF from #{exten}"
48
+ read("/home/freeswitch/freeswitch/sounds/music/8000/sweet.wav", 4, 10, "input", 7000) do |read_var|
49
+ FSR::Log.info "***Success, grabbed #{read_var.to_s.strip} from #{exten}"
50
+ # Tell the caller what they entered
51
+ speak("Got the DTMF of: #{read_var.to_s.strip}") do
52
+ #Hangup the call
53
+ hangup
54
+ end
55
+ end
56
+ end
57
+
58
+ end
59
+
60
+ end
61
+
62
+ FSR.start_oes! OutboundDemo, :port => 8084, :host => "127.0.0.1"
63
+
64
+ An Inbound Event Socket Listener example using FreeSWITCHeR's hook system:
65
+ --------------------------------------------------------------------------
66
+
67
+ #!/usr/bin/ruby
68
+ require 'pp'
69
+ require 'fsr'
70
+ require "fsr/listener/inbound"
71
+
72
+ # EXAMPLE 1
73
+ # This adds a hook on CHANNEL_CREATE events. You can also create a method to handle the event you're after. See the next example
74
+ FSL::Inbound.add_event_hook(:CHANNEL_CREATE) { FSR::Log.info "*** [#{event.content[:unique_id]}] Channel created - greetings from the hook!" }
75
+
76
+ # EXAMPLE 2
77
+ # Define a method to handle CHANNEL_HANGUP events.
78
+ def custom_channel_hangup_handler(event)
79
+ FSR::Log.info "*** [#{event.content[:unique_id]}] Channel hangup. The event:"
80
+ pp event
81
+ end
82
+
83
+ # This adds a hook for EXAMPLE 2
84
+ FSL::Inbound.add_event_hook(:CHANNEL_HANGUP) { custom_channel_hangup_handler(event) }
85
+
86
+
87
+ # Start FSR Inbound Listener
88
+ FSR.start_ies!(FSL::Inbound, :host => "localhost", :port => 8021)
89
+
90
+
91
+ An Inbound Event Socket Listener example using the on_event callback method instead of hooks:
92
+ ---------------------------------------------------------------------------------------------
93
+
94
+ #!/usr/bin/ruby
95
+ require 'pp'
96
+ require 'fsr'
97
+ require "fsr/listener/inbound"
98
+
99
+
100
+ class IesDemo < FSR::Listener::Inbound
101
+
102
+ def on_event
103
+ pp event.headers
104
+ pp event.content[:event_name]
105
+ end
106
+
107
+ end
108
+
109
+ FSR.start_ies!(IesDemo, :host => "localhost", :port => 8021, :auth => "ClueCon")
110
+
111
+
112
+ An example of using FSR::CommandSocket to originate a new call in irb:
113
+ ----------------------------------------------------------------------
114
+
115
+ irb(main):001:0> require 'fsr'
116
+ => true
117
+
118
+ irb(main):002:0> FSR.load_all_commands
119
+ => [:sofia, :originate]
120
+
121
+ irb(main):003:0> sock = FSR::CommandSocket.new
122
+ => #<FSR::CommandSocket:0xb7a89104 @server="127.0.0.1", @socket=#<TCPSocket:0xb7a8908c>, @port="8021", @auth="ClueCon">
123
+
124
+ irb(main):007:0> sock.originate(:target => 'sofia/gateway/carlos/8179395222', :endpoint => FSR::App::Bridge.new("user/bougyman")).run
125
+ => {"Job-UUID"=>"732075a4-7dd5-4258-b124-6284a82a5ae7", "body"=>"", "Content-Type"=>"command/reply", "Reply-Text"=>"+OK Job-UUID: 732075a4-7dd5-4258-b124-6284a82a5ae7"}
126
+
127
+
128
+
129
+ SUPPORT
130
+ -------
131
+ Home page at http://code.rubyists.com/projects/fs
132
+ #rubyists on FreeNode
133
+ }
11
134
  s.email = %q{FreeSWITCHeR@rubyists.com}
12
135
  s.files = [".gitignore", "AUTHORS", "CHANGELOG", "License.txt", "MANIFEST", "NEWS", "README", "Rakefile", "examples/inbound_event_socket.rb", "examples/inbound_socket_events.rb", "examples/outbound_event_socket.rb", "freeswitcher.gemspec", "lib/fsr.rb", "lib/fsr/app.rb", "lib/fsr/app/answer.rb", "lib/fsr/app/bind_meta_app.rb", "lib/fsr/app/bridge.rb", "lib/fsr/app/conference.rb", "lib/fsr/app/execute_app.rb", "lib/fsr/app/fifo.rb", "lib/fsr/app/fs_break.rb", "lib/fsr/app/fs_sleep.rb", "lib/fsr/app/hangup.rb", "lib/fsr/app/limit.rb", "lib/fsr/app/log.rb", "lib/fsr/app/play_and_get_digits.rb", "lib/fsr/app/playback.rb", "lib/fsr/app/read.rb", "lib/fsr/app/set.rb", "lib/fsr/app/speak.rb", "lib/fsr/app/transfer.rb", "lib/fsr/app/uuid_dump.rb", "lib/fsr/app/uuid_getvar.rb", "lib/fsr/app/uuid_setvar.rb", "lib/fsr/cmd.rb", "lib/fsr/cmd/calls.rb", "lib/fsr/cmd/fsctl.rb", "lib/fsr/cmd/originate.rb", "lib/fsr/cmd/sofia.rb", "lib/fsr/cmd/sofia/profile.rb", "lib/fsr/cmd/sofia/status.rb", "lib/fsr/cmd/sofia_contact.rb", "lib/fsr/cmd/status.rb", "lib/fsr/cmd/uuid_dump.rb", "lib/fsr/command_socket.rb", "lib/fsr/database.rb", "lib/fsr/database/call_limit.rb", "lib/fsr/database/core.rb", "lib/fsr/database/sofia_reg_external.rb", "lib/fsr/database/sofia_reg_internal.rb", "lib/fsr/database/voicemail_default.rb", "lib/fsr/event_socket.rb", "lib/fsr/fake_socket.rb", "lib/fsr/listener.rb", "lib/fsr/listener/header_and_content_response.rb", "lib/fsr/listener/inbound.rb", "lib/fsr/listener/inbound/event.rb", "lib/fsr/listener/mock.rb", "lib/fsr/listener/outbound.rb", "lib/fsr/model/call.rb", "lib/fsr/version.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/copyright.rake", "tasks/gem.rake", "tasks/gem_installer.rake", "tasks/install_dependencies.rake", "tasks/manifest.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/setup.rake", "tasks/spec.rake", "tasks/yard.rake", "spec/helper.rb", "spec/fsr_listener_helper.rb", "spec/fsr/app.rb", "spec/fsr/app/answer.rb", "spec/fsr/app/bind_meta_app.rb", "spec/fsr/app/bridge.rb", "spec/fsr/app/conference.rb", "spec/fsr/app/execute_app.rb", "spec/fsr/app/fifo.rb", "spec/fsr/app/fs_break.rb", "spec/fsr/app/fs_sleep.rb", "spec/fsr/app/hangup.rb", "spec/fsr/app/limit.rb", "spec/fsr/app/log.rb", "spec/fsr/app/play_and_get_digits.rb", "spec/fsr/app/playback.rb", "spec/fsr/app/set.rb", "spec/fsr/app/transfer.rb", "spec/fsr/cmd.rb", "spec/fsr/cmd/calls.rb", "spec/fsr/cmd/originate.rb", "spec/fsr/cmd/sofia.rb", "spec/fsr/cmd/sofia/profile.rb", "spec/fsr/cmd/uuid_dump.rb", "spec/fsr/listener.rb", "spec/fsr/listener/header_and_content_response.rb", "spec/fsr/listener/inbound.rb", "spec/fsr/listener/outbound.rb", "spec/fsr/loading.rb"]
13
136
  s.homepage = %q{http://code.rubyists.com/projects/fs}
@@ -137,13 +260,13 @@ Home page at http://code.rubyists.com/projects/fs
137
260
  }
138
261
  s.require_paths = ["lib"]
139
262
  s.rubyforge_project = %q{freeswitcher}
140
- s.rubygems_version = %q{1.3.1}
263
+ s.rubygems_version = %q{1.3.5}
141
264
  s.summary = %q{A library for interacting with the "FreeSWITCH":http://freeswitch.org telephony platform}
142
265
  s.test_files = ["spec/fsr/app.rb", "spec/fsr/app/answer.rb", "spec/fsr/app/bind_meta_app.rb", "spec/fsr/app/bridge.rb", "spec/fsr/app/conference.rb", "spec/fsr/app/execute_app.rb", "spec/fsr/app/fifo.rb", "spec/fsr/app/fs_break.rb", "spec/fsr/app/fs_sleep.rb", "spec/fsr/app/hangup.rb", "spec/fsr/app/limit.rb", "spec/fsr/app/log.rb", "spec/fsr/app/play_and_get_digits.rb", "spec/fsr/app/playback.rb", "spec/fsr/app/set.rb", "spec/fsr/app/transfer.rb", "spec/fsr/cmd.rb", "spec/fsr/cmd/calls.rb", "spec/fsr/cmd/originate.rb", "spec/fsr/cmd/sofia.rb", "spec/fsr/cmd/sofia/profile.rb", "spec/fsr/cmd/uuid_dump.rb", "spec/fsr/listener.rb", "spec/fsr/listener/header_and_content_response.rb", "spec/fsr/listener/inbound.rb", "spec/fsr/listener/outbound.rb", "spec/fsr/loading.rb"]
143
266
 
144
267
  if s.respond_to? :specification_version then
145
268
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
146
- s.specification_version = 2
269
+ s.specification_version = 3
147
270
 
148
271
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
149
272
  s.add_runtime_dependency(%q<eventmachine>, [">= 0"])
@@ -9,11 +9,11 @@ module FSR
9
9
  @wavfile = wavfile
10
10
  end
11
11
  def arguments
12
- [@wavfile]
12
+ @wavfile
13
13
  end
14
14
 
15
15
  def sendmsg
16
- "call-command: execute\nexecute-app-name: %s\nexecute-app-arg: %s\nevent-lock:true\n\n" % [app_name, arguments.join("|")]
16
+ "call-command: execute\nexecute-app-name: %s\nexecute-app-arg: %s\nevent-lock:true\n\n" % [app_name, arguments]
17
17
  end
18
18
  end
19
19
 
@@ -1,3 +1,3 @@
1
1
  module FSR
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.6"
3
3
  end
@@ -2,7 +2,7 @@ require 'spec/helper'
2
2
  require 'lib/fsr'
3
3
  require "fsr/listener"
4
4
  require "fsr/listener/inbound"
5
- require "em/spec"
5
+ require "em-spec/bacon"
6
6
 
7
7
  # Bare class to use for testing
8
8
  class InboundListener < FSR::Listener::Inbound
@@ -1,7 +1,9 @@
1
- require "lib/fsr"
2
- require FSR::ROOT/".."/:spec/:helper
3
- require FSR::ROOT/:fsr/:listener/:outbound
4
- require "em/spec"
1
+ require 'spec/helper'
2
+ require 'lib/fsr'
3
+ require "fsr/listener"
4
+ require "fsr/listener/inbound"
5
+ require "fsr/listener/outbound"
6
+ require "em-spec/bacon"
5
7
 
6
8
  # Bare class to use for testing
7
9
  class MyListener < FSR::Listener::Outbound
@@ -1,8 +1,8 @@
1
1
  require File.join(File.expand_path("../", __FILE__), "../lib/fsr")
2
2
  require FSR::ROOT/".."/:spec/:helper
3
3
  require FSR::ROOT/:fsr/:listener/:outbound
4
- gem "tmm1-em-spec"
5
- require "em/spec"
4
+ require "em-spec/bacon"
5
+ EM.spec_backend = EventMachine::Spec::Bacon
6
6
  require "fileutils"
7
7
 
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freeswitcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Vaughn
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2009-12-06 00:00:00 -06:00
15
+ date: 2010-01-15 00:00:00 -06:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -25,94 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: "0"
27
27
  version:
28
- description: "========================================================= FreeSWITCHeR Copyright (c) 2009 The Rubyists (Jayson Vaughn, Tj Vanderpoel, Michael Fellinger, Kevin Berry) Distributed under the terms of the MIT License. ========================================================== ABOUT ----- A ruby library for interacting with the \"FreeSWITCH\" (http://www.freeswitch.org) opensource telephony platform REQUIREMENTS ------------ * ruby (>= 1.8) * eventmachine (If you wish to use Outbound and Inbound listener) USAGE ----- An Outbound Event Listener Example that reads and returns DTMF input: -------------------------------------------------------------------- Simply just create a subclass of FSR::Listner::Outbound and all new calls/sessions will invoke the \"session_initiated\" callback method. <b>NOTE</b>: FSR uses blocks within the 'session_inititated' method to ensure that the next \"freeswich command\" is not executed until the previous \"Freeswitch command\" has finished. (Basically a continuation) This is kicked off by \"answer do\". #!/usr/bin/ruby require 'fsr' require 'fsr/listener/outbound' class OutboundDemo < FSR::Listener::Outbound def session_initiated exten = @session.headers[:caller_caller_id_number] FSR::Log.info \"*** Answering incoming call from #{exten}\" answer do FSR::Log.info \"***Reading DTMF from #{exten}\" read(\"/home/freeswitch/freeswitch/sounds/music/8000/sweet.wav\", 4, 10, \"input\", 7000) do |read_var| FSR::Log.info \"***Success, grabbed #{read_var.to_s.strip} from #{exten}\" # Tell the caller what they entered speak(\"Got the DTMF of: #{read_var.to_s.strip}\") do #Hangup the call hangup end end end end end FSR.start_oes! OutboundDemo, :port => 8084, :host => \"127.0.0.1\" An Inbound Event Socket Listener example using FreeSWITCHeR's hook system: -------------------------------------------------------------------------- #!/usr/bin/ruby require 'pp' require 'fsr' require \"fsr/listener/inbound\" # EXAMPLE 1 # This adds a hook on CHANNEL_CREATE events. You can also create a method to handle the event you're after. See the next example FSL::Inbound.add_event_hook(:CHANNEL_CREATE) { FSR::Log.info \"*** [#{event.content[:unique_id]}] Channel created - greetings from the hook!\" } # EXAMPLE 2 # Define a method to handle CHANNEL_HANGUP events. def custom_channel_hangup_handler(event) FSR::Log.info \"*** [#{event.content[:unique_id]}] Channel hangup. The event:\" pp event end # This adds a hook for EXAMPLE 2 FSL::Inbound.add_event_hook(:CHANNEL_HANGUP) { custom_channel_hangup_handler(event) } # Start FSR Inbound Listener FSR.start_ies!(FSL::Inbound, :host => \"localhost\", :port => 8021) An Inbound Event Socket Listener example using the on_event callback method instead of hooks: --------------------------------------------------------------------------------------------- #!/usr/bin/ruby require 'pp' require 'fsr' require \"fsr/listener/inbound\" class IesDemo < FSR::Listener::Inbound def on_event pp event.headers pp event.content[:event_name] end end FSR.start_ies!(IesDemo, :host => \"localhost\", :port => 8021, :auth => \"ClueCon\") An example of using FSR::CommandSocket to originate a new call in irb: ---------------------------------------------------------------------- irb(main):001:0> require 'fsr' => true irb(main):002:0> FSR.load_all_commands => [:sofia, :originate] irb(main):003:0> sock = FSR::CommandSocket.new => #<FSR::CommandSocket:0xb7a89104 @server=\"127.0.0.1\", @socket=#<TCPSocket:0xb7a8908c>, @port=\"8021\", @auth=\"ClueCon\"> irb(main):007:0> sock.originate(:target => 'sofia/gateway/carlos/8179395222', :endpoint => FSR::App::Bridge.new(\"user/bougyman\")).run => {\"Job-UUID\"=>\"732075a4-7dd5-4258-b124-6284a82a5ae7\", \"body\"=>\"\", \"Content-Type\"=>\"command/reply\", \"Reply-Text\"=>\"+OK Job-UUID: 732075a4-7dd5-4258-b124-6284a82a5ae7\"} SUPPORT ------- Home page at http://code.rubyists.com/projects/fs #rubyists on FreeNode"
29
- email: FreeSWITCHeR@rubyists.com
30
- executables: []
31
-
32
- extensions: []
33
-
34
- extra_rdoc_files: []
35
-
36
- files:
37
- - .gitignore
38
- - AUTHORS
39
- - CHANGELOG
40
- - License.txt
41
- - MANIFEST
42
- - NEWS
43
- - README
44
- - Rakefile
45
- - examples/inbound_event_socket.rb
46
- - examples/inbound_socket_events.rb
47
- - examples/outbound_event_socket.rb
48
- - freeswitcher.gemspec
49
- - lib/fsr.rb
50
- - lib/fsr/app.rb
51
- - lib/fsr/app/answer.rb
52
- - lib/fsr/app/bind_meta_app.rb
53
- - lib/fsr/app/bridge.rb
54
- - lib/fsr/app/conference.rb
55
- - lib/fsr/app/execute_app.rb
56
- - lib/fsr/app/fifo.rb
57
- - lib/fsr/app/fs_break.rb
58
- - lib/fsr/app/fs_sleep.rb
59
- - lib/fsr/app/hangup.rb
60
- - lib/fsr/app/limit.rb
61
- - lib/fsr/app/log.rb
62
- - lib/fsr/app/play_and_get_digits.rb
63
- - lib/fsr/app/playback.rb
64
- - lib/fsr/app/read.rb
65
- - lib/fsr/app/set.rb
66
- - lib/fsr/app/speak.rb
67
- - lib/fsr/app/transfer.rb
68
- - lib/fsr/app/uuid_dump.rb
69
- - lib/fsr/app/uuid_getvar.rb
70
- - lib/fsr/app/uuid_setvar.rb
71
- - lib/fsr/cmd.rb
72
- - lib/fsr/cmd/calls.rb
73
- - lib/fsr/cmd/fsctl.rb
74
- - lib/fsr/cmd/originate.rb
75
- - lib/fsr/cmd/sofia.rb
76
- - lib/fsr/cmd/sofia/profile.rb
77
- - lib/fsr/cmd/sofia/status.rb
78
- - lib/fsr/cmd/sofia_contact.rb
79
- - lib/fsr/cmd/status.rb
80
- - lib/fsr/cmd/uuid_dump.rb
81
- - lib/fsr/command_socket.rb
82
- - lib/fsr/database.rb
83
- - lib/fsr/database/call_limit.rb
84
- - lib/fsr/database/core.rb
85
- - lib/fsr/database/sofia_reg_external.rb
86
- - lib/fsr/database/sofia_reg_internal.rb
87
- - lib/fsr/database/voicemail_default.rb
88
- - lib/fsr/event_socket.rb
89
- - lib/fsr/fake_socket.rb
90
- - lib/fsr/listener.rb
91
- - lib/fsr/listener/header_and_content_response.rb
92
- - lib/fsr/listener/inbound.rb
93
- - lib/fsr/listener/inbound/event.rb
94
- - lib/fsr/listener/mock.rb
95
- - lib/fsr/listener/outbound.rb
96
- - lib/fsr/model/call.rb
97
- - lib/fsr/version.rb
98
- - tasks/authors.rake
99
- - tasks/bacon.rake
100
- - tasks/changelog.rake
101
- - tasks/copyright.rake
102
- - tasks/gem.rake
103
- - tasks/gem_installer.rake
104
- - tasks/install_dependencies.rake
105
- - tasks/manifest.rake
106
- - tasks/release.rake
107
- - tasks/reversion.rake
108
- - tasks/setup.rake
109
- - tasks/spec.rake
110
- - tasks/yard.rake
111
- - spec/helper.rb
112
- - spec/fsr_listener_helper.rb
113
- has_rdoc: false
114
- homepage: http://code.rubyists.com/projects/fs
115
- post_install_message: |
28
+ description: &id001 |
116
29
  =========================================================
117
30
  FreeSWITCHeR
118
31
  Copyright (c) 2009 The Rubyists (Jayson Vaughn, Tj Vanderpoel, Michael Fellinger, Kevin Berry)
@@ -237,6 +150,95 @@ post_install_message: |
237
150
  Home page at http://code.rubyists.com/projects/fs
238
151
  #rubyists on FreeNode
239
152
 
153
+ email: FreeSWITCHeR@rubyists.com
154
+ executables: []
155
+
156
+ extensions: []
157
+
158
+ extra_rdoc_files: []
159
+
160
+ files:
161
+ - .gitignore
162
+ - AUTHORS
163
+ - CHANGELOG
164
+ - License.txt
165
+ - MANIFEST
166
+ - NEWS
167
+ - README
168
+ - Rakefile
169
+ - examples/inbound_event_socket.rb
170
+ - examples/inbound_socket_events.rb
171
+ - examples/outbound_event_socket.rb
172
+ - freeswitcher.gemspec
173
+ - lib/fsr.rb
174
+ - lib/fsr/app.rb
175
+ - lib/fsr/app/answer.rb
176
+ - lib/fsr/app/bind_meta_app.rb
177
+ - lib/fsr/app/bridge.rb
178
+ - lib/fsr/app/conference.rb
179
+ - lib/fsr/app/execute_app.rb
180
+ - lib/fsr/app/fifo.rb
181
+ - lib/fsr/app/fs_break.rb
182
+ - lib/fsr/app/fs_sleep.rb
183
+ - lib/fsr/app/hangup.rb
184
+ - lib/fsr/app/limit.rb
185
+ - lib/fsr/app/log.rb
186
+ - lib/fsr/app/play_and_get_digits.rb
187
+ - lib/fsr/app/playback.rb
188
+ - lib/fsr/app/read.rb
189
+ - lib/fsr/app/set.rb
190
+ - lib/fsr/app/speak.rb
191
+ - lib/fsr/app/transfer.rb
192
+ - lib/fsr/app/uuid_dump.rb
193
+ - lib/fsr/app/uuid_getvar.rb
194
+ - lib/fsr/app/uuid_setvar.rb
195
+ - lib/fsr/cmd.rb
196
+ - lib/fsr/cmd/calls.rb
197
+ - lib/fsr/cmd/fsctl.rb
198
+ - lib/fsr/cmd/originate.rb
199
+ - lib/fsr/cmd/sofia.rb
200
+ - lib/fsr/cmd/sofia/profile.rb
201
+ - lib/fsr/cmd/sofia/status.rb
202
+ - lib/fsr/cmd/sofia_contact.rb
203
+ - lib/fsr/cmd/status.rb
204
+ - lib/fsr/cmd/uuid_dump.rb
205
+ - lib/fsr/command_socket.rb
206
+ - lib/fsr/database.rb
207
+ - lib/fsr/database/call_limit.rb
208
+ - lib/fsr/database/core.rb
209
+ - lib/fsr/database/sofia_reg_external.rb
210
+ - lib/fsr/database/sofia_reg_internal.rb
211
+ - lib/fsr/database/voicemail_default.rb
212
+ - lib/fsr/event_socket.rb
213
+ - lib/fsr/fake_socket.rb
214
+ - lib/fsr/listener.rb
215
+ - lib/fsr/listener/header_and_content_response.rb
216
+ - lib/fsr/listener/inbound.rb
217
+ - lib/fsr/listener/inbound/event.rb
218
+ - lib/fsr/listener/mock.rb
219
+ - lib/fsr/listener/outbound.rb
220
+ - lib/fsr/model/call.rb
221
+ - lib/fsr/version.rb
222
+ - tasks/authors.rake
223
+ - tasks/bacon.rake
224
+ - tasks/changelog.rake
225
+ - tasks/copyright.rake
226
+ - tasks/gem.rake
227
+ - tasks/gem_installer.rake
228
+ - tasks/install_dependencies.rake
229
+ - tasks/manifest.rake
230
+ - tasks/release.rake
231
+ - tasks/reversion.rake
232
+ - tasks/setup.rake
233
+ - tasks/spec.rake
234
+ - tasks/yard.rake
235
+ - spec/helper.rb
236
+ - spec/fsr_listener_helper.rb
237
+ has_rdoc: true
238
+ homepage: http://code.rubyists.com/projects/fs
239
+ licenses: []
240
+
241
+ post_install_message: *id001
240
242
  rdoc_options: []
241
243
 
242
244
  require_paths:
@@ -256,9 +258,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
256
258
  requirements: []
257
259
 
258
260
  rubyforge_project: freeswitcher
259
- rubygems_version: 1.3.1
261
+ rubygems_version: 1.3.5
260
262
  signing_key:
261
- specification_version: 2
263
+ specification_version: 3
262
264
  summary: A library for interacting with the "FreeSWITCH":http://freeswitch.org telephony platform
263
265
  test_files:
264
266
  - spec/fsr/app.rb