Permalink
Browse files

Merge branch 'master' of git://github.com/adhearsion/adhearsion

  • Loading branch information...
2 parents 8a58853 + a98cf3d commit aaa83eb433149d4f6dd4b47bcd939e723c92980c Jay Phillips committed Apr 2, 2012
Showing with 11,186 additions and 21,615 deletions.
  1. +25 −11 .gitignore
  2. +10 −0 .travis.yml
  3. +0 −149 CHANGELOG
  4. +369 −0 CHANGELOG.md
  5. +0 −11 EVENTS
  6. +1 −1 Gemfile
  7. +17 −0 Guardfile
  8. +62 −9 README.markdown
  9. +35 −46 Rakefile
  10. +29 −13 adhearsion.gemspec
  11. +0 −89 app_generators/ahn/ahn_generator.rb
  12. +0 −34 app_generators/ahn/templates/.ahnrc
  13. +0 −10 app_generators/ahn/templates/Gemfile
  14. +0 −8 app_generators/ahn/templates/README
  15. +0 −27 app_generators/ahn/templates/Rakefile
  16. +0 −15 app_generators/ahn/templates/components/ami_remote/ami_remote.rb
  17. +0 −7 app_generators/ahn/templates/components/disabled/HOW_TO_ENABLE
  18. +0 −47 app_generators/ahn/templates/components/disabled/stomp_gateway/README.markdown
  19. +0 −34 app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.rb
  20. +0 −12 app_generators/ahn/templates/components/disabled/stomp_gateway/stomp_gateway.yml
  21. +0 −3 app_generators/ahn/templates/components/disabled/xmpp_gateway/README.markdown
  22. +0 −11 app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.rb
  23. 0 app_generators/ahn/templates/components/disabled/xmpp_gateway/xmpp_gateway.yml
  24. +0 −81 app_generators/ahn/templates/config/startup.rb
  25. +0 −3 app_generators/ahn/templates/dialplan.rb
  26. +0 −33 app_generators/ahn/templates/events.rb
  27. +1 −3 bin/ahn
  28. +0 −68 bin/ahnctl
  29. +0 −43 bin/jahn
  30. +4 −0 cucumber.yml
  31. +0 −51 examples/asterisk_manager_interface/standalone.rb
  32. +49 −0 features/app_generator.feature
  33. +30 −0 features/cli_basic.feature
  34. +24 −0 features/cli_create.feature
  35. +22 −0 features/cli_daemon.feature
  36. +15 −0 features/cli_generate.feature
  37. +19 −0 features/cli_restart.feature
  38. +31 −0 features/cli_start.feature
  39. +41 −0 features/cli_stop.feature
  40. +19 −0 features/controller_generator.feature
  41. +55 −0 features/plugin_generator.feature
  42. +8 −0 features/step_definitions/app_generator_steps.rb
  43. +75 −0 features/step_definitions/cli_steps.rb
  44. +24 −0 features/support/aruba_helper.rb
  45. +45 −0 features/support/env.rb
  46. +10 −0 features/support/utils.rb
  47. +92 −41 lib/adhearsion.rb
  48. +291 −0 lib/adhearsion/call.rb
  49. +175 −0 lib/adhearsion/call_controller.rb
  50. +139 −0 lib/adhearsion/call_controller/dial.rb
  51. +215 −0 lib/adhearsion/call_controller/input.rb
  52. +271 −0 lib/adhearsion/call_controller/output.rb
  53. +40 −0 lib/adhearsion/call_controller/record.rb
  54. +62 −0 lib/adhearsion/call_controller/utility.rb
  55. +56 −0 lib/adhearsion/calls.rb
  56. +5 −1 lib/adhearsion/cli.rb
  57. +188 −0 lib/adhearsion/cli_commands.rb
  58. +0 −308 lib/adhearsion/commands.rb
  59. +0 −279 lib/adhearsion/component_manager.rb
  60. +0 −54 lib/adhearsion/component_manager/component_tester.rb
  61. +0 −18 lib/adhearsion/component_manager/spec_framework.rb
  62. +179 −0 lib/adhearsion/configuration.rb
  63. +133 −27 lib/adhearsion/console.rb
  64. +90 −0 lib/adhearsion/events.rb
  65. +0 −65 lib/adhearsion/events_support.rb
  66. +9 −0 lib/adhearsion/foundation.rb
  67. +0 −15 lib/adhearsion/foundation/all.rb
  68. +0 −3 lib/adhearsion/foundation/blank_slate.rb
  69. +7 −7 lib/adhearsion/foundation/custom_daemonizer.rb
  70. +0 −205 lib/adhearsion/foundation/event_socket.rb
  71. +11 −0 lib/adhearsion/foundation/exception_handler.rb
  72. +0 −36 lib/adhearsion/foundation/future_resource.rb
  73. +15 −0 lib/adhearsion/foundation/libc.rb
  74. +0 −17 lib/adhearsion/foundation/metaprogramming.rb
  75. +0 −13 lib/adhearsion/foundation/numeric.rb
  76. +29 −8 lib/adhearsion/foundation/object.rb
  77. +0 −10 lib/adhearsion/foundation/pseudo_guid.rb
  78. +0 −42 lib/adhearsion/foundation/relationship_properties.rb
  79. +0 −26 lib/adhearsion/foundation/string.rb
  80. +0 −96 lib/adhearsion/foundation/synchronized_hash.rb
  81. +18 −2 lib/adhearsion/foundation/thread_safety.rb
  82. +57 −0 lib/adhearsion/generators.rb
  83. 0 {app_generators/ahn → lib/adhearsion/generators/app}/USAGE
  84. +24 −0 lib/adhearsion/generators/app/app_generator.rb
  85. +15 −0 lib/adhearsion/generators/app/templates/Gemfile.erb
  86. +1 −0 lib/adhearsion/generators/app/templates/Procfile
  87. +37 −0 lib/adhearsion/generators/app/templates/README.md
  88. +5 −0 lib/adhearsion/generators/app/templates/Rakefile
  89. +63 −0 lib/adhearsion/generators/app/templates/config/adhearsion.rb
  90. +2 −0 {app_generators/ahn → lib/adhearsion/generators/app}/templates/config/environment.rb
  91. +7 −0 lib/adhearsion/generators/app/templates/gitignore
  92. +9 −22 .../ahn/templates/components/simon_game → lib/adhearsion/generators/app/templates/lib}/simon_game.rb
  93. +1 −0 lib/adhearsion/generators/app/templates/rspec
  94. +3 −2 {app_generators/ahn → lib/adhearsion/generators/app}/templates/script/ahn
  95. +23 −0 lib/adhearsion/generators/app/templates/spec/spec_helper.rb
  96. +24 −0 lib/adhearsion/generators/controller/controller_generator.rb
  97. +6 −0 lib/adhearsion/generators/controller/templates/lib/controller.rb
  98. +5 −0 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
  99. +83 −0 lib/adhearsion/generators/generator.rb
  100. +38 −0 lib/adhearsion/generators/plugin/plugin_generator.rb
  101. +9 −0 lib/adhearsion/generators/plugin/templates/.gitignore
  102. +4 −0 lib/adhearsion/generators/plugin/templates/Gemfile.tt
  103. +2 −0 lib/adhearsion/generators/plugin/templates/README.md.tt
  104. +1 −0 lib/adhearsion/generators/plugin/templates/Rakefile.tt
  105. +5 −0 lib/adhearsion/generators/plugin/templates/lib/plugin-template.rb.tt
  106. +10 −0 lib/adhearsion/generators/plugin/templates/lib/plugin-template/controller_methods.rb.tt
  107. +29 −0 lib/adhearsion/generators/plugin/templates/lib/plugin-template/plugin.rb.tt
  108. +3 −0 lib/adhearsion/generators/plugin/templates/lib/plugin-template/version.rb.tt
  109. +35 −0 lib/adhearsion/generators/plugin/templates/plugin-template.gemspec.tt
  110. +26 −0 lib/adhearsion/generators/plugin/templates/spec/plugin-template/controller_methods_spec.rb.tt
  111. +13 −0 lib/adhearsion/generators/plugin/templates/spec/spec_helper.rb.tt
  112. +0 −67 lib/adhearsion/host_definitions.rb
  113. +174 −291 lib/adhearsion/initializer.rb
  114. +0 −86 lib/adhearsion/initializer/asterisk.rb
  115. +0 −324 lib/adhearsion/initializer/configuration.rb
  116. +0 −60 lib/adhearsion/initializer/database.rb
  117. +0 −31 lib/adhearsion/initializer/drb.rb
  118. +0 −22 lib/adhearsion/initializer/freeswitch.rb
  119. +0 −57 lib/adhearsion/initializer/ldap.rb
  120. +0 −41 lib/adhearsion/initializer/rails.rb
  121. +0 −42 lib/adhearsion/initializer/xmpp.rb
  122. +43 −0 lib/adhearsion/linux_proc_name.rb
  123. +95 −69 lib/adhearsion/logging.rb
  124. +17 −0 lib/adhearsion/menu_dsl.rb
  125. +41 −0 lib/adhearsion/menu_dsl/calculated_match.rb
  126. +43 −0 lib/adhearsion/menu_dsl/calculated_match_collection.rb
  127. +20 −0 lib/adhearsion/menu_dsl/fixnum_match_calculator.rb
  128. +38 −0 lib/adhearsion/menu_dsl/match_calculator.rb
  129. +201 −0 lib/adhearsion/menu_dsl/menu.rb
  130. +82 −0 lib/adhearsion/menu_dsl/menu_builder.rb
  131. +58 −0 lib/adhearsion/menu_dsl/range_match_calculator.rb
  132. +23 −0 lib/adhearsion/menu_dsl/string_match_calculator.rb
  133. +71 −0 lib/adhearsion/outbound_call.rb
  134. +232 −0 lib/adhearsion/plugin.rb
  135. +21 −0 lib/adhearsion/plugin/collection.rb
  136. +39 −0 lib/adhearsion/plugin/initializer.rb
  137. +112 −0 lib/adhearsion/process.rb
  138. +53 −0 lib/adhearsion/punchblock_plugin.rb
  139. +174 −0 lib/adhearsion/punchblock_plugin/initializer.rb
  140. +32 −0 lib/adhearsion/router.rb
  141. +48 −0 lib/adhearsion/router/route.rb
  142. +7 −0 lib/adhearsion/rspec.rb
  143. +4 −2 lib/adhearsion/script_ahn_loader.rb
  144. +14 −13 lib/adhearsion/tasks.rb
  145. +0 −32 lib/adhearsion/tasks/components.rb
  146. +11 −0 lib/adhearsion/tasks/configuration.rb
  147. +0 −5 lib/adhearsion/tasks/database.rb
  148. +8 −0 lib/adhearsion/tasks/debugging.rb
  149. +0 −59 lib/adhearsion/tasks/deprecations.rb
  150. +14 −0 lib/adhearsion/tasks/environment.rb
  151. +0 −20 lib/adhearsion/tasks/generating.rb
  152. +0 −4 lib/adhearsion/tasks/lint.rb
  153. +14 −0 lib/adhearsion/tasks/plugins.rb
  154. +2 −0 lib/adhearsion/tasks/testing.rb
  155. +3 −34 lib/adhearsion/version.rb
  156. +0 −4 lib/adhearsion/voip/asterisk.rb
  157. +0 −121 lib/adhearsion/voip/asterisk/agi_server.rb
  158. +0 −1,934 lib/adhearsion/voip/asterisk/commands.rb
  159. +0 −140 lib/adhearsion/voip/asterisk/config_generators/agents.conf.rb
  160. +0 −102 lib/adhearsion/voip/asterisk/config_generators/config_generator.rb
  161. +0 −250 lib/adhearsion/voip/asterisk/config_generators/queues.conf.rb
  162. +0 −240 lib/adhearsion/voip/asterisk/config_generators/voicemail.conf.rb
  163. +0 −64 lib/adhearsion/voip/asterisk/config_manager.rb
  164. +0 −697 lib/adhearsion/voip/asterisk/manager_interface.rb
  165. +0 −1,681 lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rb
  166. +0 −341 lib/adhearsion/voip/asterisk/manager_interface/ami_lexer.rl.rb
  167. +0 −78 lib/adhearsion/voip/asterisk/manager_interface/ami_messages.rb
  168. +0 −87 lib/adhearsion/voip/asterisk/manager_interface/ami_protocol_lexer_machine.rl
  169. +0 −80 lib/adhearsion/voip/asterisk/special_dial_plan_managers.rb
  170. +0 −525 lib/adhearsion/voip/call.rb
  171. +0 −64 lib/adhearsion/voip/call_routing.rb
  172. +0 −17 lib/adhearsion/voip/commands.rb
  173. +0 −39 lib/adhearsion/voip/constants.rb
  174. +0 −18 lib/adhearsion/voip/conveniences.rb
  175. +0 −254 lib/adhearsion/voip/dial_plan.rb
  176. +0 −151 lib/adhearsion/voip/dsl/dialing_dsl.rb
  177. +0 −37 lib/adhearsion/voip/dsl/dialing_dsl/dialing_dsl_monkey_patches.rb
  178. +0 −27 lib/adhearsion/voip/dsl/dialplan/control_passing_exception.rb
  179. +0 −124 lib/adhearsion/voip/dsl/dialplan/dispatcher.rb
  180. +0 −69 lib/adhearsion/voip/dsl/dialplan/parser.rb
  181. +0 −16 lib/adhearsion/voip/dsl/dialplan/thread_mixin.rb
  182. +0 −128 lib/adhearsion/voip/dsl/numerical_string.rb
  183. +0 −48 lib/adhearsion/voip/freeswitch/basic_connection_manager.rb
  184. +0 −58 lib/adhearsion/voip/freeswitch/event_handler.rb
  185. +0 −129 lib/adhearsion/voip/freeswitch/freeswitch_dialplan_command_factory.rb
  186. +0 −38 lib/adhearsion/voip/freeswitch/inbound_connection_manager.rb
  187. +0 −195 lib/adhearsion/voip/freeswitch/oes_server.rb
  188. +0 −80 lib/adhearsion/voip/menu_state_machine/calculated_match.rb
  189. +0 −123 lib/adhearsion/voip/menu_state_machine/matchers.rb
  190. +0 −57 lib/adhearsion/voip/menu_state_machine/menu_builder.rb
  191. +0 −149 lib/adhearsion/voip/menu_state_machine/menu_class.rb
  192. +0 −61 lib/adhearsion/xmpp/connection.rb
  193. +0 −146 lib/theatre.rb
  194. +0 −64 lib/theatre/README.markdown
  195. +0 −84 lib/theatre/callback_definition_loader.rb
  196. +0 −23 lib/theatre/guid.rb
  197. +0 −122 lib/theatre/invocation.rb
  198. +0 −153 lib/theatre/namespace_manager.rb
  199. +0 −2 lib/theatre/version.rb
  200. +2 −0 pre-commit
  201. +380 −0 spec/adhearsion/call_controller/dial_spec.rb
  202. +301 −0 spec/adhearsion/call_controller/input_spec.rb
  203. +490 −0 spec/adhearsion/call_controller/output_spec.rb
  204. +84 −0 spec/adhearsion/call_controller/record_spec.rb
  205. +69 −0 spec/adhearsion/call_controller/utility_spec.rb
  206. +462 −0 spec/adhearsion/call_controller_spec.rb
  207. +731 −0 spec/adhearsion/call_spec.rb
  208. +129 −0 spec/adhearsion/calls_spec.rb
  209. +0 −307 spec/adhearsion/cli_spec.rb
  210. +0 −292 spec/adhearsion/component_manager_spec.rb
  211. +310 −0 spec/adhearsion/configuration_spec.rb
  212. +155 −0 spec/adhearsion/console_spec.rb
  213. +0 −8 spec/adhearsion/constants_spec.rb
  214. +0 −65 spec/adhearsion/drb_spec.rb
  215. +114 −0 spec/adhearsion/events_spec.rb
  216. +0 −3 spec/adhearsion/fixtures/dialplan.rb
  217. +0 −168 spec/adhearsion/foundation/event_socket_spec.rb
  218. +19 −0 spec/adhearsion/generators_spec.rb
  219. +0 −79 spec/adhearsion/host_definitions_spec.rb
  220. +0 −291 spec/adhearsion/initializer/configuration_spec.rb
  221. +0 −149 spec/adhearsion/initializer/loading_spec.rb
  222. +0 −74 spec/adhearsion/initializer/paths_spec.rb
  223. +227 −119 spec/adhearsion/initializer_spec.rb
  224. +115 −59 spec/adhearsion/logging_spec.rb
  225. +58 −0 spec/adhearsion/menu_dsl/calculated_match_collection_spec.rb
  226. +59 −0 spec/adhearsion/menu_dsl/calculated_match_spec.rb
  227. +35 −0 spec/adhearsion/menu_dsl/fixnum_match_calculator_spec.rb
  228. +15 −0 spec/adhearsion/menu_dsl/match_calculator_spec.rb
  229. +149 −0 spec/adhearsion/menu_dsl/menu_builder_spec.rb
  230. +371 −0 spec/adhearsion/menu_dsl/menu_spec.rb
  231. +30 −0 spec/adhearsion/menu_dsl/range_match_calculator_spec.rb
  232. +38 −0 spec/adhearsion/menu_dsl/string_match_calculator_spec.rb
  233. +177 −0 spec/adhearsion/outbound_call_spec.rb
  234. +401 −0 spec/adhearsion/plugin_spec.rb
  235. +101 −0 spec/adhearsion/process_spec.rb
  236. +327 −0 spec/adhearsion/punchblock_plugin/initializer_spec.rb
  237. +56 −0 spec/adhearsion/punchblock_plugin_spec.rb
  238. +0 −54 spec/adhearsion/relationship_properties_spec.rb
  239. +151 −0 spec/adhearsion/router/route_spec.rb
  240. +108 −0 spec/adhearsion/router_spec.rb
  241. +0 −473 spec/adhearsion/voip/asterisk/agi_server_spec.rb
  242. +0 −550 spec/adhearsion/voip/asterisk/ami/ami_spec.rb
  243. +0 −30 spec/adhearsion/voip/asterisk/ami/lexer/ami_fixtures.yml
  244. +0 −291 spec/adhearsion/voip/asterisk/ami/lexer/lexer_story
  245. +0 −241 spec/adhearsion/voip/asterisk/ami/lexer/lexer_story.rb
  246. +0 −124 spec/adhearsion/voip/asterisk/ami/lexer/story_helper.rb
  247. +0 −3,004 spec/adhearsion/voip/asterisk/commands_spec.rb
  248. +0 −251 spec/adhearsion/voip/asterisk/config_file_generators/agents_spec.rb
  249. +0 −323 spec/adhearsion/voip/asterisk/config_file_generators/queues_spec.rb
  250. +0 −306 spec/adhearsion/voip/asterisk/config_file_generators/voicemail_spec.rb
  251. +0 −127 spec/adhearsion/voip/asterisk/config_manager_spec.rb
  252. +0 −109 spec/adhearsion/voip/asterisk/menu_command/calculated_match_spec.rb
  253. +0 −97 spec/adhearsion/voip/asterisk/menu_command/matchers_spec.rb
  254. +0 −125 spec/adhearsion/voip/call_routing_spec.rb
  255. +0 −468 spec/adhearsion/voip/dialplan_manager_spec.rb
  256. +0 −270 spec/adhearsion/voip/dsl/dialing_dsl_spec.rb
  257. +0 −82 spec/adhearsion/voip/dsl/dispatcher_spec.rb
  258. +0 −45 spec/adhearsion/voip/dsl/dispatcher_spec_helper.rb
  259. +0 −69 spec/adhearsion/voip/dsl/parser_spec.rb
  260. +0 −39 spec/adhearsion/voip/freeswitch/basic_connection_manager_spec.rb
  261. +0 −39 spec/adhearsion/voip/freeswitch/inbound_connection_manager_spec.rb
  262. +0 −9 spec/adhearsion/voip/freeswitch/oes_server_spec.rb
  263. +0 −61 spec/adhearsion/voip/numerical_string_spec.rb
  264. +0 −45 spec/adhearsion/voip/phone_number_spec.rb
  265. +90 −0 spec/adhearsion_spec.rb
  266. +33 −0 spec/capture_warnings.rb
  267. +42 −15 spec/spec_helper.rb
  268. +51 −0 spec/support/call_controller_test_helpers.rb
  269. +15 −17 spec/support/initializer_stubs.rb
  270. +4 −0 spec/support/logging_helpers.rb
  271. +8 −0 spec/support/punchblock_mocks.rb
  272. +0 −3 spec/support/the_following_code.rb
  273. +0 −7 spec/theatre/dsl_examples/simple_before_call.rb
  274. +0 −69 spec/theatre/dsl_spec.rb
  275. +0 −163 spec/theatre/invocation_spec.rb
  276. +0 −125 spec/theatre/namespace_spec.rb
  277. +0 −28 spec/theatre/spec_helper_spec.rb
  278. +0 −147 spec/theatre/theatre_class_spec.rb
View
@@ -1,13 +1,27 @@
-.DS_Store
-pkg
+# Gem related stuff
+*.gem
+/pkg
+/.bundle
+/Gemfile.lock
+/vendor
+
+# Testing stuff
+/coverage
+/spec/reports
+*.log
+/adhearsion.pid
+
+# RBX stuff
+/.rbx/
+
+# Editor temp/backup files
*~
.*.sw?
-.yardoc
-nbproject
-vendor
-Gemfile.lock
-.bundle
-.rvmrc
-coverage
-spec/reports
-doc
+
+# General
+/nbproject
+.DS_Store
+/.rvmrc
+/.yardoc
+/doc
+/tmp
View
@@ -0,0 +1,10 @@
+language: ruby
+rvm:
+ - 1.9.2
+ - 1.9.3
+ - jruby-19mode # JRuby in 1.9 mode
+ - rbx-19mode # currently in active development, may or may not work for your project
+ - ruby-head
+env: ARUBA_TIMEOUT=120 RAILS_ENV=development AHN_ENV=development
+notifications:
+ irc: "irc.freenode.org#adhearsion"
View
149 CHANGELOG
@@ -1,149 +0,0 @@
-1.2.1
- - Removed the restful_rpc component since it is now in a gem.
- - Allow overriding the path to a component in the testing framework so as to support new style components (lib/)
- - Added a GUID to the default recording filename to ensure uniqueness
- - ECONNRESET exceptions are now handled as a call hangup
- - Fixed escaping of TTS strings containing commas when used with Cepstral via #speak
- - Made logging exceptions the responsibility of the framework rather than the app, so that this may not be disabled
-
-1.2.0
- - New method: #play_or_speak allows playback of an audio file with TTS fallback
- - #input now takes :speak as a hash for TTS prompt or fallback
- - New method: #speak provides abstracted TTS rendering for UniMRCP and Cepstral
- - Allow leading "+" in Caller ID (E.164 format)
- - Allow using --pid-file without "daemon" for JRuby
- - Allow passing a block to #input to enable caller to detect when enough digits are collected.
- - Fix some issues with starting apps outside of their directory, generally related to Bundler/gem environments
- - Allow configuration of logging outputters/formatters
- - Using ahn_log in a dialplan context or on a call object logs to the call's context, named after its unique identifier
- - New method: #record_to_file with more useful return values
-
-1.1.1
- - Command#play now returns false if audio failed to play
- - Added new commands (#play!, #interruptible_play!, #input!) which raise PlaybackError if audio fails to play
-
-1.1.0
- - Added interactive call control console: ahn start console <path>
- - Added centralized exception handler through eventing system
- - Support for using ahn_hoptoad to send Adhearsion exceptions to Hoptoad
- - Adhearsion.active_calls can now use hash syntax to find calls by ID
- - Added Adhearsion::Calls#to_h
- - Add a Monitor to synchronize access to an AGI connection
-
-1.0.3
- - Fix the play() command regression when passing an array of strings. This was breaking the SimonGame
- - Deprecate ManagerInterface#send_action_asynchronously
-
-1.0.2
- - Fix rcov Rake task
- - Add Ben Langfeld as an author (Thanks, Ben!)
- - Add "rake" as a runtime dependency
- - Remove usage of BEGIN blocks (for Rubinius; CS)
-
-1.0.1
- NOTE for Ruby 1.9 users: The behavior of Ruby 1.9 and case statements has changed
- in a way that renders NumericalString objects incompatible with
- case statements. The suggested workaround is to cast the NumericalString
- to a string and then compare. Example:
-
- obj = NumericalString.new("0987")
- case obj.to_s
- when "0987" then true
- else false
- end
-
- Or, if you need to ignore the leading zero:
- case obj.to_i
- when 987 then true
- else false
- end
-
- See https://adhearsion.lighthouseapp.com/projects/5871/tickets/127-ruby-19-and-numericalstring-comparisons-in-case-statements
- - Add say_chars command.
- - Add say_phonetic command.
- - Update play_time to accept format and timezone paramenters. This allows you to read back any particular section of the Time object. (i.e. Using format => 'IMp' would result in "eleven twenty-three" being said.)
- - Update play_time to allow using Date objects.
- - QueueAgentsListProxy#new now returns an AgentProxy instance if the agent was added successfully.
- - Add state_interface parameter to QueueAgentsListProxy#new. This allows you to specify a separate interface to watch for state changes on. (i.e. Your agents log in with Local channel extensions, but you want to check their direct SIP exten for state.)
- - Fixed issue with Queue#join! that would raise a QueueDoesNotExist error if the call was completed successfully.
- - Add support for AGI script parameter to Queue#join!
- - Migrate unit tests to RSpec 2
- - New components now include RubyGems skeleton files
- - Fix support for setting Caller ID name on AGI dial() command
- - Generate new apps with Bundler support, including auto-requiring of all gems
- - Update component testing framework to RSpec 2.x and mock with rspec
-
-1.0.0
- - Fall back to using Asterisk's context if the AGI URI context is not found
- - Enable configuration of :auto_reconnect parameter for AMI
- - Replace all uses of Object#returning with Object#tap
- - Add support for loading Adhearsion components from RubyGems
- - Fix long-running AMI session parser failure bug (#72)
- - Support for Rails 3 (and ActiveSupport 3.0)
-
-0.8.6
- - Fix packaging problem so all files are publicly readable
- - Improve AMI reconnecting logic; add "connection refused" retry timer
- - AGI protocol improvements: parse the status code and response text
-
-0.8.5
- NOTE: If you are upgrading an Adhearsion application to 0.8.5, note the change
- to how request URIs are handled. With 0.8.4, the context name in Asterisk was
- required to match the Adhearsion context in dialplan.rb. Starting in 0.8.5 if
- an application path is passed in on the AGI URI, it will be preferred over the
- context name. For example:
-
- [stuff]
- exten => _X.,1,AGI(agi://localhost/myapp)
-
- AHN 0.8.4- will execute the "stuff" context in dialplan.rb
- AHN 0.8.5+ will execute the "myapp" context in dialplan.rb
-
- If you followed the documentation and did not specify an application path in
- the URI (eg. agi://localhost) you will not be impacted by this change.
-
- Other changes:
- - Added XMPP module and sample component. This allows you to easily write components which utilise a persistent XMPP connection maintained by Adhearsion
- - Prefer finding the dialplan.rb entry point by the AGI request URI instead of the calling context
- - Added :use_static_conf option for "meetme" to allow the use of disk-file-managed conferences
- - Logging object now shared with ActiveRecord and Blather
- - Fixed a longstanding bug where newlines were not sent after each AGI command
- - Fixed parsing of DBGet AMI command/response
- - Better shutdown handling/cleanup
- - Attempt to allow the AMI socket to reconnect if connection is lost
- - Improved support for Ruby 1.9
- - Numerous smaller bugs fixed. See: https://adhearsion.lighthouseapp.com/projects/5871-adhearsion/milestones/76510-085
-
-0.8.4
- - Add configurable argument delimiter for talking to Asterisk. This enables Adhearsion to support Asterisk versions 1.4 (and prior) as well as 1.6 (and later).
- - Fixed using ActiveRecord in Adhearsion components
- - Daemonizing no longer truncates the Adhearsion log file
- - Add support for using ActiveLdap
- - Misc improvements to support Asterisk 1.6 changes
- - Escape commands sent to Asterisk via AGI
- - Manager Events now work when daemonized
-
-0.8.3
- - The "uniqueid" call channel variable available in dialplan.rb is now *always* a String
- - Renamed interruptable_play to interruptible_play and made interruptible_play() public instead of protected.
- - Fixed an Asterisk Manager Interface parsing issue in which colons sometimes got stuck into the key name.
- - AGI "request" variable coercer will not blow up if no request is given. (Helps in testing with netcat/telnet)
-
-0.8.2
- - When a call hangs up, Adhearsion will no longer show random exceptions (that were okay) and instead allows the user to rescue a Hangup exception.
- - ManagerInterfaceResponse now include()s DRbUndumped, allowing send_action() to be called directly over DRb.
- - Fixes an inconsequential bug when CTL-C'ing Adhearsion.
-
-0.8.1
- - The sandbox component now comes
- - Minor bug fixes
-
-0.8.0 rev 2
- - Added a few non-critical files to the .gemspec. They were ignored
-
-Notes from before 0.8.0:
- - (NOTE: This is obviously not a comprehensive list of pre-0.8.0 work. 0.8.0 was a complete rewrite of the previous version)
- - Adding a deprecation warning about Fixnum#digit and Fixnum#digits
- - Removed the AMI class and replaced it with the ManagerInterface class.
- - The old AMI high-level instance methods are available in the new ManagerInterface class, but a deprecation warning will be logged each time they're used. When the SuperManager class is implemented, they'll be removed entirely.
- - Moved Theatre into Adhearsion's lib folder.
Oops, something went wrong.

0 comments on commit aaa83eb

Please sign in to comment.