Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Sinatra.rb extension to control an Asterisk IPBX
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/sinatra
spec
.gitignore
Gemfile
HISTORY.rdoc
LICENSES
README.rdoc
Rakefile
sinatra-asterisk.gemspec

README.rdoc

Sinatra::Asterisk

Basic Sinatra.rb (sinatrarb.com) extension to control an Asterisk IPBX.

Disclaimer

Sinatra::Asterisk is a work in progress. Use with caution !

Installation

gem install sinatra-asterisk

Usage example

require "sinatra/asterisk"

get '/' do
  "Hello world"
end

agi do
  answer
  play "sound/helloworld"
  hangup
end

on_event do
  puts event.inspect
end

Legal

Author

Dominique Broeglin <dominique.broeglin@gmail.com>

License

Copyright © 2011 Dominique Broeglin, released under the MIT license

Something went wrong with that request. Please try again.