RESTfulAdhearsion
Description
Ruby library for consuming the Adhearsion RESTful RPC API.
Example
Adhearsion = RESTfulAdhearsion.new(:host => "localhost",
:port => 5000,
:user => "jicksta",
:password => "roflcopterz")
Adhearsion = RESTfulAdhearsion.new(:host => "localhost",
:port => 5000,
:user => "jicksta",
:password => "roflcopterz")options = { :channel => “SIP/3000”, :priority => 1, :exten => “1000”, :context => “adhearsion”, :async => “true”, :variable => “bill_this=true” }
Adhearsion.originate options h2. Dependencies
- json v1.1.3+
- rest-client v0.8.2+
Installation
sudo gem install jsgoecke-restful_adhearsion —source=http://gems.github.com/