← Back to team overview

dhis2-users team mailing list archive

Re: I need help On setting up SMS on dhis

 

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@xxxxxxxxxx> 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_
> 
>> 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@xxxxxxxxxx> 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@xxxxxxxxxx> 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:
>>>>> 
>>>>> https://api.smsgh.com/v3/messages/send?From=<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_
>>>>> 
>>>>>> 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://developers.smsgh.com/documentations/sendmessage
>>>>>> .
>>>>>> 
>>>>>>> On Apr 7, 2014, at 11:03 AM, Peder Andreas Nergaard <andreasn@xxxxxxxxxx> 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>
>>>>>>> 
>>>>>>> They will have to implement HTTP Basic Authentication with a registered username/password, and send this in the header.
>>>>>>> 
>>>>>>> You should be aware that on 2.14, the server will return 200 OK even if the message is on an incorrect format, which may slow down debugging. This is fixed in 2.15.
>>>>>>> 
>>>>>>> Br,
>>>>>>> 
>>>>>>> _Andreas_
>>>>>>> 
>>>>>>>> On 04. april 2014 19:00, Anthony Danso wrote:
>>>>>>>> Yes we collection Aggregated  Data and we using KEY_VALUE_PARSER.we using an aggregator gateway.
>>>>>>>> From  section 25.4 in the user documentation :http://www.dhis2.org/doc/snapshot/en/user/html/ch24s05.html . i completed the SMS command but i need information on how to set up the Gateway.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On Apr 4, 2014, at 7:14 AM, Kenneth Børtveit <kenneth.bortveit@xxxxxxxxx> wrote:
>>>>>>>>> 
>>>>>>>>> It would help if you replied all Anthony :)
>>>>>>>>> 
>>>>>>>>> I think I am doing the same thing here in Rwanda, but I only get emails from Ola and Peder.
>>>>>>>>> 
>>>>>>>>> -Kenneth
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 2014-04-03 17:06 GMT+02:00 Peder Andreas Nergaard <andreasn@xxxxxxxxxx>:
>>>>>>>>>> Hi Anthony,
>>>>>>>>>> 
>>>>>>>>>> It would help us greatly if you could provide the following information:
>>>>>>>>>> 
>>>>>>>>>> 1. What is the use case? Are you collecting aggregate data? Which parser are you using?
>>>>>>>>>> 
>>>>>>>>>> 2. What kind of gateway are you using? Are you using an aggregator, the Android SMS gateway or another gateway?
>>>>>>>>>> 
>>>>>>>>>> 3. Where do you meet the problems? What are you doing when the problem arises and what does it look like? Which error messages are you getting?
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Br,
>>>>>>>>>> 
>>>>>>>>>> _Andreas_
>>>>>>>>>> 
>>>>>>>>>> From: Anthony Danso <adanso31@xxxxxxxxx>
>>>>>>>>>> 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@xxxxxxxxx> wrote:
>>>>>>>>>>>> Please i have successfuly set up the SMS command but am having a probe loading the ams gateway? 
>>>>>>>>>>>> On Apr 1, 2014, at 2:30 PM, Ola Hodne Titlestad <olati@xxxxxxxxxx> wrot
>>>>>>>>>>>>> Ok, I assume these are aggregated values, as in                                                           number of cases of XXX?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> If so, I suggest you start by reading section 25.4 in the user documentation :
>>>>>>>>>>>>> 
>>>>>>>>>>>>> http://www.dhis2.org/doc/snapshot/en/user/html/ch24s05.html
>>>>>>>>>>>>> 
>>>>>>>>>>>>> And come back to this list if you have any questions.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Ola
>>>>>>>>>>>>> ------
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 1. apr. 2014 16:26 skrev                                                           "Anthony Danso" <adanso31@xxxxxxxxx> følgende:
>>>>>>>>>>>>>> We want to use SMS for reporting of some cases in very remote areas in the countrt.So in other words users will only report through SMS into Dhis2,the cases of some diseases that                                                            were detected in their facilities.
>>>>>>>>>>>>>>> On Apr 1, 2014, at 2:12 PM, Ola Hodne Titlestad <olati@xxxxxxxxxx> wrote:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Hi Anthony,
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Can you please elaborate a little on what aspects of SMS you want to make use of?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> SMS is used for many things in DHIS 2, e.g. for data entry as well as many different types of notifications and other outgoing messages.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> What do you want to achieve with SMS?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Ola
>>>>>>>>>>>>>>> ------
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 1. apr. 2014 15:34 skrev "Anthony Danso" <anthonydanso47@xxxxxxxxx> følgende:
>>>>>>>>>>>>>>>> Please can someone help me set up SMS in DHIS2.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>> 
>>>>>>>>>>  -- 
>>>>>>>>>> Peder Andreas Nergaard, Mobile Coordinator
>>>>>>>>>> HISP/DHIS2, Department of Informatics, University of Oslo
>>>>>>>>>> http://www.dhis2.org/
>>>>>>>>>> p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@xxxxxxxxxx
>>>>>>>>>> 
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>> 
>>>>>>> -- 
>>>>>>> Peder Andreas Nergaard, Mobile Coordinator
>>>>>>> HISP/DHIS2, Department of Informatics, University of Oslo
>>>>>>> http://www.dhis2.org/
>>>>>>> p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@xxxxxxxxxx
>>>>>>> _______________________________________________
>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>> 
>>>>> -- 
>>>>> Peder Andreas Nergaard, Mobile Coordinator
>>>>> HISP/DHIS2, Department of Informatics, University of Oslo
>>>>> http://www.dhis2.org/
>>>>> p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@xxxxxxxxxx
>>> 
>>> -- 
>>> Peder Andreas Nergaard, Mobile Coordinator
>>> HISP/DHIS2, Department of Informatics, University of Oslo
>>> http://www.dhis2.org/
>>> p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@xxxxxxxxxx
> 
> -- 
> Peder Andreas Nergaard, Mobile Coordinator
> HISP/DHIS2, Department of Informatics, University of Oslo
> http://www.dhis2.org/
> p: +47 922 47 500 - s: peder.andreas.nergaard - e: andreasn@xxxxxxxxxx
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp

Follow ups

References