Well, it’s over a year later, but, just for the fun of it: it’s pretty straightforward to turn a Pi into a GSM gateway, capable of receiving calls (as an inbound route into Asterisk) and handling text messages.

I installed RasPBX (a Debian based Asterisk / FreePBX distribution), and configured the chan_dongle package.