RESTfulAdhearsion

Description

Ruby library for consuming the Adhearsion RESTful RPC API.

Example

    Adhearsion = RESTfulAdhearsion.new(:host => "localhost", 
		                               :port => 5000, 
		                               :user => "jicksta", 
		                               :password => "roflcopterz")</h2>
<p>options = { :channel  => “<span class="caps">SIP</span>/3000”,
                :priority => 1,
                :exten    => “1000”,
	            :context  => “adhearsion”,
	            :async    => “true”,
	            :variable => “bill_this=true”  }</p>
<p>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/