No commit activity in last 3 years
No release in over 3 years
Extension to Sinatra.rb to allow managing an Asterisk IPBX from the web application
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.0

Runtime

~> 1.0
 Project Readme

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
Author

Dominique Broeglin <dominique.broeglin@gmail.com>

License

Copyright © 2011 Dominique Broeglin, released under the MIT license