← Back to team overview

dhis2-users team mailing list archive

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.pickering@xxxxxxxxx>
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 <knutst@xxxxxxxxx> 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@xxxxxxxxx
>> > 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<https://play.google.com/store/apps/details?id=org.dhis2.androidsms>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@xxxxxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References