Adhearsion is a full-featured framework for the development of applications which interact with or control voice communications. It facilitates the creation of complex applications with ease, providing a simple API.

Adhearsion is for voice application developers, Ruby developers, web developers, voice service providers, telephony networks. Everyone can benefit from Adhearsion as part of their application stack.

Code Example: Joining calls to an outbound call

# It is possible to set a timeout on attempting to dial out,
# and to check the status of the dial after the fact:
class SuperSecretProjectCall < Adhearsion::CallController
def run
answer
status = dial 'sip:foo@bar.com', :for => 30.seconds
case status.result
when :answer
say "We hope you had a nice chat!"
when :error, :timeout
say "Unfortunately we couldn't get hold of Bob."
when :no_answer
say "It looks like Bob didn't want to talk to you."
end
end
end