-
Notifications
You must be signed in to change notification settings - Fork 1
Home
TxtGate is a simple SMS gateway running entirely on an Android phone. It works wherever the phone can receive SMS messages and go online (via Wifi or GPRS), so it can provide an SMS gateway anywhere the phone works without needing to install hardware, deal with service providers etc.
When TxtGate is launched, it listens for SMS starting with a user-defined identifier string. When it receives one, it makes an HTTP POST request with its content & sender phone # to a pre set URL. If the response body contains text, it will be SMSed back to the sender phone.
You can install TxtGate from this page – you can either download the APK or use Android’s barcode scanner installation process.
Once the application is installed, launching it will display the following screen:
Pressing Menu will take open the settings screen. There are two settings to configure:
- SMS Identifier: TxtGate will only handle SMS messages that start with this string. If you wish to handle all incoming SMS, set this to an empty value.
- Target URL: Once an SMS is received, TxtGate will do an HTTP POST request to this URL, sending the contents in
msg
parameter and sender phone number insender
. If the response body contains text, TxtGate will SMS it back to the sender phone.
- Android enforces an outgoing limit of 100 SMS messages per hour. There are ways to override this
- At the moment TxtGate does not remove received SMS, which means you probably want to use one of Android’s SMS auto delete applications to clean them up periodically (if you have good/bad experience with a particular application let us know, we’ll be happy to post it here)
- TxtGate is not meant for mission critical or high load applications in its current form. It works, but it’s a young codebase and yet to be tested in real use. Again, if you have feedback on real use we’d love to hear it.
On any feedback, questions, comments, etc please feel free to email [email protected]