freeswitcher 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ require "fsr/app"
2
+ module FSR
3
+ module App
4
+ class Callcenter < Application
5
+ attr_reader :queue
6
+ def initialize(queue)
7
+ @queue = queue
8
+ end
9
+
10
+ def arguments
11
+ [queue]
12
+ end
13
+
14
+ def sendmsg
15
+ "call-command: execute\nexecute-app-name: %s\nexecute-app-arg: %s\nevent-lock:true\n\n" % [app_name, arguments.join(" ")]
16
+ end
17
+ end
18
+
19
+ register(:callcenter, CallCenter)
20
+ end
21
+ end
data/lib/fsr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FSR
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 6
9
- version: 0.5.6
8
+ - 7
9
+ version: 0.5.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jayson Vaughn
@@ -60,6 +60,7 @@ files:
60
60
  - lib/fsr/app/answer.rb
61
61
  - lib/fsr/app/bind_meta_app.rb
62
62
  - lib/fsr/app/bridge.rb
63
+ - lib/fsr/app/callcenter.rb
63
64
  - lib/fsr/app/conference.rb
64
65
  - lib/fsr/app/execute_app.rb
65
66
  - lib/fsr/app/fifo.rb