Saturday, August 18, 2007

SMS to HTTP Gateway

I've become quite enamored with Google SMS. It's given me some ideas for other useful SMS interfaces. SMS seems like a convenient way to implement a mobile command-line interface to useful server-side services. To make that feasible, I want a handy gateway that translates incoming SMS messages into HTTP POST requests. Here's roughly the way I want it to play out:

  1. I send an SMS to 123-456-7890
  2. The gateway receives the message
  3. The gateway POSTs the following to a URI of my choice
    • message content
    • originating phone number
  4. If the HTTP response contains text content, the gateway uses it as the body of an SMS reply to the original sender
  5. Otherwise, no SMS reply is made

Apparently this service is offered in Europe, but I haven't found anything equivalent in the US. A thread on webmasterworld discusses roughly what I want, but I didn't find anything useful from it. Any suggestions?

0 comments: