rapidsms-tropo 0.2.0

RapidSMS Tropo Threadless Backend
rapidsms-tropo is a basic Tropo backend for the RapidSMS Threadless router.


Create an application at tropo.com. Its type should be "Web API".

Add rtropo to your Python path and set up the Tropo backend in your Django settings file. For example:

 "tropo": {
 "ENGINE": "rtropo.backend",
 'config': {
 # Your Tropo application's outbound token for messaging
 # Your Tropo application's outbound token for voice (optional)
 # Your Tropo application's voice/messaging phone number (including country code, which must be +1 because only US numbers can be used for messaging)
 'number': '+1-###-###-####',

At this point you should be able to send outgoing messages, but more setup is needed to receiving incoming messages.

Set up your URLconf to send incoming http requests from tropo to rtropo.views.message_received, passing the backend_name parameter. For example:

from django.conf.urls.defaults import *
from rtropo import views

urlpatterns = patterns('',
 url(r"^tropo/$", views.message_received, kwargs={'backend_name': 'tropo'}, name='tropo'),

You can use any URL.

Configure your Tropo application at tropo.com so its SMS/Messaging URL will invoke the Django URL that you just configured. E.g.:


Voice and more complicated stuff

The tropo backend provides a way for your app to get access to tropo and do whatever it wants using Tropo's Web API. See rtropo/outgoing.py, TropoBackend.call_tropo().

last updated on:
July 7th, 2012, 22:59 GMT
license type:
BSD License 
developed by:
Caktus Consulting Group
ROOT \ Internet \ HTTP (WWW)
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in This Release:
  • Updates for RapidSMS 0.14 and later.
  • Support for bulk messaging - with RapidSMS 0.14.0 or later, many messages can be sent without requiring separate round trip requests to Tropo for each.
  • Add tests
  • Add tox test runner
read full changelog

Add your review!