- Install the Apache Webserver
- sudo gem install rack
- sudo gem install passenger (follow instructions here for compiling the Apache module)
Jason Goecke has a long history in telephony. His unique perspective is built on extensive business experience around the world as well as technical depth. His passion for disruption manifests itself in his on-going support of open source telephony, with the latest phase being his commitment to the Adhearsion project.
TwitterFacebookLinkedInFriendfeedFlickrYoutubeTumblrmetaweblogahn enable component restful_rpc
Thats it! Your Adhearsion app now has a REST API.
To showcase this capability we have created an example component (restful_clicktocall) that provides a web form to do a 'Click to Call'. The web form is developed using JQuery in order to provide a dynamic interface, using AJAX (but with JSON), that shows call progress. The web form is then served up using the great Sinatra library as the web server that in turn calls Adhearsion methods using the restful_adhearsion client library.
Enough of that, lets see how it works:
[blip.tv ?posts_id=1743747&dest=-1]
Feel free to download the example component here and give it a try yourself.