Re: [Dhis2-devs] sms gateway for android
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 knu...@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 larshe...@gmail.comwrote: 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 playhttps://play.google.com/store/apps/details?id=org.dhis2.androidsmsor 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 ___ 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 ___ 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
Re: [Dhis2-devs] sms gateway for android
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. 26. okt. 2013 13:13 skrev Jason Pickering jason.p.picker...@gmail.com følgende: 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 knu...@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 larshe...@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 playhttps://play.google.com/store/apps/details?id=org.dhis2.androidsmsor 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 ___ 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 ___ 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 ___ 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
Re: [Dhis2-devs] sms gateway for android
Just to add, attached is a manual for the Android app: On Fri, Oct 25, 2013 at 2:15 PM, Lars Helge Øverland larshe...@gmail.comwrote: 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 playhttps://play.google.com/store/apps/details?id=org.dhis2.androidsmsor 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 Log in to http://apps.dhis2.org/dev/ with admin/district Create a user sms/SMStest1 with user role Data Entry Clerk and assigned to Sierra Leone Bo Baoma Baoma Station CHP Very important: Add the full mobile number of ANOTHER phone (not your Android), including country code, e.g. like this 4791880522 (including country code but no +) Go to Maintenance Mobile Configuration SMS commands. You will see that one dataset is already defined, Mortality: http://apps.dhis2.org/dev/dhis-web-maintenance-mobile/editSMSCommand.action?selectedCommandID=1 Now on your Android phone, install the DHIS2 SMS Gateway and open it URL:http://apps.dhis2.org/dev/sms/smsinput.action DHIS2 username: admin DHIS2 password: district Commands: mortality (not case sensitive) Forward messages should be green Click Save Now send the following message from the OTHER mobile TO your Android: Mortality a22 b33 You can check that it was received in two places: http://apps.dhis2.org/dev/dhis-web-maintenance-mobile/showReceivingPage.action And also in data entry (for September)___ 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