Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Tropo Voice Dialtone powered by Ruby/Sinatra

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 vendor
Octocat-spinner-32 .gems
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 config.ru
Octocat-spinner-32 dialtone.rb
README.rdoc

Tropo Voice Dialtone (Ruby/Sinatra Version)

This is a Ruby/Sinatra-powered Phono (phono.com) / Tropo (tropo.com) application. Click the Phono button and say or enter a 10 digit number that you would like to dial and we will do the rest.

How does it work?

Phono is a jQuery based VoIP SIP phone that runs in the browser. When the red button is clicked, it places a SIP call into a Tropo application using the WebAPI. The Tropo application is written in Ruby and uses the Tropo-WebAPI-Ruby and Sinatra gems. The Tropo app first asks the caller to say or enter a phone number. The phone number is posted back to the Tropo app (/answer) where a transfer response is returned to the Tropo cloud.

Running on localhost

gem install sinatra gem install tropo-webapi-ruby

ruby dialtone.rb

Something went wrong with that request. Please try again.