@b0rk couple of years ago, when my friend was at a local hackathon / competition, he needed to automate sending/receiving SMS, but since we live in Armenia, a country that Twilio probably never even heard of, I built my friend a unscalable version of Twilio using Nokia N900, Python 2.5 and DBus. He just had to interact with it via an HTTP API.
So… I feel you.