A fully functioning rails application to setup numbers and route incoming calls through adhearsion. This sample uses Tropo as the phone system.
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
components
config
db
doc
lib
log
public
script
test
vendor
.ahnrc
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
dialplan.rb
events.rb

README.md

Adhearsion Callengine

Provision routes and connect incoming calls to destination using Adhearsion and Rails for the CRUD.

Description

This is a sample use application that demonstrates one of the many uses of Adhearsion. Adhearsion Callengine allows you to create provisioned routes with Rails and connect incoming calls to those routes with their ringto number. It can be configured with Asterisk or Tropo but the sample dialplan makes use of Tropo.

Installation

git clone git://github.com/libryder/ahn-callengine.git
cd ahn-callengine

How you specifically setup your Ruby environment is up to you but I reccomend using RVM with Ruby 1.9.2.

rvm use 1.9.2
rvm gemset create callengine
gem install bundler

Start the rails server as a daemon and start Adhearsion.

bundle install && bundle exec rails s &
bundle exec ahn -

Navigate to http://:3000/routes to begin provisioning routes.

Follow this simple guide to get calls from Tropo to your Adhearsion server.

Note - This only works with incoming calls from a SIP number. Support for Skype will be added in the future.

Getting Help

For more information on Tropo AGItate, check out the source code and specifcally this readme.

Tropo.com Adhearsion.com

You can also get help in IRC @ irc.freenode.net in channels #tropo and #adhearsion