mtrudel-adhearsion 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. data/CHANGELOG +26 -0
  2. data/EVENTS +11 -0
  3. data/LICENSE +456 -0
  4. data/Rakefile +127 -0
  5. data/adhearsion.gemspec +149 -0
  6. data/app_generators/ahn/USAGE +5 -0
  7. data/app_generators/ahn/ahn_generator.rb +91 -0
  8. data/app_generators/ahn/templates/.ahnrc +34 -0
  9. data/app_generators/ahn/templates/README +8 -0
  10. data/app_generators/ahn/templates/Rakefile +25 -0
  11. data/app_generators/ahn/templates/components/ami_remote/ami_remote.rb +15 -0
  12. data/app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE +7 -0
  13. data/app_generators/ahn/templates/components/disabled/restful_rpc/README.markdown +11 -0
  14. data/app_generators/ahn/templates/components/disabled/restful_rpc/example-client.rb +48 -0
  15. data/app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb +87 -0
  16. data/app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.yml +34 -0
  17. data/app_generators/ahn/templates/components/disabled/restful_rpc/spec/restful_rpc_spec.rb +263 -0
  18. data/app_generators/ahn/templates/components/disabled/sandbox/sandbox.rb +104 -0
  19. data/app_generators/ahn/templates/components/disabled/sandbox/sandbox.yml +2 -0
  20. data/app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown +47 -0
  21. data/app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb +34 -0
  22. data/app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.yml +12 -0
  23. data/app_generators/ahn/templates/components/simon_game/simon_game.rb +56 -0
  24. data/app_generators/ahn/templates/config/startup.rb +50 -0
  25. data/app_generators/ahn/templates/dialplan.rb +3 -0
  26. data/app_generators/ahn/templates/events.rb +32 -0
  27. data/bin/ahn +28 -0
  28. data/bin/ahnctl +68 -0
  29. data/bin/jahn +42 -0
  30. data/examples/asterisk_manager_interface/standalone.rb +51 -0
  31. data/lib/adhearsion.rb +37 -0
  32. data/lib/adhearsion/cli.rb +223 -0
  33. data/lib/adhearsion/component_manager.rb +207 -0
  34. data/lib/adhearsion/component_manager/component_tester.rb +55 -0
  35. data/lib/adhearsion/component_manager/spec_framework.rb +24 -0
  36. data/lib/adhearsion/events_support.rb +84 -0
  37. data/lib/adhearsion/foundation/all.rb +9 -0
  38. data/lib/adhearsion/foundation/blank_slate.rb +5 -0
  39. data/lib/adhearsion/foundation/custom_daemonizer.rb +45 -0
  40. data/lib/adhearsion/foundation/event_socket.rb +203 -0
  41. data/lib/adhearsion/foundation/future_resource.rb +36 -0
  42. data/lib/adhearsion/foundation/global.rb +1 -0
  43. data/lib/adhearsion/foundation/metaprogramming.rb +17 -0
  44. data/lib/adhearsion/foundation/numeric.rb +13 -0
  45. data/lib/adhearsion/foundation/pseudo_guid.rb +10 -0
  46. data/lib/adhearsion/foundation/relationship_properties.rb +42 -0
  47. data/lib/adhearsion/foundation/string.rb +26 -0
  48. data/lib/adhearsion/foundation/synchronized_hash.rb +96 -0
  49. data/lib/adhearsion/foundation/thread_safety.rb +7 -0
  50. data/lib/adhearsion/host_definitions.rb +67 -0
  51. data/lib/adhearsion/initializer.rb +373 -0
  52. data/lib/adhearsion/initializer/asterisk.rb +81 -0
  53. data/lib/adhearsion/initializer/configuration.rb +254 -0
  54. data/lib/adhearsion/initializer/database.rb +50 -0
  55. data/lib/adhearsion/initializer/drb.rb +31 -0
  56. data/lib/adhearsion/initializer/freeswitch.rb +22 -0
  57. data/lib/adhearsion/initializer/rails.rb +41 -0
  58. data/lib/adhearsion/logging.rb +92 -0
  59. data/lib/adhearsion/tasks.rb +16 -0
  60. data/lib/adhearsion/tasks/database.rb +5 -0
  61. data/lib/adhearsion/tasks/deprecations.rb +59 -0
  62. data/lib/adhearsion/tasks/generating.rb +20 -0
  63. data/lib/adhearsion/tasks/lint.rb +4 -0
  64. data/lib/adhearsion/tasks/testing.rb +37 -0
  65. data/lib/adhearsion/version.rb +9 -0
  66. data/lib/adhearsion/voip/asterisk.rb +4 -0
  67. data/lib/adhearsion/voip/asterisk/agi_server.rb +84 -0
  68. data/lib/adhearsion/voip/asterisk/commands.rb +1314 -0
  69. data/lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb +140 -0
  70. data/lib/adhearsion/voip/asterisk/config_generators/config_generator.rb +101 -0
  71. data/lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb +250 -0
  72. data/lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb +240 -0
  73. data/lib/adhearsion/voip/asterisk/config_manager.rb +71 -0
  74. data/lib/adhearsion/voip/asterisk/manager_interface.rb +597 -0
  75. data/lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb +1589 -0
  76. data/lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb +286 -0
  77. data/lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb +78 -0
  78. data/lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl +87 -0
  79. data/lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb +80 -0
  80. data/lib/adhearsion/voip/asterisk/super_manager.rb +19 -0
  81. data/lib/adhearsion/voip/call.rb +453 -0
  82. data/lib/adhearsion/voip/call_routing.rb +64 -0
  83. data/lib/adhearsion/voip/commands.rb +9 -0
  84. data/lib/adhearsion/voip/constants.rb +39 -0
  85. data/lib/adhearsion/voip/conveniences.rb +18 -0
  86. data/lib/adhearsion/voip/dial_plan.rb +218 -0
  87. data/lib/adhearsion/voip/dsl/dialing_dsl.rb +151 -0
  88. data/lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb +37 -0
  89. data/lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb +27 -0
  90. data/lib/adhearsion/voip/dsl/dialplan/dispatcher.rb +124 -0
  91. data/lib/adhearsion/voip/dsl/dialplan/parser.rb +71 -0
  92. data/lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb +16 -0
  93. data/lib/adhearsion/voip/dsl/numerical_string.rb +117 -0
  94. data/lib/adhearsion/voip/freeswitch/basic_connection_manager.rb +48 -0
  95. data/lib/adhearsion/voip/freeswitch/event_handler.rb +58 -0
  96. data/lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb +129 -0
  97. data/lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb +38 -0
  98. data/lib/adhearsion/voip/freeswitch/oes_server.rb +195 -0
  99. data/lib/adhearsion/voip/menu_state_machine/calculated_match.rb +80 -0
  100. data/lib/adhearsion/voip/menu_state_machine/matchers.rb +123 -0
  101. data/lib/adhearsion/voip/menu_state_machine/menu_builder.rb +58 -0
  102. data/lib/adhearsion/voip/menu_state_machine/menu_class.rb +149 -0
  103. data/lib/theatre.rb +151 -0
  104. data/lib/theatre/README.markdown +64 -0
  105. data/lib/theatre/callback_definition_loader.rb +84 -0
  106. data/lib/theatre/guid.rb +23 -0
  107. data/lib/theatre/invocation.rb +121 -0
  108. data/lib/theatre/namespace_manager.rb +153 -0
  109. data/lib/theatre/version.rb +2 -0
  110. metadata +182 -0
@@ -0,0 +1,2 @@
1
+ THEATRE_VERSION_MAJOR, THEATRE_VERSION_MINOR, THEATRE_VERSION_REVISION = THEATRE_VERSION = [0,8,1]
2
+ THEATRE_VERSION_STRING = THEATRE_VERSION.join '.'
metadata ADDED
@@ -0,0 +1,182 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mtrudel-adhearsion
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.3
5
+ platform: ruby
6
+ authors:
7
+ - Jay Phillips
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-08-21 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rubigen
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.0.6
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: log4r
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.5
34
+ version:
35
+ description: Adhearsion is an open-source telephony development framework (with minor mods)
36
+ email: Jay -at- Codemecca.com
37
+ executables:
38
+ - ahn
39
+ - ahnctl
40
+ - jahn
41
+ extensions: []
42
+
43
+ extra_rdoc_files: []
44
+
45
+ files:
46
+ - adhearsion.gemspec
47
+ - app_generators/ahn/ahn_generator.rb
48
+ - app_generators/ahn/templates/.ahnrc
49
+ - app_generators/ahn/templates/components/ami_remote/ami_remote.rb
50
+ - app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE
51
+ - app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.yml
52
+ - app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown
53
+ - app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb
54
+ - app_generators/ahn/templates/components/disabled/sandbox/sandbox.rb
55
+ - app_generators/ahn/templates/components/disabled/sandbox/sandbox.yml
56
+ - app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.yml
57
+ - app_generators/ahn/templates/components/disabled/restful_rpc/example-client.rb
58
+ - app_generators/ahn/templates/components/disabled/restful_rpc/README.markdown
59
+ - app_generators/ahn/templates/components/disabled/restful_rpc/restful_rpc.rb
60
+ - app_generators/ahn/templates/components/disabled/restful_rpc/spec/restful_rpc_spec.rb
61
+ - app_generators/ahn/templates/components/simon_game/simon_game.rb
62
+ - app_generators/ahn/templates/config/startup.rb
63
+ - app_generators/ahn/templates/dialplan.rb
64
+ - app_generators/ahn/templates/events.rb
65
+ - app_generators/ahn/templates/Rakefile
66
+ - app_generators/ahn/templates/README
67
+ - app_generators/ahn/USAGE
68
+ - bin/ahn
69
+ - bin/ahnctl
70
+ - bin/jahn
71
+ - CHANGELOG
72
+ - EVENTS
73
+ - examples/asterisk_manager_interface/standalone.rb
74
+ - lib/adhearsion.rb
75
+ - lib/adhearsion/cli.rb
76
+ - lib/adhearsion/component_manager.rb
77
+ - lib/adhearsion/component_manager/component_tester.rb
78
+ - lib/adhearsion/component_manager/spec_framework.rb
79
+ - lib/adhearsion/events_support.rb
80
+ - lib/adhearsion/foundation/all.rb
81
+ - lib/adhearsion/foundation/blank_slate.rb
82
+ - lib/adhearsion/foundation/custom_daemonizer.rb
83
+ - lib/adhearsion/foundation/event_socket.rb
84
+ - lib/adhearsion/foundation/future_resource.rb
85
+ - lib/adhearsion/foundation/global.rb
86
+ - lib/adhearsion/foundation/metaprogramming.rb
87
+ - lib/adhearsion/foundation/numeric.rb
88
+ - lib/adhearsion/foundation/pseudo_guid.rb
89
+ - lib/adhearsion/foundation/relationship_properties.rb
90
+ - lib/adhearsion/foundation/string.rb
91
+ - lib/adhearsion/foundation/synchronized_hash.rb
92
+ - lib/adhearsion/foundation/thread_safety.rb
93
+ - lib/adhearsion/host_definitions.rb
94
+ - lib/adhearsion/initializer.rb
95
+ - lib/adhearsion/initializer/asterisk.rb
96
+ - lib/adhearsion/initializer/configuration.rb
97
+ - lib/adhearsion/initializer/database.rb
98
+ - lib/adhearsion/initializer/drb.rb
99
+ - lib/adhearsion/initializer/freeswitch.rb
100
+ - lib/adhearsion/initializer/rails.rb
101
+ - lib/adhearsion/logging.rb
102
+ - lib/adhearsion/tasks.rb
103
+ - lib/adhearsion/tasks/database.rb
104
+ - lib/adhearsion/tasks/deprecations.rb
105
+ - lib/adhearsion/tasks/generating.rb
106
+ - lib/adhearsion/tasks/lint.rb
107
+ - lib/adhearsion/tasks/testing.rb
108
+ - lib/adhearsion/version.rb
109
+ - lib/adhearsion/voip/asterisk.rb
110
+ - lib/adhearsion/voip/asterisk/agi_server.rb
111
+ - lib/adhearsion/voip/asterisk/commands.rb
112
+ - lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
113
+ - lib/adhearsion/voip/asterisk/config_generators/config_generator.rb
114
+ - lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
115
+ - lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb
116
+ - lib/adhearsion/voip/asterisk/config_manager.rb
117
+ - lib/adhearsion/voip/asterisk/manager_interface.rb
118
+ - lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb
119
+ - lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb
120
+ - lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb
121
+ - lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl
122
+ - lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
123
+ - lib/adhearsion/voip/asterisk/super_manager.rb
124
+ - lib/adhearsion/voip/call.rb
125
+ - lib/adhearsion/voip/call_routing.rb
126
+ - lib/adhearsion/voip/commands.rb
127
+ - lib/adhearsion/voip/constants.rb
128
+ - lib/adhearsion/voip/conveniences.rb
129
+ - lib/adhearsion/voip/dial_plan.rb
130
+ - lib/adhearsion/voip/dsl/dialing_dsl.rb
131
+ - lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb
132
+ - lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb
133
+ - lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
134
+ - lib/adhearsion/voip/dsl/dialplan/parser.rb
135
+ - lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb
136
+ - lib/adhearsion/voip/dsl/numerical_string.rb
137
+ - lib/adhearsion/voip/freeswitch/basic_connection_manager.rb
138
+ - lib/adhearsion/voip/freeswitch/event_handler.rb
139
+ - lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb
140
+ - lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb
141
+ - lib/adhearsion/voip/freeswitch/oes_server.rb
142
+ - lib/adhearsion/voip/menu_state_machine/calculated_match.rb
143
+ - lib/adhearsion/voip/menu_state_machine/matchers.rb
144
+ - lib/adhearsion/voip/menu_state_machine/menu_builder.rb
145
+ - lib/adhearsion/voip/menu_state_machine/menu_class.rb
146
+ - lib/theatre.rb
147
+ - lib/theatre/callback_definition_loader.rb
148
+ - lib/theatre/guid.rb
149
+ - lib/theatre/invocation.rb
150
+ - lib/theatre/namespace_manager.rb
151
+ - lib/theatre/README.markdown
152
+ - lib/theatre/version.rb
153
+ - LICENSE
154
+ - Rakefile
155
+ has_rdoc: false
156
+ homepage: http://adhearsion.com
157
+ post_install_message:
158
+ rdoc_options: []
159
+
160
+ require_paths:
161
+ - lib
162
+ required_ruby_version: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: "0"
167
+ version:
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: "0"
173
+ version:
174
+ requirements: []
175
+
176
+ rubyforge_project: adhearsion
177
+ rubygems_version: 1.2.0
178
+ signing_key:
179
+ specification_version: 2
180
+ summary: Adhearsion, open-source telephony development framework
181
+ test_files: []
182
+