Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Sinatra.rb extension to control an Asterisk IPBX

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 HISTORY.rdoc
Octocat-spinner-32 LICENSES
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.