Previously, to reliably check if a call was up or down it was necessary to consider the case where the call actor had been shut down. This is irrelevant to the `Adhearsion::Call#active?` question, which should *always* return a boolean. It now does. The following examples are now equivalent: ```ruby active = begin call.alive? && call.active? rescue Adhearsion::Call::ExpiredError false end puts "Call is no longer active" unless active ``` ```ruby puts "Call is no longer active" unless call.active? ```
Ensure the components are deregistered from Adhearsion::Translator::Asterisk once the call is ended. For more details see adhearsion/punchblock#250 Update CHANGELOG
Similar to a plugin, an Application can specify config and an initialiser, and is the place to put such application-wide and unshareable things.
Because "platform" is overloaded. Settings are now `config.core.*` or `AHN_CORE_*`.
For tests we currently remove the generated Gemfile so that the app boots with the version of Adhearsion under test. The generated Gemfile contains sinatra such that the default rack app will work. In order for the app to boot with the sample Rack config, we must include Sinatra at the project Gemfile level.