A Lightweight SMS Gateway on a Stick: Slingshot SMS

Posted by KatrinVerclas on Aug 17, 2009

Our excellent and long-time MobileActive.org friends over at Development Seed have released a new light-weight open source SMS gateway that can run on a laptop or a USB stick.

From Development Seed's Tm McWright: "Using an GSM modem or cellphone, SlingshotSMS will send and receive text messages on behalf of your web application. It builds on the work of pygsm, an excellent Python library for dealing with AT-compatible modems. What this means is that SlingshotSMS is compatible with Mac, Windows, and Linux, and can interface with a wide range of GSM modems and cell phones - including many sub-$200 field-ready modems like the one we used for testing when we were field-testing last week as part of our participation in Camp Roberts experimentsAll code is available on github.

Here is a breakdown of the SlingshotSMS workflow..."As you can see, the light software needs a USB drive, a computer with internet, and a GSM modem or cell phone. (I have a list of phones supported so far in the readme.txt.) With this setup, you can have a gateway up and running that is totally decentralized and pushing information up to a site or a series of sites. The decentralization is key.

For example, its users could all be ad hoc networks and all be using pre-paid SIM cards and passing data up to a series of sites. By staying light and by no means competing with in-country telcos providing bulk SMS, we think this has the potential to make systems more resilient.

SlingshotSMS Work Flow

What SlingshotSMS adds to the work of the pygsm authors is important but very small - it makes a webservice out of a device. With the CherryPy web framework, you start up the server with a double-click and go to http://127.0.0.1:8080/ to see a list of capabilities. Via normal HTTP, you can send a text message, and when the modem receives a message it will post it to an 'endpoint' you specify. The neat thing about this approach is that with a system like Drupal you can have new messages within seconds without waiting for cron to run. Some custom code for Drupal is on its way, but in the meantime, it's simple to build: receiving a new text message looks just like a user submitting a form.

We are excited to work with other developers on this project. As mentioned above, SlingshotSMS is completely open-source and available on github. If you're interested in moving SMS tech forward, check out the basic tools that we used to make this happen - CherryPy, pygsm, py2app, and py2exe. To get a sense of how this works on the ground, read Robert's post from Camp Roberts about sending and receiving SMS messages in near-realtime and how Drupal could respond immediately to emergency alerts."

Photo courtesy Development Seed

Can I use my GSM modem instead ?

 I can use my GSM modem to send and receive SMS's. Can you help me understand the benefits to using your solution or a solution of a SMS Gateway of my own ?

SlingshotSMS

Mihai - SlingshotSMS is a bridge between a web app and an SMS modem, acting like a tiny SMS gateway.  For a use case using a specific web app for managing news online, see this post, for example: http://developmentseed.org/blog/2010/feb/22/integrating-slingshotsms-managing-news.  While you can send and receive SMS with any modem, you can not connect your modem to a website/app without a gateway.  Slingshot was meant to be a very light-weight gateway. Note that there has been no active development of the code for about a year now, so it's a bit old now, even though it can certainly be revived/updated. However, I would not consider this an active project right now (in terms of active software development).  Let me know if you have other questions and I direct you to the rght people :) 

Best,

Katrin

Slingshot.

I have never been a technical person and I have no plans of becoming one. However, I can tell when things are going smoothly, and I can see when daily activities seem to be improved. This looks like a serious product that will help me every day. Thank you for making this available. online casino

What's New

Dont see what's new here. We have been doing this in Africa for Ages.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><p><br> <b><i><blockquote>
  • Lines and paragraphs break automatically.

More information about formatting options