Hi Zubair,

Thanks for the quick response.  ☺  Yes, I’ve already tried both with and 
without the leading ‘+’, and without any country identifier at all.  Looking at 
the format of the Clickatell API call, I assume the ‘+’ should be left off, but 
my guess is that if the user leaves it on, the DHIS2 interface trims it off 
anyway.

I’ve noticed that the Clickatell API defaults to HTTP, whereas I’m guessing 
DHIS2 uses REST?  (I’ve tried both API configurations anyway, without success.) 
 If I email you a temporary Clickatell API key, would you have time to quickly 
test it, to see if the API call that DHIS2 2.30 generates still matches the one 
that Clickatell is expecting?

Cheers, Sam.


From: Zubair Asghar Raja <[email protected]>
Date: Tuesday, 2 October 2018 at 15:21
To: Sam Johnson <[email protected]>
Cc: Shurajit Dutta <[email protected]>, "[email protected]" 
<[email protected]>, DHIS 2 Users List <[email protected]>, 
"[email protected]" <[email protected]>, DHIS2 Developers 
<[email protected]>
Subject: Re: [Dhis2-devs] [Dhis2-users] SMS/Mobile configuration

Hi Samuel,
Have you tried different number formats? For instance with + and without +




Zubair Asghar
DHIS-2 Developer
University of Oslo
[email protected]<mailto:[email protected]>
https://www.dhis2.org<https://www.dhis2.org/>


On Tue, Oct 2, 2018 at 2:31 PM Sam Johnson 
<[email protected]<mailto:[email protected]>> wrote:
Hi all,

I’ve created an account with Clickatell, but despite following the 
documentation listed below, I’m struggling to configure it in my DHIS2 instance 
(v2.30).

In the ‘Mobile Configuration’ module, I’ve selected ‘Add gateway’, and entered 
the following:

  *   ‘Auth Token’ is my Clickatell API key (ending in ==)
  *   For ‘Login’ I’ve tried both my Clickatell username (samueldjohnson) and 
my email address (which is what Clickatell actually asks for when I log into 
their portal)
  *   In DHIS2, I’ve made sure that ‘Enable message SMS notifications’ is 
ticked in Settings | Messaging.
  *   I’m doing all testing as superuser (so roles/authorities aren’t an issue).

(Note that despite the DHIS2 
documentation<https://docs.dhis2.org/2.30/en/user/html/mobile_sms_service.html> 
saying that only login+password or API key need to be set up, I’ve had to enter 
both into the DHIS2 ‘Mobile Configuration’ module, as the screen enforces all 
three fields as mandatory.)

However, whenever I use the ‘Mobile Configuration’ module’s ‘Send SMS’ feature 
to send a test SMS message, it fails.  (In the ‘List of sent SMS’, it shows the 
correct number, but has [unknown] as recipient, and ‘FAILED’ as status.)  I’ve 
configured the correct countries in Clickatell, and have successfully sent test 
messages to the same phone with API calls (using curl).  Am I missing something 
in my DHIS2 configuration?

Many thanks for any tips/enlightenment that anyone is able to provide!

Cheers, Sam.






From: Dhis2-devs 
<[email protected]<mailto:[email protected]>>
 on behalf of Shurajit Dutta 
<[email protected]<mailto:[email protected]>>
Date: Sunday, 23 April 2017 at 08:16
To: Jahid Shahed <[email protected]<mailto:[email protected]>>
Cc: DHIS 2 Users List 
<[email protected]<mailto:[email protected]>>, 
Stanley Kalyati <[email protected]<mailto:[email protected]>>, DHIS2 
Developers 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Dhis2-devs] [Dhis2-users] SMS/Mobile configuration

Hi everyone

Are you trying to set up SMS to receive information, to send out messages such 
as notifications etc or both?

For receiving (aggregate) data, I would suggest reviewing the docs here:

https://docs.dhis2.org/master/en/user/html/mobile_sms_command.html

You may want to start with adding an SMS gateway to your configuration for 
sending back feedback and notifications as well. Popular services include 
BulkSMS and Clickatell.

https://docs.dhis2.org/master/en/user/html/mobile_sms_service.html

After this is configured, you would also have to configure the notifications. 
If it is for a program you can read more about that here

https://docs.dhis2.org/master/en/user/html/manage_program_notification.html




On Apr 23, 2017 1:04 PM, "Jahid Shahed" 
<[email protected]<mailto:[email protected]>> wrote:
I am also interested to learn this.


Regards,

Jahid Hossen Shahed
Skype: jahidshahed

[Image removed by sender. http://images.wisestamp.com/widgets/green_32.png]  
Please consider your environmental responsibility. Before printing this e-mail 
message, ask yourself whether you really need a hard copy.

On Mon, Apr 17, 2017 at 7:04 PM, Stanley Kalyati 
<[email protected]<mailto:[email protected]>> wrote:
I am also waiting to learn from this.

Has this been answered? if so can anyone forward to me the responses.

Thank you

Stanley

On Wed, Apr 12, 2017 at 7:21 AM, Adhi 
<[email protected]<mailto:[email protected]>> wrote:
Dear all,

I have DHIS2 ver. 2.25 installed on a server.
Can anyone help me how to configure SMS? What hardware or software do I have to 
prepare? (like what kind of cellphone will be used, SMS gateway application, 
etc.).
Step-by-step guidance will be very helpful.

Best regards,
Adhi Andrianto
@ sekolahmalaria.info<http://sekolahmalaria.info>


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Image removed by sender. 
https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>

Virus-free. 
www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to