Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PHP CSS
tree: b71634e181

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
images
include
js
.gitignore
README
README.md
calls.sqlite
create_database.php
get_votes.php
handle_incoming_call.php
handle_incoming_call.xml
handle_incoming_sms.php
index.php
record_call.php
setup_phone_numbers.php
votes.sqlite

README.md

Text-to-Vote

Text-to-Vote is a simple web app that allows you to do realtime polling through SMS.

Text-to-Vote works with the Twilio API, so you'll need an account and phone number at Twilio before you can get started. Twilio sells simple, pay as you go phone services, and you can sign up for a free account with $30 of free credits at http://www.twilio.com.

Installation

Installation of Text-to-Vote is as simple as copying the folder, making it writeable, editing the configuration file, creating the database and pointing Twilio to the correct handlers.

  1. Copy the folder to your server.

  2. Make the folder writeable.

  3. Edit /include/config.php

  4. Run create_database.php by browsing to http://yourserver/Text-to-Vote/create_database.php

  5. Go to your Twilio numbers page and point the Voice URL to http://yourserver/Text-to-Vote/handle_incoming_call.xml (leave the default POST method selected) and point the SMS URL to http://yourserver/Text-to-Vote/handle_incoming_sms.php

License

Copyright (C) 2011 Rahim Sonawalla (rahim@twilio.com / @rahims) and Will Light (wrl@illest.net / @dudestache).

Released under the MIT license.

Something went wrong with that request. Please try again.