sms gateway for android

Hi,

just wanted to highlight a nifty Android app which you can set up as a standalone SMS gateway for testing the SMS functionality in DHIS 2. Its made by Lars Roland - you can get it from google play or from here:

http://www.dhis2.org/appstore

The app basically looks for incoming SMS arriving at the Android phone, parses them to look for keywords and forwards these messages to your DHIS 2 server using HTTP. You can configure a list of SMS commands that should be forwarded to DHIS 2.

If you for example have created an SMS called ‘Report’ command within DHIS 2 under Mobile Configuration -> SMS Commands, and you configure the app to forward any SMS starting with ‘Report’ to DHIS 2, you can use this to test data entry by sending for example ‘Report A1 B2 C3’ to your mobile phone.

If your Android phone has an IP address that is accessible to your DHIS 2 server you can also use this Android App to send SMS messages from DHIS 2 to users. The URL to configure into DHISv2 is shown on the bottom of the app screen when running the app. This URL is configured in Mobile Configuration -> SMS Service Configuration -> Add Gateway -> Generic HTTP Gateway inside DHIS 2.

regards,

Lars

Just to add, attached is a “manual” for the Android app:

SMS Gateway.txt (1.07 KB)

···

On Fri, Oct 25, 2013 at 2:15 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi,

just wanted to highlight a nifty Android app which you can set up as a standalone SMS gateway for testing the SMS functionality in DHIS 2. Its made by Lars Roland - you can get it from google play or from here:

http://www.dhis2.org/appstore

The app basically looks for incoming SMS arriving at the Android phone, parses them to look for keywords and forwards these messages to your DHIS 2 server using HTTP. You can configure a list of SMS commands that should be forwarded to DHIS 2.

If you for example have created an SMS called ‘Report’ command within DHIS 2 under Mobile Configuration -> SMS Commands, and you configure the app to forward any SMS starting with ‘Report’ to DHIS 2, you can use this to test data entry by sending for example ‘Report A1 B2 C3’ to your mobile phone.

If your Android phone has an IP address that is accessible to your DHIS 2 server you can also use this Android App to send SMS messages from DHIS 2 to users. The URL to configure into DHISv2 is shown on the bottom of the app screen when running the app. This URL is configured in Mobile Configuration -> SMS Service Configuration -> Add Gateway -> Generic HTTP Gateway inside DHIS 2.

regards,

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

This looks like a useful tool. Is it possible to use this as a means of sending SMSes which are sent from the DHIS2 server via the local network (to which the android device is connected)? It would seem you would need a public IP to do this, but if the android is somehow connected to the DHIS2 server, I guess there is no means to “push” these messages directly to the Android device. I do not think any device is going to have a public IP.

Regards,

Jason

···

On Fri, Oct 25, 2013 at 4:15 PM, Knut Staring knutst@gmail.com wrote:

Just to add, attached is a “manual” for the Android app:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Fri, Oct 25, 2013 at 2:15 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi,

just wanted to highlight a nifty Android app which you can set up as a standalone SMS gateway for testing the SMS functionality in DHIS 2. Its made by Lars Roland - you can get it from google play or from here:

http://www.dhis2.org/appstore

The app basically looks for incoming SMS arriving at the Android phone, parses them to look for keywords and forwards these messages to your DHIS 2 server using HTTP. You can configure a list of SMS commands that should be forwarded to DHIS 2.

If you for example have created an SMS called ‘Report’ command within DHIS 2 under Mobile Configuration → SMS Commands, and you configure the app to forward any SMS starting with ‘Report’ to DHIS 2, you can use this to test data entry by sending for example ‘Report A1 B2 C3’ to your mobile phone.

If your Android phone has an IP address that is accessible to your DHIS 2 server you can also use this Android App to send SMS messages from DHIS 2 to users. The URL to configure into DHISv2 is shown on the bottom of the app screen when running the app. This URL is configured in Mobile Configuration → SMS Service Configuration → Add Gateway → Generic HTTP Gateway inside DHIS 2.

regards,

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Mobile terminated (DHIS to SMS) works if the android is on a wifi ip that dhis2 has access to.

For mobile originated (from mobile to dhis), it is simpler. Only needs internet with http access to the server, so server could be in cloud.

  1. okt. 2013 13:13 skrev “Jason Pickering” jason.p.pickering@gmail.com følgende:
···

On Fri, Oct 25, 2013 at 4:15 PM, Knut Staring knutst@gmail.com wrote:

Just to add, attached is a “manual” for the Android app:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Fri, Oct 25, 2013 at 2:15 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi,

just wanted to highlight a nifty Android app which you can set up as a standalone SMS gateway for testing the SMS functionality in DHIS 2. Its made by Lars Roland - you can get it from google play or from here:

http://www.dhis2.org/appstore

The app basically looks for incoming SMS arriving at the Android phone, parses them to look for keywords and forwards these messages to your DHIS 2 server using HTTP. You can configure a list of SMS commands that should be forwarded to DHIS 2.

If you for example have created an SMS called ‘Report’ command within DHIS 2 under Mobile Configuration -> SMS Commands, and you configure the app to forward any SMS starting with ‘Report’ to DHIS 2, you can use this to test data entry by sending for example ‘Report A1 B2 C3’ to your mobile phone.

If your Android phone has an IP address that is accessible to your DHIS 2 server you can also use this Android App to send SMS messages from DHIS 2 to users. The URL to configure into DHISv2 is shown on the bottom of the app screen when running the app. This URL is configured in Mobile Configuration -> SMS Service Configuration -> Add Gateway -> Generic HTTP Gateway inside DHIS 2.

regards,

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org