DHIS2 SMS URL

Hi All,

I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David

hi David,

the URL should be: localhost:[port]/dhis/sms/smsinput.action?sender=[sender]&received_time=[date time]&message=[content]

here is explanation for those parameters:

[port]: for example: 8080

[sender]: phone number of the sender, it should has the area code, for example +84 from Viet Nam

[date time]: for example: 2012-04-30+10%3A00, this means 2012-04-30 10:00

[content]: the content of your SMS

and here is a completed URL if you’re using a local host:

http://localhost:8080/dhis/sms/smsinput.action?sender=+849000111222&received_time=2012-04-30+10%3A00&message=hello+DHIS

Best,

···

On Thu, Aug 1, 2013 at 4:04 PM, David Muturi dnmuturi@gmail.com wrote:

Hi All,

I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David


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


Lai
Dhis Mobile

+84944485878

Hi,

I guess you are using BulkSMS or ClickAtell service.
To be able to receive SMS from your gateway, you need a relay to forward the sms to your DHIS2.

Please find the attachment in this email for a simple relay application (created By Lars Roland). You can put the war file in the same Tomcat with your DHIS2 instance. I also attached the 'spring-servlet.xml' which is imprtant for setting up the forward. This file also appear in /sms/WEB-INF/ directory when the war file being unpacked by Tomcat. This file contain the instruction for how to setup the relay.

Best regards,
Long

···

On 8/1/2013 4:04 PM, David Muturi wrote:

Hi All,

I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks
David

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

Many thanks

David

···

2013/8/1 Nguyen Kim Lai lai.hispvietnam@gmail.com

hi David,

the URL should be: localhost:[port]/dhis/sms/smsinput.action?sender=[sender]&received_time=[date time]&message=[content]

here is explanation for those parameters:

[port]: for example: 8080

[sender]: phone number of the sender, it should has the area code, for example +84 from Viet Nam

[date time]: for example: 2012-04-30+10%3A00, this means 2012-04-30 10:00

[content]: the content of your SMS

and here is a completed URL if you’re using a local host:

http://localhost:8080/dhis/sms/smsinput.action?sender=+849000111222&received_time=2012-04-30+10%3A00&message=hello+DHIS

Best,

On Thu, Aug 1, 2013 at 4:04 PM, David Muturi dnmuturi@gmail.com wrote:

Hi All,

I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David


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

Lai
Dhis Mobile

+84944485878

I think you forgot to attach the files Long.

Find attached

···

---
Sam

On Thu, Aug 1, 2013 at 12:26 PM, Ngo Long <thanhlongngo1988@yahoo.com.vn>wrote:

Hi,

I guess you are using BulkSMS or ClickAtell service.
To be able to receive SMS from your gateway, you need a relay to forward
the sms to your DHIS2.

Please find the attachment in this email for a simple relay application
(created By Lars Roland). You can put the war file in the same Tomcat with
your DHIS2 instance. I also attached the 'spring-servlet.xml' which is
imprtant for setting up the forward. This file also appear in /sms/WEB-INF/
directory when the war file being unpacked by Tomcat. This file contain the
instruction for how to setup the relay.

Best regards,
Long

On 8/1/2013 4:04 PM, David Muturi wrote:

Hi All,

I am trying to configure a gateway to receive messages and forward them
to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS
because I have not configured the URL to receive the messages. I have
looked for the info on the manual and cant seem to trace the URL to
recieve, the dhis2 is running on localhost.

thanks
David

______________________________**_________________
Mailing list: https://launchpad.net/~dhis2-**devs&lt;https://launchpad.net/~dhis2-devs&gt;
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-**devs&lt;https://launchpad.net/~dhis2-devs&gt;
More help : https://help.launchpad.net/**ListHelp&lt;https://help.launchpad.net/ListHelp&gt;

_______________________________________________
Mailing list: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

Hi All,

I succeeded in getting the URL for the SMS based reporting to work on DHIS.
I am trying to set up aggregate reporting for a smart phone browser based interface. I am looking for the info on the manual and cant seem to find it. Any directions on this are welcome.

rgds

David

···

2013/8/1 David Muturi dnmuturi@gmail.com

Hi All,

I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David

Hi David,

On a smartphone, just open your browser and point it to your DHIS2 server, e.g. http://apps.dhis2.org/demo

You will get a choice of versions, “Basic”, “Smartphone” and “Desktop”.

These are also available from the Services menu inside DHIS, called Mobile (Light) and Mobile (Smartphone): http://apps.dhis2.org/demo/mobile/index

···

On Mon, Aug 5, 2013 at 4:11 PM, David Muturi dnmuturi@gmail.com wrote:

Hi All,

I succeeded in getting the URL for the SMS based reporting to work on DHIS.

I am trying to set up aggregate reporting for a smart phone browser based interface. I am looking for the info on the manual and cant seem to find it. Any directions on this are welcome.

rgds

David


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

2013/8/1 David Muturi dnmuturi@gmail.com

Hi All,

I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David

Hi Knut,
I am able to see this, the problem is I am unable to see my datasets under aggregate reporting.

rgds

David

···

2013/8/5 Knut Staring knutst@gmail.com

Hi David,

On a smartphone, just open your browser and point it to your DHIS2 server, e.g. http://apps.dhis2.org/demo

You will get a choice of versions, “Basic”, “Smartphone” and “Desktop”.

These are also available from the Services menu inside DHIS, called Mobile (Light) and Mobile (Smartphone): http://apps.dhis2.org/demo/mobile/index

On Mon, Aug 5, 2013 at 4:11 PM, David Muturi dnmuturi@gmail.com wrote:

Hi All,

I succeeded in getting the URL for the SMS based reporting to work on DHIS.

I am trying to set up aggregate reporting for a smart phone browser based interface. I am looking for the info on the manual and cant seem to find it. Any directions on this are welcome.

rgds

David

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

2013/8/1 David Muturi dnmuturi@gmail.com

Hi All,

I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David

Hi,

In order to see your aggregate dataset in the mobile user interface, please go to "Maintenance", "Mobile Configuration" then "Dataset for Mobile". Here, add your dataset to the right column. Also make sure you assign the dataset for the correct OrgUnit with the appropriate authorities.

Long

···

On 8/6/2013 1:32 PM, David Muturi wrote:

Hi Knut,
I am able to see this, the problem is I am unable to see my datasets under aggregate reporting.

rgds
David

2013/8/5 Knut Staring <knutst@gmail.com <mailto:knutst@gmail.com>>

    Hi David,

    On a smartphone, just open your browser and point it to your DHIS2
    server, e.g. DHIS2 App Hub

    You will get a choice of versions, "Basic", "Smartphone" and
    "Desktop".

    These are also available from the Services menu inside DHIS,
    called Mobile (Light) and Mobile (Smartphone):
    DHIS2 App Hub

    On Mon, Aug 5, 2013 at 4:11 PM, David Muturi <dnmuturi@gmail.com > <mailto:dnmuturi@gmail.com>> wrote:

        Hi All,
        I succeeded in getting the URL for the SMS based reporting to
        work on DHIS.
        I am trying to set up aggregate reporting for a smart phone
        browser based interface. I am looking for the info on the
        manual and cant seem to find it. Any directions on this are
        welcome.

        rgds
        David

        2013/8/1 David Muturi <dnmuturi@gmail.com
        <mailto:dnmuturi@gmail.com>>

            Hi All,

            I am trying to configure a gateway to receive messages and
            forward them to DHIS. So far the SMS gets to the gateway
            but cant be sent to DHIS because I have not configured
            the URL to receive the messages. I have looked for the
            info on the manual and cant seem to trace the URL to
            recieve, the dhis2 is running on localhost.

            thanks
            David

    -- Knut Staring
    Dept. of Informatics, University of Oslo
    +4791880522
    http://dhis2.org

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

Thanks Long,

For the smartphone interface, it comes down to the second part - assigning datasets to orgunits and having proper access rights.

···

On Tue, Aug 6, 2013 at 8:39 AM, Ngo Long thanhlongngo1988@yahoo.com.vn wrote:

Hi,

  In order to see your aggregate dataset in the mobile user interface, please go to "Maintenance", "Mobile Configuration" then "Dataset for Mobile". Here, add your dataset to the right column. Also make sure you assign the dataset for the correct OrgUnit with the appropriate authorities.



  Long




  On 8/6/2013 1:32 PM, David Muturi wrote:

Hi Knut,
I am able to see this, the problem is I am unable to see my datasets under aggregate reporting.

rgds

David

_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

2013/8/5 Knut Staring knutst@gmail.com

Hi David,

            On a smartphone, just open your browser and point it to your DHIS2 server, e.g. [http://apps.dhis2.org/demo](http://apps.dhis2.org/demo)
            You will get a choice of versions, "Basic", "Smartphone" and "Desktop".
            These are also available from the Services menu inside DHIS, called Mobile (Light) and Mobile (Smartphone): [http://apps.dhis2.org/demo/mobile/index](http://apps.dhis2.org/demo/mobile/index)
                On Mon, Aug 5, 2013 at 4:11 PM, David Muturi <dnmuturi@gmail.com>
                wrote:

Hi All,

                        I succeeded in getting the URL for the SMS based reporting to work on DHIS.

                        I am trying to set up aggregate reporting for a smart phone browser based interface. I am looking for the info on the manual and cant seem to find it. Any directions on this are welcome.

rgds

David

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

                          2013/8/1 David Muturi <dnmuturi@gmail.com>

Hi All,

                                  I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because  I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David

Thanks Knut and Long, I have managed to see my datasets after following your advise.

rgds

David

···

2013/8/6 Knut Staring knutst@gmail.com

Thanks Long,

For the smartphone interface, it comes down to the second part - assigning datasets to orgunits and having proper access rights.

On Tue, Aug 6, 2013 at 8:39 AM, Ngo Long thanhlongngo1988@yahoo.com.vn wrote:

Hi,

  In order to see your aggregate dataset in the mobile user interface, please go to "Maintenance", "Mobile Configuration" then "Dataset for Mobile". Here, add your dataset to the right column. Also make sure you assign the dataset for the correct OrgUnit with the appropriate authorities.



  Long




  On 8/6/2013 1:32 PM, David Muturi wrote:

Hi Knut,
I am able to see this, the problem is I am unable to see my datasets under aggregate reporting.

rgds

David

_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

2013/8/5 Knut Staring knutst@gmail.com

Hi David,

            On a smartphone, just open your browser and point it to your DHIS2 server, e.g. [http://apps.dhis2.org/demo](http://apps.dhis2.org/demo)
            You will get a choice of versions, "Basic", "Smartphone" and "Desktop".
            These are also available from the Services menu inside DHIS, called Mobile (Light) and Mobile (Smartphone): [http://apps.dhis2.org/demo/mobile/index](http://apps.dhis2.org/demo/mobile/index)
                On Mon, Aug 5, 2013 at 4:11 PM, David Muturi <dnmuturi@gmail.com>
                wrote:

Hi All,

                        I succeeded in getting the URL for the SMS based reporting to work on DHIS.

                        I am trying to set up aggregate reporting for a smart phone browser based interface. I am looking for the info on the manual and cant seem to find it. Any directions on this are welcome.

rgds

David

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

                          2013/8/1 David Muturi <dnmuturi@gmail.com>

Hi All,

                                  I am trying to configure a gateway to receive messages and forward them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because  I have not configured the URL to receive the messages. I have looked for the info on the manual and cant seem to trace the URL to recieve, the dhis2 is running on localhost.

thanks

David

Hi all,

Does anyone have experience of exporting form DHIS2 to DHIS1.4? I have seen the functionality in the Import-Export Module but interested in actual use cases of what works and any particular pitfalls or limitations.

Thanks

Busoye