I need help On setting up SMS on dhis

Please can someone help me set up SMS in DHIS2.

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@yahoo.com følgende:

Please can someone help me set up SMS in DHIS2.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

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@gmail.com 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@ifi.uio.no 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@yahoo.com følgende:

Please can someone help me set up SMS in DHIS2.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

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
Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link

On 3 April 2014 11:40, Anthony Danso adanso31@gmail.com 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@ifi.uio.no 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@gmail.com 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@ifi.uio.no 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@yahoo.com følgende:

Please can someone help me set up SMS in DHIS2.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

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_

It would help if you replied all Anthony :slight_smile:

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@ifi.uio.no:

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@gmail.com>

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


_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo [http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


      Ola Hodne Titlestad (Mr)

      HISP

      Department of Informatics

      University of Oslo

      Mobile: +47 48069736

      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@gmail.com
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@ifi.uio.no                  > 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@gmail.com                        > 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@ifi.uio.no                                > 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@yahoo.com                                  > 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@lists.launchpad.net

                                Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

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: /sms/smsinput.action?sender=&message=<complete_message>

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@gmail.com >
wrote:

It would help if you replied all Anthony :slight_smile:

              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@ifi.uio.no:

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@gmail.com>

                  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

                            Home address: Eftasåsen 68, 0687 Oslo,

Norway. Googlemaps link

                            On 3 April 2014

11:40, Anthony Danso adanso31@gmail.com
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@ifi.uio.no
>
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@gmail.com
>
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@ifi.uio.no >
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@yahoo.com
>
følgende:

                                                      Please can

someone help
me set up SMS
in DHIS2.


                                                      Mailing list:

https://launchpad.net/~dhis2-users

                                                      Post to     :

dhis2-users@lists.launchpad.net

                                                      Unsubscribe :

https://launchpad.net/~dhis2-users

                                                      More help   :

https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
[http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no
                _______________________________________________

                Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                Post to     : dhis2-users@lists.launchpad.net

                Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no

Hi Anthony,

I copied the list, as this information is useful for others. I

substituted usernames and passwords with ***.

You will need to develop a proxy for the incoming messages, as these

will need to be on the format specified below. Alternatively you can
ask the SMS gateway to deliver messages on our format. Basic Auth is
documented here:
http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610

For the outgoing messages, do the following:

1. Go to "Mobile Configuration"->"SMS Service Configuration"

2. Click "Add Gateway"

3. Select "Generic HTTP Gateway".

4. Write a name for the gateway

5. Fill in username and password

6. Write the following in the URL string:

<your incoming

&To={recipient}&Content={message}&ClientId=&ClientSecret=
Substitute everything in <> with your information. Words in {}
are DHIS2 variables and should be left alone.

  1. Save the gateway
  2. Set your new gateway as default
  3. You should now be able to send SMS
    Note that you can only configure for one sending shortcode, so you
    cannot differentiate between the shortcodes for various operators,
    as we have no way of knowing who is on which operator.
    Br,
    Andreas
···

https://api.smsgh.com/v3/messages/send?From=

  On 07. april 2014 14:30, Anthony Danso

wrote:

    Please can u have a look at the details given by the SMS

provider.

Account on SMSGH unity portal https://unity.smsgh.com .
Use the credential given to log in.

        Unity Account Details:

ID: ***

        PW: ***

Short Codes:

      *** - MTN

      *** - Voda, Expresso, Airtel
    Please let your developer visit the url below for API details in

sending and receiving messages.

    [http://developers.smsgh.com/documentations/receivemessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Freceivemessage&sa=D&sntz=1&usg=AFQjCNGYby4iazEf0RbTNbdudb_FWad4Hg)



    [http://developers.smsgh.com/documentations/sendmessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Fsendmessage&sa=D&sntz=1&usg=AFQjCNEF6ibfbu4pIXfdibeg688d0uyN8g)

    .

On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no >
wrote:

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: /sms/smsinput.action?sender=&message=<complete_message>

        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_

      Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

      Post to     : dhis2-users@lists.launchpad.net

      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
p: +47 922 47 500 - s: peder.andreas.nergaard - e:
          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@gmail.com
>
wrote:

                    It would help if you replied all

Anthony :slight_smile:

                      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@ifi.uio.no:

                          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@gmail.com

                          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

                                    Home address: Eftasåsen 68, 0687

Oslo, Norway. Googlemaps
link

                                    On 3

April 2014 11:40, Anthony Danso
adanso31@gmail.com
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@ifi.uio.no >
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@gmail.com

                                                  >

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@ifi.uio.no
>
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@yahoo.com

                                                      >

følgende:

                                                      Please can

someone help
me set up SMS
in DHIS2.


                                                      Mailing list:

https://launchpad.net/~dhis2-users

                                                      Post to     :

dhis2-users@lists.launchpad.net

                                                      Unsubscribe :

https://launchpad.net/~dhis2-users

                                                      More help   :

https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
[http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

                        Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                        Post to     : dhis2-users@lists.launchpad.net

                        Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                        More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.nohttp://www.dhis2.org/andreasn@ifi.uio.no

Hi Anthony,

What are your current issues? What is working and what is not

working?

Br,

_Andreas_
···

On 16. juni 2014 12:08, Anthony Danso
wrote:

  Please am still having issues with the Setting up of proxy for SMS

in DHIS2.can someone help me out?
On Apr 7, 2014, at 12:55 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no >
wrote:

Hi Anthony,

        I copied the list, as this information is useful for others.

I substituted usernames and passwords with ***.

        You will need to develop a proxy for the incoming messages,

as these will need to be on the format specified below.
Alternatively you can ask the SMS gateway to deliver
messages on our format. Basic Auth is documented here: http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610

        For the outgoing messages, do the following: 



        1. Go to "Mobile Configuration"->"SMS Service

Configuration"

        2. Click "Add Gateway"

        3. Select "Generic HTTP Gateway".

        4. Write a name for the gateway

        5. Fill in username and password

        6. Write the following in the URL string:



        <your

incoming
number>&To={recipient}&Content={message}&ClientId=&ClientSecret=
Substitute everything in <> with your information.
Words in {} are DHIS2 variables and should be left alone.
7. Save the gateway
8. Set your new gateway as default
9. You should now be able to send SMS
Note that you can only configure for one sending shortcode,
so you cannot differentiate between the shortcodes for
various operators, as we have no way of knowing who is on
which operator.
Br,
Andreas


-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
p: +47 922 47 500 - s: peder.andreas.nergaard - e:

https://api.smsgh.com/v3/messages/send?From=

          On 07. april 2014 14:30,

Anthony Danso wrote:

            Please can u have a look at the details given by the

SMS provider.

Account on SMSGH unity portal https://unity.smsgh.com .
Use the credential given to log in.

                Unity Account Details:

ID: ***

                PW: ***

Short Codes:

              *** - MTN

              *** - Voda, Expresso, Airtel
            Please let your developer visit the url below for API

details in sending and receiving messages.

            [http://developers.smsgh.com/documentations/receivemessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Freceivemessage&sa=D&sntz=1&usg=AFQjCNGYby4iazEf0RbTNbdudb_FWad4Hg)



            [http://developers.smsgh.com/documentations/sendmessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Fsendmessage&sa=D&sntz=1&usg=AFQjCNEF6ibfbu4pIXfdibeg688d0uyN8g)

            .
              On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard

<andreasn@ifi.uio.no >
wrote:

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:/sms/smsinput.action?sender=&message=<complete_message>

                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_

              Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

              Post to     : dhis2-users@lists.launchpad.net

              Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

              More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
                  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@gmail.com >
wrote:

                            It would help if you

replied all Anthony :slight_smile:

                              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@ifi.uio.no:

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@gmail.com

                                  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

                                            Home address: Eftasåsen

68, 0687 Oslo, Norway. Googlemaps
link

                                            On

3 April 2014 11:40,
Anthony Danso adanso31@gmail.com 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@ifi.uio.no >
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@gmail.com >
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@ifi.uio.no >
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@yahoo.com >
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@lists.launchpad.net

                                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
_______________________________________________
Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
[http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

                                Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                Post to     : dhis2-users@lists.launchpad.net

                                Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator
HISP/DHIS2, Department of Informatics, University of Oslo
p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.nohttp://www.dhis2.org/andreasn@ifi.uio.no

Thanks,

- Do you see any incoming messages at all?

- Which error code does the aggregator see on their side?

- What does the document that is sent back from DHIS2 to the aggregator look like.

_Andreas_
···

On 16. juni 2014 13:35, Danso Anthony wrote:

    I am still having issues with receiving SMS from the the gateway.
    For the setup in dhis it fine but the receiving it's not working 



    Sent from my iPhone 5s
    On Jun 16, 2014, at 11:20 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no        > wrote:

Hi Anthony,

      What are your current issues? What is working and what is not working?



      Br,



      _Andreas_

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:
        On 16. juni 2014 12:08, Anthony Danso wrote:
        Please am still having issues with the Setting up of proxy for SMS in DHIS2.can someone help me out?
            On Apr 7, 2014, at 12:55 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no
            > wrote:

Hi Anthony,

              I copied the list, as this information is useful for others. I substituted usernames and passwords with ***.



              You will need to develop a proxy for the incoming messages, as these will need to be on the format specified below. Alternatively you can ask the SMS gateway to deliver messages on our format. Basic Auth is documented here:[ http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610](http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610)

              For the outgoing messages, do the following: 



              1. Go to "Mobile Configuration"->"SMS Service Configuration" 

              2. Click "Add Gateway"

              3. Select "Generic HTTP Gateway".

              4. Write a name for the gateway

              5. Fill in username and password

              6. Write the following in the URL string:



              <your incoming number>&To={recipient}&Content={message}&ClientId=<username>&ClientSecret=<password> Substitute everything in <> with your information. Words in {} are DHIS2 variables and should be left alone. 7. Save the gateway 8. Set your new gateway as default 9. You should now be able to send SMS Note that you can only configure for one sending shortcode, so you cannot differentiate between the shortcodes for various operators, as we have no way of knowing who is on which operator. Br, _Andreas_

https://api.smsgh.com/v3/messages/send?From=

                On 07. april 2014 14:30, Anthony Danso wrote:
                  Please can u have a look at the details given by the SMS provider.

Account on SMSGH unity portal https://unity.smsgh.com . Use the credential given to log in.

                      Unity Account Details:

ID: ***

                      PW: ***

Short Codes:

                    *** - MTN

                    *** - Voda, Expresso, Airtel
                  Please let your developer visit the url below for API details in sending and receiving messages.



                  [http://developers.smsgh.com/documentations/receivemessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Freceivemessage&sa=D&sntz=1&usg=AFQjCNGYby4iazEf0RbTNbdudb_FWad4Hg)



                  [http://developers.smsgh.com/documentations/sendmessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Fsendmessage&sa=D&sntz=1&usg=AFQjCNEF6ibfbu4pIXfdibeg688d0uyN8g)

                  .
                    On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no
                    > wrote:
                      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_

                    Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                    Post to     : dhis2-users@lists.launchpad.net

                    Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                    More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
                        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](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@gmail.com
                                > 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@ifi.uio.no>:

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@gmail.com>

                                        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

                                                  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@gmail.com> 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@ifi.uio.no
                                                      > 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@gmail.com
                                                      > 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@ifi.uio.no
                                                      > 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@yahoo.com
                                                      > 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@lists.launchpad.net

                                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo [http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

                                      Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                      Post to     : dhis2-users@lists.launchpad.net

                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.nohttp://www.dhis2.org/andreasn@ifi.uio.no

No messages are received in dhis .but on the SMS unity portal messages are received and sent out to be received by dhis.

···

On 16. juni 2014 13:35, Danso Anthony wrote:

    I am still having issues with receiving SMS from the the gateway.
    For the setup in dhis it fine but the receiving it's not working 



    Sent from my iPhone 5s
    On Jun 16, 2014, at 11:20 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no        > wrote:

Hi Anthony,

      What are your current issues? What is working and what is not working?



      Br,



      _Andreas_
        On 16. juni 2014 12:08, Anthony Danso wrote:
        Please am still having issues with the Setting up of proxy for SMS in DHIS2.can someone help me out?
            On Apr 7, 2014, at 12:55 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no
            > wrote:

Hi Anthony,

              I copied the list, as this information is useful for others. I substituted usernames and passwords with ***.



              You will need to develop a proxy for the incoming messages, as these will need to be on the format specified below. Alternatively you can ask the SMS gateway to deliver messages on our format. Basic Auth is documented here:[ http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610](http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610)

              For the outgoing messages, do the following: 



              1. Go to "Mobile Configuration"->"SMS Service Configuration" 

              2. Click "Add Gateway"

              3. Select "Generic HTTP Gateway".

              4. Write a name for the gateway

              5. Fill in username and password

              6. Write the following in the URL string:



              <your incoming number>&To={recipient}&Content={message}&ClientId=<username>&ClientSecret=<password> Substitute everything in <> with your information. Words in {} are DHIS2 variables and should be left alone. 7. Save the gateway 8. Set your new gateway as default 9. You should now be able to send SMS Note that you can only configure for one sending shortcode, so you cannot differentiate between the shortcodes for various operators, as we have no way of knowing who is on which operator. Br, _Andreas_

https://api.smsgh.com/v3/messages/send?From=

                On 07. april 2014 14:30, Anthony Danso wrote:
                  Please can u have a look at the details given by the SMS provider.

Account on SMSGH unity portal https://unity.smsgh.com . Use the credential given to log in.

                      Unity Account Details:

ID: ***

                      PW: ***

Short Codes:

                    *** - MTN

                    *** - Voda, Expresso, Airtel
                  Please let your developer visit the url below for API details in sending and receiving messages.



                  [http://developers.smsgh.com/documentations/receivemessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Freceivemessage&sa=D&sntz=1&usg=AFQjCNGYby4iazEf0RbTNbdudb_FWad4Hg)



                  [http://developers.smsgh.com/documentations/sendmessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Fsendmessage&sa=D&sntz=1&usg=AFQjCNEF6ibfbu4pIXfdibeg688d0uyN8g)

                  .
                    On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no
                    > wrote:
                      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_

                    Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                    Post to     : dhis2-users@lists.launchpad.net

                    Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                    More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
                        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](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@gmail.com
                                > 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@ifi.uio.no>:

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@gmail.com>

                                        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

                                                  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@gmail.com> 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@ifi.uio.no
                                                      > 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@gmail.com
                                                      > 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@ifi.uio.no
                                                      > 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@yahoo.com
                                                      > 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@lists.launchpad.net

                                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo [http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

                                      Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                      Post to     : dhis2-users@lists.launchpad.net

                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no

Please the information in < > ?? What is it referring to?

&To={recipient}&Content={message}&ClientId=&ClientSecret=Substitute everything in <> with your information. Words in {} are DHIS2 variables and should be left alone.

Thanks,

- Do you see any incoming messages at all?

- Which error code does the aggregator see on their side?

- What does the document that is sent back from DHIS2 to the aggregator look like.



_Andreas_

Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

···

https://api.smsgh.com/v3/messages/send?From=

  On 16. juni 2014 13:35, Danso Anthony wrote:
    I am still having issues with receiving SMS from the the gateway.
    For the setup in dhis it fine but the receiving it's not working 



    Sent from my iPhone 5s
    On Jun 16, 2014, at 11:20 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no        > wrote:

Hi Anthony,

      What are your current issues? What is working and what is not working?



      Br,



      _Andreas_
        On 16. juni 2014 12:08, Anthony Danso wrote:
        Please am still having issues with the Setting up of proxy for SMS in DHIS2.can someone help me out?
            On Apr 7, 2014, at 12:55 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no
            > wrote:

Hi Anthony,

              I copied the list, as this information is useful for others. I substituted usernames and passwords with ***.



              You will need to develop a proxy for the incoming messages, as these will need to be on the format specified below. Alternatively you can ask the SMS gateway to deliver messages on our format. Basic Auth is documented here:[ http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610](http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610)

              For the outgoing messages, do the following: 



              1. Go to "Mobile Configuration"->"SMS Service Configuration" 

              2. Click "Add Gateway"

              3. Select "Generic HTTP Gateway".

              4. Write a name for the gateway

              5. Fill in username and password

              6. Write the following in the URL string:



              <your incoming number>&To={recipient}&Content={message}&ClientId=<username>&ClientSecret=<password> Substitute everything in <> with your information. Words in {} are DHIS2 variables and should be left alone. 7. Save the gateway 8. Set your new gateway as default 9. You should now be able to send SMS Note that you can only configure for one sending shortcode, so you cannot differentiate between the shortcodes for various operators, as we have no way of knowing who is on which operator. Br, _Andreas_

https://api.smsgh.com/v3/messages/send?From=

                On 07. april 2014 14:30, Anthony Danso wrote:
                  Please can u have a look at the details given by the SMS provider.

Account on SMSGH unity portal https://unity.smsgh.com . Use the credential given to log in.

                      Unity Account Details:

ID: ***

                      PW: ***

Short Codes:

                    *** - MTN

                    *** - Voda, Expresso, Airtel
                  Please let your developer visit the url below for API details in sending and receiving messages.



                  [http://developers.smsgh.com/documentations/receivemessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Freceivemessage&sa=D&sntz=1&usg=AFQjCNGYby4iazEf0RbTNbdudb_FWad4Hg)



                  [http://developers.smsgh.com/documentations/sendmessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Fsendmessage&sa=D&sntz=1&usg=AFQjCNEF6ibfbu4pIXfdibeg688d0uyN8g)

                  .
                    On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no
                    > wrote:
                      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_

                    Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                    Post to     : dhis2-users@lists.launchpad.net

                    Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                    More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
                        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](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@gmail.com
                                > 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@ifi.uio.no>:

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@gmail.com>

                                        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

                                                  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@gmail.com> 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@ifi.uio.no
                                                      > 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@gmail.com
                                                      > 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@ifi.uio.no
                                                      > 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@yahoo.com
                                                      > 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@lists.launchpad.net

                                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo [http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

                                      Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                      Post to     : dhis2-users@lists.launchpad.net

                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no

Hi Anthony,

<your incoming number> is the number you are receiving messages on, and that you want the recipient to see when he receives the messages.

<username> and <password> are your username and password with the aggregator.

Br,

_Andreas_
···

On 16. juni 2014 14:52, Anthony Danso wrote:

              Please the information in < > ?? What is it referring to?
              <your incoming number>&To={recipient}&Content={message}&ClientId=<username>&ClientSecret=<password> Substitute everything in <> with your information. Words in {} are DHIS2 variables and should be left alone.
              Sent from my iPhone 5s
    On Jun 16, 2014, at 12:04 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no        > wrote:

Thanks,

      - Do you see any incoming messages at all?

      - Which error code does the aggregator see on their side?

      - What does the document that is sent back from DHIS2 to the aggregator look like.



      _Andreas_

      Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

      Post to     : dhis2-users@lists.launchpad.net

      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

https://api.smsgh.com/v3/messages/send?From=

        On 16. juni 2014 13:35, Danso Anthony wrote:
          I am still having issues with receiving SMS from the the gateway.
          For the setup in dhis it fine but the receiving it's not working 



          Sent from my iPhone 5s
          On Jun 16, 2014, at 11:20 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no
          > wrote:

Hi Anthony,

            What are your current issues? What is working and what is not working?



            Br,



            _Andreas_
              On 16. juni 2014 12:08, Anthony Danso wrote:
              Please am still having issues with the Setting up of proxy for SMS in DHIS2.can someone help me out?
                  On Apr 7, 2014, at 12:55 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no

                  > wrote:
                    Hi Anthony,



                    I copied the list, as this information is useful for others. I substituted usernames and passwords with ***.



                    You will need to develop a proxy for the incoming messages, as these will need to be on the format specified below. Alternatively you can ask the SMS gateway to deliver messages on our format. Basic Auth is documented here:[ http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610](http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610)

                    For the outgoing messages, do the following: 



                    1. Go to "Mobile Configuration"->"SMS Service Configuration" 

                    2. Click "Add Gateway"

                    3. Select "Generic HTTP Gateway".

                    4. Write a name for the gateway

                    5. Fill in username and password

                    6. Write the following in the URL string:



                    <your incoming number>&To={recipient}&Content={message}&ClientId=<username>&ClientSecret=<password> Substitute everything in <> with your information. Words in {} are DHIS2 variables and should be left alone. 7. Save the gateway 8. Set your new gateway as default 9. You should now be able to send SMS Note that you can only configure for one sending shortcode, so you cannot differentiate between the shortcodes for various operators, as we have no way of knowing who is on which operator. Br, _Andreas_

https://api.smsgh.com/v3/messages/send?From=

                      On 07. april 2014 14:30, Anthony Danso wrote:
                        Please can u have a look at the details given by the SMS provider.

Account on SMSGH unity portal https://unity.smsgh.com . Use the credential given to log in.

                            Unity Account Details:

ID: ***

                            PW: ***

Short Codes:

                          *** - MTN

                          *** - Voda, Expresso, Airtel
                        Please let your developer visit the url below for API details in sending and receiving messages.



                        [http://developers.smsgh.com/documentations/receivemessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Freceivemessage&sa=D&sntz=1&usg=AFQjCNGYby4iazEf0RbTNbdudb_FWad4Hg)



                        [http://developers.smsgh.com/documentations/sendmessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Fsendmessage&sa=D&sntz=1&usg=AFQjCNEF6ibfbu4pIXfdibeg688d0uyN8g)

                        .
                          On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no

                          > wrote:
                            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_

                          Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                          Post to     : dhis2-users@lists.launchpad.net

                          Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                          More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
                              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](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@gmail.com

                                      > 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@ifi.uio.no>:
                                              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@gmail.com>

                                              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

                                                      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@gmail.com> 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@ifi.uio.no

                                                      > 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@gmail.com

                                                      > 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@ifi.uio.no

                                                      > 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@yahoo.com

                                                      > 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@lists.launchpad.net

                                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo [http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

                                            Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                            Post to     : dhis2-users@lists.launchpad.net

                                            Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                            More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.nohttp://www.dhis2.org/andreasn@ifi.uio.no

Hi Anthony,

What does DHIS2 return to the aggregator? I'd like to know the status code and the content of the document.

I am assuming this is caused by an authentication failure, the above information should confirm that.

Br,

_Andreas_
···

On 16. juni 2014 14:44, Anthony Danso wrote:

    No messages are received in dhis .but on the SMS unity portal messages are received and sent out to be received by dhis.

    Sent from my iPhone 5s
    On Jun 16, 2014, at 12:04 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no        > wrote:

Thanks,

      - Do you see any incoming messages at all?

      - Which error code does the aggregator see on their side?

      - What does the document that is sent back from DHIS2 to the aggregator look like.



      _Andreas_

      Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

      Post to     : dhis2-users@lists.launchpad.net

      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:
        On 16. juni 2014 13:35, Danso Anthony wrote:
          I am still having issues with receiving SMS from the the gateway.
          For the setup in dhis it fine but the receiving it's not working 



          Sent from my iPhone 5s
          On Jun 16, 2014, at 11:20 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no
          > wrote:

Hi Anthony,

            What are your current issues? What is working and what is not working?



            Br,



            _Andreas_
              On 16. juni 2014 12:08, Anthony Danso wrote:
              Please am still having issues with the Setting up of proxy for SMS in DHIS2.can someone help me out?
                  On Apr 7, 2014, at 12:55 PM, Peder Andreas Nergaard <andreasn@ifi.uio.no

                  > wrote:
                    Hi Anthony,



                    I copied the list, as this information is useful for others. I substituted usernames and passwords with ***.



                    You will need to develop a proxy for the incoming messages, as these will need to be on the format specified below. Alternatively you can ask the SMS gateway to deliver messages on our format. Basic Auth is documented here:[ http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610](http://www.dhis2.org/doc/snapshot/en/implementer/html/ch08s03.html#d5e610)

                    For the outgoing messages, do the following: 



                    1. Go to "Mobile Configuration"->"SMS Service Configuration" 

                    2. Click "Add Gateway"

                    3. Select "Generic HTTP Gateway".

                    4. Write a name for the gateway

                    5. Fill in username and password

                    6. Write the following in the URL string:



                    <your incoming number>&To={recipient}&Content={message}&ClientId=<username>&ClientSecret=<password> Substitute everything in <> with your information. Words in {} are DHIS2 variables and should be left alone. 7. Save the gateway 8. Set your new gateway as default 9. You should now be able to send SMS Note that you can only configure for one sending shortcode, so you cannot differentiate between the shortcodes for various operators, as we have no way of knowing who is on which operator. Br, _Andreas_

https://api.smsgh.com/v3/messages/send?From=

                      On 07. april 2014 14:30, Anthony Danso wrote:
                        Please can u have a look at the details given by the SMS provider.

Account on SMSGH unity portal https://unity.smsgh.com . Use the credential given to log in.

                            Unity Account Details:

ID: ***

                            PW: ***

Short Codes:

                          *** - MTN

                          *** - Voda, Expresso, Airtel
                        Please let your developer visit the url below for API details in sending and receiving messages.



                        [http://developers.smsgh.com/documentations/receivemessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Freceivemessage&sa=D&sntz=1&usg=AFQjCNGYby4iazEf0RbTNbdudb_FWad4Hg)



                        [http://developers.smsgh.com/documentations/sendmessage](http://www.google.com/url?q=http%3A%2F%2Fdevelopers.smsgh.com%2Fdocumentations%2Fsendmessage&sa=D&sntz=1&usg=AFQjCNEF6ibfbu4pIXfdibeg688d0uyN8g)

                        .
                          On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard <andreasn@ifi.uio.no

                          > wrote:
                            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_

                          Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                          Post to     : dhis2-users@lists.launchpad.net

                          Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                          More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
                              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](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@gmail.com

                                      > 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@ifi.uio.no>:
                                              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@gmail.com>

                                              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

                                                      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@gmail.com> 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@ifi.uio.no

                                                      > 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@gmail.com

                                                      > 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@ifi.uio.no

                                                      > 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@yahoo.com

                                                      > 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@lists.launchpad.net

                                                      Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                                      More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
_______________________________________________ Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)
More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo [http://www.dhis2.org/](http://www.dhis2.org/)
p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@ifi.uio.no

                                            Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                            Post to     : dhis2-users@lists.launchpad.net

                                            Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

                                            More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.no


-- Peder Andreas Nergaard, Mobile Coordinator HISP/DHIS2, Department of Informatics, University of Oslo p: +47 922 47 500 - s: peder.andreas.nergaard - e:

http://www.dhis2.org/andreasn@ifi.uio.nohttp://www.dhis2.org/andreasn@ifi.uio.no