← Back to team overview

dhis2-users team mailing list archive

Re: I need help On setting up SMS on dhis

 

Hi Anthony,

What is the interface to the gateway? I'm assuming HTTP? If you can give me the template for outgoing (MT) messages I will be able to guide you through that.

On the incoming (MO) side, the SMS Gateway provider will have to call your server on the following url: <DHIS2url>/sms/smsinput.action?sender=<sender>&message=<complete_message> <https://hmis.dhis.co.zm/test/sms/smsinput.action?sender=1234567&message=text>

They will have to implement HTTP Basic Authentication with a registered username/password, and send this in the header.

You should be aware that on 2.14, the server will return 200 OK even if the message is on an incorrect format, which may slow down debugging. This is fixed in 2.15.

Br,

_Andreas_

On 04. april 2014 19:00, Anthony Danso wrote:
Yes we collection Aggregated Data and we using KEY_VALUE_PARSER.we using an aggregator gateway.

From section 25.4 in the user documentation :http://www.dhis2.org/doc/snapshot/en/user/html/ch24s05.html . i completed the SMS command but i need information on how to set up the Gateway.




On Apr 4, 2014, at 7:14 AM, Kenneth Børtveit <kenneth.bortveit@xxxxxxxxx <mailto:kenneth.bortveit@xxxxxxxxx>> wrote:

It would help if you replied all Anthony :)

I think I am doing the same thing here in Rwanda, but I only get emails from Ola and Peder.

-Kenneth


2014-04-03 17:06 GMT+02:00 Peder Andreas Nergaard <andreasn@xxxxxxxxxx <mailto:andreasn@xxxxxxxxxx>>:

    Hi Anthony,

    It would help us greatly if you could provide the following
    information:

    1. What is the use case? Are you collecting aggregate data? Which
    parser are you using?

    2. What kind of gateway are you using? Are you using an
    aggregator, the Android SMS gateway or another gateway?

    3. Where do you meet the problems? What are you doing when the
    problem arises and what does it look like? Which error messages
    are you getting?


    Br,

    _Andreas_

    From: *Anthony Danso* <adanso31@xxxxxxxxx
    <mailto:adanso31@xxxxxxxxx>>
    Date: 3 April 2014 15:50
    Subject: Re: [Dhis2-users] I need help On setting up SMS on dhis

    i am currently running
    Version:
        2.14
    Build revision:
        13726
    Build date:
        2014-01-20 21:20
        The problem is that i have setup the SMS Command
        sucessfully but am  having a few challenge with setting up
the SMS Service Gateway.


    On 03. april 2014 12:08, Ola Hodne Titlestad wrote:
    Hi Anthony,

    Good to hear that you have moved forward on this.

    May I ask what version and build of DHIS 2 you are using (look
    it up in Profile->About DHIS 2)?

    Could you please also elaborate a little bit on what your
    problem is?
    What steps have you taken, what errors or problems are you
    encountering?

    Ola
    --------


    ----------------------------------
    Ola Hodne Titlestad (Mr)
    HISP
    Department of Informatics
    University of Oslo

    Mobile: +47 48069736 <tel:%2B47%2048069736>
    Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
    <https://maps.google.com/maps?q=Eftas%C3%A5sen+68,+0687+Oslo,+Norge&hl=en&ie=UTF8&sll=59.893855,10.785116&sspn=0.222842,0.585709&oq=eftas%C3%A5sen+68,+0687+Oslo,+&t=h&hnear=Eftas%C3%A5sen+68,+%C3%98stensj%C3%B8,+0687+Oslo,+Norway&z=16>


    On 3 April 2014 11:40, Anthony Danso <adanso31@xxxxxxxxx
    <mailto:adanso31@xxxxxxxxx>> wrote:

        Please i have successfuly set up the SMS command but am
        having a probe loading the ams gateway?
        On Apr 1, 2014, at 2:30 PM, Ola Hodne Titlestad
        <olati@xxxxxxxxxx <mailto:olati@xxxxxxxxxx>> wrot

        Ok, I assume these are aggregated values, as in number of
        cases of XXX?

        If so, I suggest you start by reading section 25.4 in the
        user documentation :

        http://www.dhis2.org/doc/snapshot/en/user/html/ch24s05.html

        And come back to this list if you have any questions.

        Ola
        ------

        1. apr. 2014 16:26 skrev "Anthony Danso"
        <adanso31@xxxxxxxxx <mailto:adanso31@xxxxxxxxx>> følgende:

            We want to use SMS for reporting of some cases in very
            remote areas in the countrt.So in other words users
            will only report through SMS into Dhis2,the cases of
            some diseases that  were detected in their facilities.
            On Apr 1, 2014, at 2:12 PM, Ola Hodne Titlestad
            <olati@xxxxxxxxxx <mailto:olati@xxxxxxxxxx>> wrote:

            Hi Anthony,

            Can you please elaborate a little on what aspects of
            SMS you want to make use of?

            SMS is used for many things in DHIS 2, e.g. for data
            entry as well as many different types of notifications
            and other outgoing messages.

            What do you want to achieve with SMS?

            Ola
            ------

            1. apr. 2014 15:34 skrev "Anthony Danso"
            <anthonydanso47@xxxxxxxxx
            <mailto:anthonydanso47@xxxxxxxxx>> følgende:

                Please can someone help me set up SMS in DHIS2.

                _______________________________________________
                Mailing list: https://launchpad.net/~dhis2-users
                <https://launchpad.net/%7Edhis2-users>
                Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
                <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
                Unsubscribe : https://launchpad.net/~dhis2-users
                <https://launchpad.net/%7Edhis2-users>
                More help   : https://help.launchpad.net/ListHelp






    _______________________________________________
    Mailing list:https://launchpad.net/~dhis2-users  <https://launchpad.net/%7Edhis2-users>
    Post to     :dhis2-users@xxxxxxxxxxxxxxxxxxx  <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe :https://launchpad.net/~dhis2-users  <https://launchpad.net/%7Edhis2-users>
    More help   :https://help.launchpad.net/ListHelp

-- Peder Andreas Nergaard, Mobile Coordinator
    HISP/DHIS2, Department of Informatics, University of Oslo
    http://www.dhis2.org/
    p:+47 922 47 500  <tel:%2B47%20922%2047%20500>  - s: peder.andreas.nergaard - e:andreasn@xxxxxxxxxx  <mailto:andreasn@xxxxxxxxxx>


    _______________________________________________
    Mailing list: https://launchpad.net/~dhis2-users
    <https://launchpad.net/%7Edhis2-users>
    Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
    <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~dhis2-users
    <https://launchpad.net/%7Edhis2-users>
    More help   : https://help.launchpad.net/ListHelp




--
Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
http://www.dhis2.org/
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@xxxxxxxxxx


References