adhearsion 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -1
- data/lib/adhearsion/initializer.rb +1 -1
- data/lib/adhearsion/version.rb +1 -1
- data/lib/adhearsion/voip/asterisk/commands.rb +135 -133
- data/lib/adhearsion/voip/asterisk/manager_interface.rb +39 -51
- data/spec/voip/asterisk/commands_spec.rb +3 -3
- metadata +383 -410
@@ -133,7 +133,7 @@ module DialplanCommandTestHelpers
|
|
133
133
|
|
134
134
|
module OutputStreamMatchers
|
135
135
|
def pbx_was_asked_to_play(*audio_files)
|
136
|
-
audio_files.each do |audio_file|
|
136
|
+
audio_files.flatten.each do |audio_file|
|
137
137
|
output_stream_matches(/playback "#{audio_file}"/)
|
138
138
|
end
|
139
139
|
end
|
@@ -311,8 +311,8 @@ describe 'play command' do
|
|
311
311
|
pbx_should_respond_with_success
|
312
312
|
end
|
313
313
|
audio_files = ["cents-per-minute", 'o-hai']
|
314
|
-
mock_call.play
|
315
|
-
pbx_was_asked_to_play
|
314
|
+
mock_call.play audio_files
|
315
|
+
pbx_was_asked_to_play audio_files
|
316
316
|
end
|
317
317
|
|
318
318
|
it 'If a number is passed to play(), the saynumber application is executed with the number as an argument' do
|
metadata
CHANGED
@@ -1,374 +1,351 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
4
|
+
prerelease: false
|
6
5
|
segments:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
version: 1.0.
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 3
|
9
|
+
version: 1.0.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
|
-
- Jay Phillips
|
14
|
-
- Jason Goecke
|
15
|
-
- Ben Klang
|
16
|
-
- Ben Langfeld
|
12
|
+
- Jay Phillips
|
13
|
+
- Jason Goecke
|
14
|
+
- Ben Klang
|
15
|
+
- Ben Langfeld
|
17
16
|
autorequire:
|
18
17
|
bindir: bin
|
19
18
|
cert_chain: []
|
20
19
|
|
21
|
-
date: 2011-
|
20
|
+
date: 2011-05-05 00:00:00 -04:00
|
22
21
|
default_executable:
|
23
22
|
dependencies:
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
- !ruby/object:Gem::
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
- !ruby/object:Gem::
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
- - ">="
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
hash: 3
|
171
|
-
segments:
|
172
|
-
- 0
|
173
|
-
version: "0"
|
174
|
-
type: :development
|
175
|
-
version_requirements: *id010
|
176
|
-
- !ruby/object:Gem::Dependency
|
177
|
-
name: rake
|
178
|
-
prerelease: false
|
179
|
-
requirement: &id011 !ruby/object:Gem::Requirement
|
180
|
-
none: false
|
181
|
-
requirements:
|
182
|
-
- - ">="
|
183
|
-
- !ruby/object:Gem::Version
|
184
|
-
hash: 3
|
185
|
-
segments:
|
186
|
-
- 0
|
187
|
-
version: "0"
|
188
|
-
type: :development
|
189
|
-
version_requirements: *id011
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: bundler
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
- 10
|
34
|
+
version: 1.0.10
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: log4r
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
segments:
|
45
|
+
- 1
|
46
|
+
- 0
|
47
|
+
- 5
|
48
|
+
version: 1.0.5
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: activesupport
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
segments:
|
59
|
+
- 2
|
60
|
+
- 1
|
61
|
+
- 0
|
62
|
+
version: 2.1.0
|
63
|
+
type: :runtime
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: i18n
|
67
|
+
prerelease: false
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
type: :runtime
|
76
|
+
version_requirements: *id004
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: rubigen
|
79
|
+
prerelease: false
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
segments:
|
85
|
+
- 1
|
86
|
+
- 5
|
87
|
+
- 6
|
88
|
+
version: 1.5.6
|
89
|
+
type: :runtime
|
90
|
+
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: rake
|
93
|
+
prerelease: false
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
segments:
|
99
|
+
- 0
|
100
|
+
version: "0"
|
101
|
+
type: :runtime
|
102
|
+
version_requirements: *id006
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rubigen
|
105
|
+
prerelease: false
|
106
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
segments:
|
111
|
+
- 1
|
112
|
+
- 5
|
113
|
+
- 6
|
114
|
+
version: 1.5.6
|
115
|
+
type: :development
|
116
|
+
version_requirements: *id007
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rspec
|
119
|
+
prerelease: false
|
120
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
segments:
|
125
|
+
- 2
|
126
|
+
- 4
|
127
|
+
- 0
|
128
|
+
version: 2.4.0
|
129
|
+
type: :development
|
130
|
+
version_requirements: *id008
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: flexmock
|
133
|
+
prerelease: false
|
134
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
segments:
|
139
|
+
- 0
|
140
|
+
version: "0"
|
141
|
+
type: :development
|
142
|
+
version_requirements: *id009
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: activerecord
|
145
|
+
prerelease: false
|
146
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
segments:
|
151
|
+
- 0
|
152
|
+
version: "0"
|
153
|
+
type: :development
|
154
|
+
version_requirements: *id010
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: rake
|
157
|
+
prerelease: false
|
158
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
segments:
|
163
|
+
- 0
|
164
|
+
version: "0"
|
165
|
+
type: :development
|
166
|
+
version_requirements: *id011
|
190
167
|
description: Adhearsion is an open-source telephony development framework
|
191
168
|
email: dev&Adhearsion.com
|
192
169
|
executables:
|
193
|
-
- ahn
|
194
|
-
- ahnctl
|
195
|
-
- jahn
|
170
|
+
- ahn
|
171
|
+
- ahnctl
|
172
|
+
- jahn
|
196
173
|
extensions: []
|
197
174
|
|
198
175
|
extra_rdoc_files: []
|
199
176
|
|
200
177
|
files:
|
201
|
-
- .gitignore
|
202
|
-
- CHANGELOG
|
203
|
-
- EVENTS
|
204
|
-
- Gemfile
|
205
|
-
- LICENSE
|
206
|
-
- README.markdown
|
207
|
-
- Rakefile
|
208
|
-
- adhearsion.gemspec
|
209
|
-
- app_generators/ahn/USAGE
|
210
|
-
- app_generators/ahn/ahn_generator.rb
|
211
|
-
- app_generators/ahn/templates/.ahnrc
|
212
|
-
- app_generators/ahn/templates/Gemfile
|
213
|
-
- app_generators/ahn/templates/README
|
214
|
-
- app_generators/ahn/templates/Rakefile
|
215
|
-
- app_generators/ahn/templates/components/ami_remote/ami_remote.rb
|
216
|
-
- app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE
|
217
|
-
- app_generators/ahn/templates/components/disabled/restful_rpc/README.markdown
|
218
|
-
- app_generators/ahn/templates/components/disabled/restful_rpc/example-client.rb
|
219
|
-
- app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb
|
220
|
-
- app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.yml
|
221
|
-
- app_generators/ahn/templates/components/disabled/restful_rpc/spec/restful_rpc_spec.rb
|
222
|
-
- app_generators/ahn/templates/components/disabled/sandbox/sandbox.rb
|
223
|
-
- app_generators/ahn/templates/components/disabled/sandbox/sandbox.yml
|
224
|
-
- app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown
|
225
|
-
- app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb
|
226
|
-
- app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.yml
|
227
|
-
- app_generators/ahn/templates/components/disabled/xmpp_gateway/README.markdown
|
228
|
-
- app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.rb
|
229
|
-
- app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.yml
|
230
|
-
- app_generators/ahn/templates/components/simon_game/simon_game.rb
|
231
|
-
- app_generators/ahn/templates/config/startup.rb
|
232
|
-
- app_generators/ahn/templates/dialplan.rb
|
233
|
-
- app_generators/ahn/templates/events.rb
|
234
|
-
- bin/ahn
|
235
|
-
- bin/ahnctl
|
236
|
-
- bin/jahn
|
237
|
-
- examples/asterisk_manager_interface/standalone.rb
|
238
|
-
- lib/adhearsion.rb
|
239
|
-
- lib/adhearsion/cli.rb
|
240
|
-
- lib/adhearsion/component_manager.rb
|
241
|
-
- lib/adhearsion/component_manager/component_tester.rb
|
242
|
-
- lib/adhearsion/component_manager/spec_framework.rb
|
243
|
-
- lib/adhearsion/events_support.rb
|
244
|
-
- lib/adhearsion/foundation/all.rb
|
245
|
-
- lib/adhearsion/foundation/blank_slate.rb
|
246
|
-
- lib/adhearsion/foundation/custom_daemonizer.rb
|
247
|
-
- lib/adhearsion/foundation/event_socket.rb
|
248
|
-
- lib/adhearsion/foundation/future_resource.rb
|
249
|
-
- lib/adhearsion/foundation/metaprogramming.rb
|
250
|
-
- lib/adhearsion/foundation/numeric.rb
|
251
|
-
- lib/adhearsion/foundation/object.rb
|
252
|
-
- lib/adhearsion/foundation/pseudo_guid.rb
|
253
|
-
- lib/adhearsion/foundation/relationship_properties.rb
|
254
|
-
- lib/adhearsion/foundation/string.rb
|
255
|
-
- lib/adhearsion/foundation/synchronized_hash.rb
|
256
|
-
- lib/adhearsion/foundation/thread_safety.rb
|
257
|
-
- lib/adhearsion/host_definitions.rb
|
258
|
-
- lib/adhearsion/initializer.rb
|
259
|
-
- lib/adhearsion/initializer/asterisk.rb
|
260
|
-
- lib/adhearsion/initializer/configuration.rb
|
261
|
-
- lib/adhearsion/initializer/database.rb
|
262
|
-
- lib/adhearsion/initializer/drb.rb
|
263
|
-
- lib/adhearsion/initializer/freeswitch.rb
|
264
|
-
- lib/adhearsion/initializer/ldap.rb
|
265
|
-
- lib/adhearsion/initializer/rails.rb
|
266
|
-
- lib/adhearsion/initializer/xmpp.rb
|
267
|
-
- lib/adhearsion/logging.rb
|
268
|
-
- lib/adhearsion/tasks.rb
|
269
|
-
- lib/adhearsion/tasks/components.rb
|
270
|
-
- lib/adhearsion/tasks/database.rb
|
271
|
-
- lib/adhearsion/tasks/deprecations.rb
|
272
|
-
- lib/adhearsion/tasks/generating.rb
|
273
|
-
- lib/adhearsion/tasks/lint.rb
|
274
|
-
- lib/adhearsion/tasks/testing.rb
|
275
|
-
- lib/adhearsion/version.rb
|
276
|
-
- lib/adhearsion/voip/asterisk.rb
|
277
|
-
- lib/adhearsion/voip/asterisk/agi_server.rb
|
278
|
-
- lib/adhearsion/voip/asterisk/commands.rb
|
279
|
-
- lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
|
280
|
-
- lib/adhearsion/voip/asterisk/config_generators/config_generator.rb
|
281
|
-
- lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
|
282
|
-
- lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb
|
283
|
-
- lib/adhearsion/voip/asterisk/config_manager.rb
|
284
|
-
- lib/adhearsion/voip/asterisk/manager_interface.rb
|
285
|
-
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb
|
286
|
-
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb
|
287
|
-
- lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb
|
288
|
-
- lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl
|
289
|
-
- lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
|
290
|
-
- lib/adhearsion/voip/asterisk/super_manager.rb
|
291
|
-
- lib/adhearsion/voip/call.rb
|
292
|
-
- lib/adhearsion/voip/call_routing.rb
|
293
|
-
- lib/adhearsion/voip/commands.rb
|
294
|
-
- lib/adhearsion/voip/constants.rb
|
295
|
-
- lib/adhearsion/voip/conveniences.rb
|
296
|
-
- lib/adhearsion/voip/dial_plan.rb
|
297
|
-
- lib/adhearsion/voip/dsl/dialing_dsl.rb
|
298
|
-
- lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb
|
299
|
-
- lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb
|
300
|
-
- lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
|
301
|
-
- lib/adhearsion/voip/dsl/dialplan/parser.rb
|
302
|
-
- lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb
|
303
|
-
- lib/adhearsion/voip/dsl/numerical_string.rb
|
304
|
-
- lib/adhearsion/voip/freeswitch/basic_connection_manager.rb
|
305
|
-
- lib/adhearsion/voip/freeswitch/event_handler.rb
|
306
|
-
- lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb
|
307
|
-
- lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb
|
308
|
-
- lib/adhearsion/voip/freeswitch/oes_server.rb
|
309
|
-
- lib/adhearsion/voip/menu_state_machine/calculated_match.rb
|
310
|
-
- lib/adhearsion/voip/menu_state_machine/matchers.rb
|
311
|
-
- lib/adhearsion/voip/menu_state_machine/menu_builder.rb
|
312
|
-
- lib/adhearsion/voip/menu_state_machine/menu_class.rb
|
313
|
-
- lib/adhearsion/xmpp/connection.rb
|
314
|
-
- lib/theatre.rb
|
315
|
-
- lib/theatre/README.markdown
|
316
|
-
- lib/theatre/callback_definition_loader.rb
|
317
|
-
- lib/theatre/guid.rb
|
318
|
-
- lib/theatre/invocation.rb
|
319
|
-
- lib/theatre/namespace_manager.rb
|
320
|
-
- lib/theatre/version.rb
|
321
|
-
- spec/ahn_command_spec.rb
|
322
|
-
- spec/component_manager_spec.rb
|
323
|
-
- spec/constants_spec.rb
|
324
|
-
- spec/drb_spec.rb
|
325
|
-
- spec/fixtures/dialplan.rb
|
326
|
-
- spec/foundation/event_socket_spec.rb
|
327
|
-
- spec/host_definitions_spec.rb
|
328
|
-
- spec/initialization_spec.rb
|
329
|
-
- spec/initializer/configuration_spec.rb
|
330
|
-
- spec/initializer/loading_spec.rb
|
331
|
-
- spec/initializer/paths_spec.rb
|
332
|
-
- spec/logging_spec.rb
|
333
|
-
- spec/relationship_properties_spec.rb
|
334
|
-
- spec/silence.rb
|
335
|
-
- spec/spec_helper.rb
|
336
|
-
- spec/voip/asterisk/agi_server_spec.rb
|
337
|
-
- spec/voip/asterisk/ami/ami_spec.rb
|
338
|
-
- spec/voip/asterisk/ami/lexer/ami_fixtures.yml
|
339
|
-
- spec/voip/asterisk/ami/lexer/lexer_story
|
340
|
-
- spec/voip/asterisk/ami/lexer/lexer_story.rb
|
341
|
-
- spec/voip/asterisk/ami/lexer/story_helper.rb
|
342
|
-
- spec/voip/asterisk/ami/old_tests.rb
|
343
|
-
- spec/voip/asterisk/ami/super_manager/super_manager_story
|
344
|
-
- spec/voip/asterisk/ami/super_manager/super_manager_story.rb
|
345
|
-
- spec/voip/asterisk/ami/super_manager/super_manager_story_helper.rb
|
346
|
-
- spec/voip/asterisk/commands_spec.rb
|
347
|
-
- spec/voip/asterisk/config_file_generators/agents_spec.rb
|
348
|
-
- spec/voip/asterisk/config_file_generators/queues_spec.rb
|
349
|
-
- spec/voip/asterisk/config_file_generators/voicemail_spec.rb
|
350
|
-
- spec/voip/asterisk/config_manager_spec.rb
|
351
|
-
- spec/voip/asterisk/menu_command/calculated_match_spec.rb
|
352
|
-
- spec/voip/asterisk/menu_command/matchers_spec.rb
|
353
|
-
- spec/voip/call_routing_spec.rb
|
354
|
-
- spec/voip/dialplan_manager_spec.rb
|
355
|
-
- spec/voip/dsl/dialing_dsl_spec.rb
|
356
|
-
- spec/voip/dsl/dispatcher_spec.rb
|
357
|
-
- spec/voip/dsl/dispatcher_spec_helper.rb
|
358
|
-
- spec/voip/dsl/parser_spec.rb
|
359
|
-
- spec/voip/freeswitch/basic_connection_manager_spec.rb
|
360
|
-
- spec/voip/freeswitch/inbound_connection_manager_spec.rb
|
361
|
-
- spec/voip/freeswitch/oes_server_spec.rb
|
362
|
-
- spec/voip/numerical_string_spec.rb
|
363
|
-
- spec/voip/phone_number_spec.rb
|
364
|
-
- theatre-spec/dsl_examples/dynamic_stomp.rb
|
365
|
-
- theatre-spec/dsl_examples/simple_before_call.rb
|
366
|
-
- theatre-spec/dsl_spec.rb
|
367
|
-
- theatre-spec/invocation_spec.rb
|
368
|
-
- theatre-spec/namespace_spec.rb
|
369
|
-
- theatre-spec/spec_helper.rb
|
370
|
-
- theatre-spec/spec_helper_spec.rb
|
371
|
-
- theatre-spec/theatre_class_spec.rb
|
178
|
+
- .gitignore
|
179
|
+
- CHANGELOG
|
180
|
+
- EVENTS
|
181
|
+
- Gemfile
|
182
|
+
- LICENSE
|
183
|
+
- README.markdown
|
184
|
+
- Rakefile
|
185
|
+
- adhearsion.gemspec
|
186
|
+
- app_generators/ahn/USAGE
|
187
|
+
- app_generators/ahn/ahn_generator.rb
|
188
|
+
- app_generators/ahn/templates/.ahnrc
|
189
|
+
- app_generators/ahn/templates/Gemfile
|
190
|
+
- app_generators/ahn/templates/README
|
191
|
+
- app_generators/ahn/templates/Rakefile
|
192
|
+
- app_generators/ahn/templates/components/ami_remote/ami_remote.rb
|
193
|
+
- app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE
|
194
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/README.markdown
|
195
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/example-client.rb
|
196
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb
|
197
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.yml
|
198
|
+
- app_generators/ahn/templates/components/disabled/restful_rpc/spec/restful_rpc_spec.rb
|
199
|
+
- app_generators/ahn/templates/components/disabled/sandbox/sandbox.rb
|
200
|
+
- app_generators/ahn/templates/components/disabled/sandbox/sandbox.yml
|
201
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown
|
202
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb
|
203
|
+
- app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.yml
|
204
|
+
- app_generators/ahn/templates/components/disabled/xmpp_gateway/README.markdown
|
205
|
+
- app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.rb
|
206
|
+
- app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.yml
|
207
|
+
- app_generators/ahn/templates/components/simon_game/simon_game.rb
|
208
|
+
- app_generators/ahn/templates/config/startup.rb
|
209
|
+
- app_generators/ahn/templates/dialplan.rb
|
210
|
+
- app_generators/ahn/templates/events.rb
|
211
|
+
- bin/ahn
|
212
|
+
- bin/ahnctl
|
213
|
+
- bin/jahn
|
214
|
+
- examples/asterisk_manager_interface/standalone.rb
|
215
|
+
- lib/adhearsion.rb
|
216
|
+
- lib/adhearsion/cli.rb
|
217
|
+
- lib/adhearsion/component_manager.rb
|
218
|
+
- lib/adhearsion/component_manager/component_tester.rb
|
219
|
+
- lib/adhearsion/component_manager/spec_framework.rb
|
220
|
+
- lib/adhearsion/events_support.rb
|
221
|
+
- lib/adhearsion/foundation/all.rb
|
222
|
+
- lib/adhearsion/foundation/blank_slate.rb
|
223
|
+
- lib/adhearsion/foundation/custom_daemonizer.rb
|
224
|
+
- lib/adhearsion/foundation/event_socket.rb
|
225
|
+
- lib/adhearsion/foundation/future_resource.rb
|
226
|
+
- lib/adhearsion/foundation/metaprogramming.rb
|
227
|
+
- lib/adhearsion/foundation/numeric.rb
|
228
|
+
- lib/adhearsion/foundation/object.rb
|
229
|
+
- lib/adhearsion/foundation/pseudo_guid.rb
|
230
|
+
- lib/adhearsion/foundation/relationship_properties.rb
|
231
|
+
- lib/adhearsion/foundation/string.rb
|
232
|
+
- lib/adhearsion/foundation/synchronized_hash.rb
|
233
|
+
- lib/adhearsion/foundation/thread_safety.rb
|
234
|
+
- lib/adhearsion/host_definitions.rb
|
235
|
+
- lib/adhearsion/initializer.rb
|
236
|
+
- lib/adhearsion/initializer/asterisk.rb
|
237
|
+
- lib/adhearsion/initializer/configuration.rb
|
238
|
+
- lib/adhearsion/initializer/database.rb
|
239
|
+
- lib/adhearsion/initializer/drb.rb
|
240
|
+
- lib/adhearsion/initializer/freeswitch.rb
|
241
|
+
- lib/adhearsion/initializer/ldap.rb
|
242
|
+
- lib/adhearsion/initializer/rails.rb
|
243
|
+
- lib/adhearsion/initializer/xmpp.rb
|
244
|
+
- lib/adhearsion/logging.rb
|
245
|
+
- lib/adhearsion/tasks.rb
|
246
|
+
- lib/adhearsion/tasks/components.rb
|
247
|
+
- lib/adhearsion/tasks/database.rb
|
248
|
+
- lib/adhearsion/tasks/deprecations.rb
|
249
|
+
- lib/adhearsion/tasks/generating.rb
|
250
|
+
- lib/adhearsion/tasks/lint.rb
|
251
|
+
- lib/adhearsion/tasks/testing.rb
|
252
|
+
- lib/adhearsion/version.rb
|
253
|
+
- lib/adhearsion/voip/asterisk.rb
|
254
|
+
- lib/adhearsion/voip/asterisk/agi_server.rb
|
255
|
+
- lib/adhearsion/voip/asterisk/commands.rb
|
256
|
+
- lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
|
257
|
+
- lib/adhearsion/voip/asterisk/config_generators/config_generator.rb
|
258
|
+
- lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
|
259
|
+
- lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb
|
260
|
+
- lib/adhearsion/voip/asterisk/config_manager.rb
|
261
|
+
- lib/adhearsion/voip/asterisk/manager_interface.rb
|
262
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb
|
263
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb
|
264
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb
|
265
|
+
- lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl
|
266
|
+
- lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
|
267
|
+
- lib/adhearsion/voip/asterisk/super_manager.rb
|
268
|
+
- lib/adhearsion/voip/call.rb
|
269
|
+
- lib/adhearsion/voip/call_routing.rb
|
270
|
+
- lib/adhearsion/voip/commands.rb
|
271
|
+
- lib/adhearsion/voip/constants.rb
|
272
|
+
- lib/adhearsion/voip/conveniences.rb
|
273
|
+
- lib/adhearsion/voip/dial_plan.rb
|
274
|
+
- lib/adhearsion/voip/dsl/dialing_dsl.rb
|
275
|
+
- lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb
|
276
|
+
- lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb
|
277
|
+
- lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
|
278
|
+
- lib/adhearsion/voip/dsl/dialplan/parser.rb
|
279
|
+
- lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb
|
280
|
+
- lib/adhearsion/voip/dsl/numerical_string.rb
|
281
|
+
- lib/adhearsion/voip/freeswitch/basic_connection_manager.rb
|
282
|
+
- lib/adhearsion/voip/freeswitch/event_handler.rb
|
283
|
+
- lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb
|
284
|
+
- lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb
|
285
|
+
- lib/adhearsion/voip/freeswitch/oes_server.rb
|
286
|
+
- lib/adhearsion/voip/menu_state_machine/calculated_match.rb
|
287
|
+
- lib/adhearsion/voip/menu_state_machine/matchers.rb
|
288
|
+
- lib/adhearsion/voip/menu_state_machine/menu_builder.rb
|
289
|
+
- lib/adhearsion/voip/menu_state_machine/menu_class.rb
|
290
|
+
- lib/adhearsion/xmpp/connection.rb
|
291
|
+
- lib/theatre.rb
|
292
|
+
- lib/theatre/README.markdown
|
293
|
+
- lib/theatre/callback_definition_loader.rb
|
294
|
+
- lib/theatre/guid.rb
|
295
|
+
- lib/theatre/invocation.rb
|
296
|
+
- lib/theatre/namespace_manager.rb
|
297
|
+
- lib/theatre/version.rb
|
298
|
+
- spec/ahn_command_spec.rb
|
299
|
+
- spec/component_manager_spec.rb
|
300
|
+
- spec/constants_spec.rb
|
301
|
+
- spec/drb_spec.rb
|
302
|
+
- spec/fixtures/dialplan.rb
|
303
|
+
- spec/foundation/event_socket_spec.rb
|
304
|
+
- spec/host_definitions_spec.rb
|
305
|
+
- spec/initialization_spec.rb
|
306
|
+
- spec/initializer/configuration_spec.rb
|
307
|
+
- spec/initializer/loading_spec.rb
|
308
|
+
- spec/initializer/paths_spec.rb
|
309
|
+
- spec/logging_spec.rb
|
310
|
+
- spec/relationship_properties_spec.rb
|
311
|
+
- spec/silence.rb
|
312
|
+
- spec/spec_helper.rb
|
313
|
+
- spec/voip/asterisk/agi_server_spec.rb
|
314
|
+
- spec/voip/asterisk/ami/ami_spec.rb
|
315
|
+
- spec/voip/asterisk/ami/lexer/ami_fixtures.yml
|
316
|
+
- spec/voip/asterisk/ami/lexer/lexer_story
|
317
|
+
- spec/voip/asterisk/ami/lexer/lexer_story.rb
|
318
|
+
- spec/voip/asterisk/ami/lexer/story_helper.rb
|
319
|
+
- spec/voip/asterisk/ami/old_tests.rb
|
320
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story
|
321
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story.rb
|
322
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story_helper.rb
|
323
|
+
- spec/voip/asterisk/commands_spec.rb
|
324
|
+
- spec/voip/asterisk/config_file_generators/agents_spec.rb
|
325
|
+
- spec/voip/asterisk/config_file_generators/queues_spec.rb
|
326
|
+
- spec/voip/asterisk/config_file_generators/voicemail_spec.rb
|
327
|
+
- spec/voip/asterisk/config_manager_spec.rb
|
328
|
+
- spec/voip/asterisk/menu_command/calculated_match_spec.rb
|
329
|
+
- spec/voip/asterisk/menu_command/matchers_spec.rb
|
330
|
+
- spec/voip/call_routing_spec.rb
|
331
|
+
- spec/voip/dialplan_manager_spec.rb
|
332
|
+
- spec/voip/dsl/dialing_dsl_spec.rb
|
333
|
+
- spec/voip/dsl/dispatcher_spec.rb
|
334
|
+
- spec/voip/dsl/dispatcher_spec_helper.rb
|
335
|
+
- spec/voip/dsl/parser_spec.rb
|
336
|
+
- spec/voip/freeswitch/basic_connection_manager_spec.rb
|
337
|
+
- spec/voip/freeswitch/inbound_connection_manager_spec.rb
|
338
|
+
- spec/voip/freeswitch/oes_server_spec.rb
|
339
|
+
- spec/voip/numerical_string_spec.rb
|
340
|
+
- spec/voip/phone_number_spec.rb
|
341
|
+
- theatre-spec/dsl_examples/dynamic_stomp.rb
|
342
|
+
- theatre-spec/dsl_examples/simple_before_call.rb
|
343
|
+
- theatre-spec/dsl_spec.rb
|
344
|
+
- theatre-spec/invocation_spec.rb
|
345
|
+
- theatre-spec/namespace_spec.rb
|
346
|
+
- theatre-spec/spec_helper.rb
|
347
|
+
- theatre-spec/spec_helper_spec.rb
|
348
|
+
- theatre-spec/theatre_class_spec.rb
|
372
349
|
has_rdoc: true
|
373
350
|
homepage: http://adhearsion.com
|
374
351
|
licenses: []
|
@@ -377,73 +354,69 @@ post_install_message:
|
|
377
354
|
rdoc_options: []
|
378
355
|
|
379
356
|
require_paths:
|
380
|
-
- lib
|
357
|
+
- lib
|
381
358
|
required_ruby_version: !ruby/object:Gem::Requirement
|
382
|
-
none: false
|
383
359
|
requirements:
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
version: "0"
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
segments:
|
363
|
+
- 0
|
364
|
+
version: "0"
|
390
365
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
391
|
-
none: false
|
392
366
|
requirements:
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
version: "0"
|
367
|
+
- - ">="
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
segments:
|
370
|
+
- 0
|
371
|
+
version: "0"
|
399
372
|
requirements: []
|
400
373
|
|
401
374
|
rubyforge_project: adhearsion
|
402
|
-
rubygems_version: 1.
|
375
|
+
rubygems_version: 1.3.6
|
403
376
|
signing_key:
|
404
377
|
specification_version: 2
|
405
378
|
summary: Adhearsion, open-source telephony development framework
|
406
379
|
test_files:
|
407
|
-
- spec/ahn_command_spec.rb
|
408
|
-
- spec/component_manager_spec.rb
|
409
|
-
- spec/constants_spec.rb
|
410
|
-
- spec/drb_spec.rb
|
411
|
-
- spec/fixtures/dialplan.rb
|
412
|
-
- spec/foundation/event_socket_spec.rb
|
413
|
-
- spec/host_definitions_spec.rb
|
414
|
-
- spec/initialization_spec.rb
|
415
|
-
- spec/initializer/configuration_spec.rb
|
416
|
-
- spec/initializer/loading_spec.rb
|
417
|
-
- spec/initializer/paths_spec.rb
|
418
|
-
- spec/logging_spec.rb
|
419
|
-
- spec/relationship_properties_spec.rb
|
420
|
-
- spec/silence.rb
|
421
|
-
- spec/spec_helper.rb
|
422
|
-
- spec/voip/asterisk/agi_server_spec.rb
|
423
|
-
- spec/voip/asterisk/ami/ami_spec.rb
|
424
|
-
- spec/voip/asterisk/ami/lexer/ami_fixtures.yml
|
425
|
-
- spec/voip/asterisk/ami/lexer/lexer_story
|
426
|
-
- spec/voip/asterisk/ami/lexer/lexer_story.rb
|
427
|
-
- spec/voip/asterisk/ami/lexer/story_helper.rb
|
428
|
-
- spec/voip/asterisk/ami/old_tests.rb
|
429
|
-
- spec/voip/asterisk/ami/super_manager/super_manager_story
|
430
|
-
- spec/voip/asterisk/ami/super_manager/super_manager_story.rb
|
431
|
-
- spec/voip/asterisk/ami/super_manager/super_manager_story_helper.rb
|
432
|
-
- spec/voip/asterisk/commands_spec.rb
|
433
|
-
- spec/voip/asterisk/config_file_generators/agents_spec.rb
|
434
|
-
- spec/voip/asterisk/config_file_generators/queues_spec.rb
|
435
|
-
- spec/voip/asterisk/config_file_generators/voicemail_spec.rb
|
436
|
-
- spec/voip/asterisk/config_manager_spec.rb
|
437
|
-
- spec/voip/asterisk/menu_command/calculated_match_spec.rb
|
438
|
-
- spec/voip/asterisk/menu_command/matchers_spec.rb
|
439
|
-
- spec/voip/call_routing_spec.rb
|
440
|
-
- spec/voip/dialplan_manager_spec.rb
|
441
|
-
- spec/voip/dsl/dialing_dsl_spec.rb
|
442
|
-
- spec/voip/dsl/dispatcher_spec.rb
|
443
|
-
- spec/voip/dsl/dispatcher_spec_helper.rb
|
444
|
-
- spec/voip/dsl/parser_spec.rb
|
445
|
-
- spec/voip/freeswitch/basic_connection_manager_spec.rb
|
446
|
-
- spec/voip/freeswitch/inbound_connection_manager_spec.rb
|
447
|
-
- spec/voip/freeswitch/oes_server_spec.rb
|
448
|
-
- spec/voip/numerical_string_spec.rb
|
449
|
-
- spec/voip/phone_number_spec.rb
|
380
|
+
- spec/ahn_command_spec.rb
|
381
|
+
- spec/component_manager_spec.rb
|
382
|
+
- spec/constants_spec.rb
|
383
|
+
- spec/drb_spec.rb
|
384
|
+
- spec/fixtures/dialplan.rb
|
385
|
+
- spec/foundation/event_socket_spec.rb
|
386
|
+
- spec/host_definitions_spec.rb
|
387
|
+
- spec/initialization_spec.rb
|
388
|
+
- spec/initializer/configuration_spec.rb
|
389
|
+
- spec/initializer/loading_spec.rb
|
390
|
+
- spec/initializer/paths_spec.rb
|
391
|
+
- spec/logging_spec.rb
|
392
|
+
- spec/relationship_properties_spec.rb
|
393
|
+
- spec/silence.rb
|
394
|
+
- spec/spec_helper.rb
|
395
|
+
- spec/voip/asterisk/agi_server_spec.rb
|
396
|
+
- spec/voip/asterisk/ami/ami_spec.rb
|
397
|
+
- spec/voip/asterisk/ami/lexer/ami_fixtures.yml
|
398
|
+
- spec/voip/asterisk/ami/lexer/lexer_story
|
399
|
+
- spec/voip/asterisk/ami/lexer/lexer_story.rb
|
400
|
+
- spec/voip/asterisk/ami/lexer/story_helper.rb
|
401
|
+
- spec/voip/asterisk/ami/old_tests.rb
|
402
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story
|
403
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story.rb
|
404
|
+
- spec/voip/asterisk/ami/super_manager/super_manager_story_helper.rb
|
405
|
+
- spec/voip/asterisk/commands_spec.rb
|
406
|
+
- spec/voip/asterisk/config_file_generators/agents_spec.rb
|
407
|
+
- spec/voip/asterisk/config_file_generators/queues_spec.rb
|
408
|
+
- spec/voip/asterisk/config_file_generators/voicemail_spec.rb
|
409
|
+
- spec/voip/asterisk/config_manager_spec.rb
|
410
|
+
- spec/voip/asterisk/menu_command/calculated_match_spec.rb
|
411
|
+
- spec/voip/asterisk/menu_command/matchers_spec.rb
|
412
|
+
- spec/voip/call_routing_spec.rb
|
413
|
+
- spec/voip/dialplan_manager_spec.rb
|
414
|
+
- spec/voip/dsl/dialing_dsl_spec.rb
|
415
|
+
- spec/voip/dsl/dispatcher_spec.rb
|
416
|
+
- spec/voip/dsl/dispatcher_spec_helper.rb
|
417
|
+
- spec/voip/dsl/parser_spec.rb
|
418
|
+
- spec/voip/freeswitch/basic_connection_manager_spec.rb
|
419
|
+
- spec/voip/freeswitch/inbound_connection_manager_spec.rb
|
420
|
+
- spec/voip/freeswitch/oes_server_spec.rb
|
421
|
+
- spec/voip/numerical_string_spec.rb
|
422
|
+
- spec/voip/phone_number_spec.rb
|