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:
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.
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:
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.
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:
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:
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.
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:
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.