SMS Not finding Users Associated with Phones

Hi everyone,

Am having a slight problem with SMS. Seems a similar problem occurred in the past as well:

https://lists.launchpad.net/dhis2-users/msg06374.html

I am using v2.23 build 22905

I am trying to send an SMS through to a dhis2 instance. I can send out SMS fine and the instance is receiving the SMS through the android gateway app (I can seem them appear as received SMS in DHIS2). The problem I am having is that I get an SMS back on my phone saying there is no user associated with the number. When I check DHIS2 though, I can see that the SMS number is recognized as belonging to the user I have associated with the number (smsdemo) as it is marked as the receiver in all outgoing SMS and the sender in all incoming SMS.

image

The log seems to indicate it is unable to find any user role associated with the user:

image

I have assigned the user data entry and analysis roles, and assigned them to a single org unit as shown below:

image

Maybe I am missing a step however?

Thanks,

Nick​

···

Shurajit Dutta
Health Information Consultant

Hi Shurajit,

The only way we managed to get it to work was by enabling the option of ‘Allow user to grant own user roles’, under the System Access settings as per the link below.

https://lists.launchpad.net/dhis2-users/msg07761.html

regards,

···

On Mon, May 9, 2016 at 8:34 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

Am having a slight problem with SMS. Seems a similar problem occurred in the past as well:

https://lists.launchpad.net/dhis2-users/msg06374.html

I am using v2.23 build 22905

I am trying to send an SMS through to a dhis2 instance. I can send out SMS fine and the instance is receiving the SMS through the android gateway app (I can seem them appear as received SMS in DHIS2). The problem I am having is that I get an SMS back on my phone saying there is no user associated with the number. When I check DHIS2 though, I can see that the SMS number is recognized as belonging to the user I have associated with the number (smsdemo) as it is marked as the receiver in all outgoing SMS and the sender in all incoming SMS.

The log seems to indicate it is unable to find any user role associated with the user:

I have assigned the user data entry and analysis roles, and assigned them to a single org unit as shown below:

Maybe I am missing a step however?

Thanks,

Nick​

Shurajit Dutta
Health Information Consultant


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

Sam Kasozi
+256 788-993-565

Skype: sam.kasoziug

Great, thanks Sam.

I have just tried this solution but am still getting the same problem.

···

On Mon, May 9, 2016 at 7:10 PM, Sam Kasozi kasozis@gmail.com wrote:

Hi Shurajit,

The only way we managed to get it to work was by enabling the option of ‘Allow user to grant own user roles’, under the System Access settings as per the link below.

https://lists.launchpad.net/dhis2-users/msg07761.html

regards,

Sam Kasozi
+256 788-993-565

Skype: sam.kasoziug

On Mon, May 9, 2016 at 8:34 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

Am having a slight problem with SMS. Seems a similar problem occurred in the past as well:

https://lists.launchpad.net/dhis2-users/msg06374.html

I am using v2.23 build 22905

I am trying to send an SMS through to a dhis2 instance. I can send out SMS fine and the instance is receiving the SMS through the android gateway app (I can seem them appear as received SMS in DHIS2). The problem I am having is that I get an SMS back on my phone saying there is no user associated with the number. When I check DHIS2 though, I can see that the SMS number is recognized as belonging to the user I have associated with the number (smsdemo) as it is marked as the receiver in all outgoing SMS and the sender in all incoming SMS.

The log seems to indicate it is unable to find any user role associated with the user:

I have assigned the user data entry and analysis roles, and assigned them to a single org unit as shown below:

Maybe I am missing a step however?

Thanks,

Nick​

Shurajit Dutta
Health Information Consultant


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

Shurajit Dutta
Health Information Consultant

Have finally resolved, can’t put the + sign in front of the number in the user profile it seems

···

On Tue, May 10, 2016 at 9:27 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Great, thanks Sam.

I have just tried this solution but am still getting the same problem.

On Mon, May 9, 2016 at 7:10 PM, Sam Kasozi kasozis@gmail.com wrote:

Hi Shurajit,

The only way we managed to get it to work was by enabling the option of ‘Allow user to grant own user roles’, under the System Access settings as per the link below.

https://lists.launchpad.net/dhis2-users/msg07761.html

regards,


Shurajit Dutta
Health Information Consultant

Sam Kasozi
+256 788-993-565

Skype: sam.kasoziug

On Mon, May 9, 2016 at 8:34 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

Am having a slight problem with SMS. Seems a similar problem occurred in the past as well:

https://lists.launchpad.net/dhis2-users/msg06374.html

I am using v2.23 build 22905

I am trying to send an SMS through to a dhis2 instance. I can send out SMS fine and the instance is receiving the SMS through the android gateway app (I can seem them appear as received SMS in DHIS2). The problem I am having is that I get an SMS back on my phone saying there is no user associated with the number. When I check DHIS2 though, I can see that the SMS number is recognized as belonging to the user I have associated with the number (smsdemo) as it is marked as the receiver in all outgoing SMS and the sender in all incoming SMS.

The log seems to indicate it is unable to find any user role associated with the user:

I have assigned the user data entry and analysis roles, and assigned them to a single org unit as shown below:

Maybe I am missing a step however?

Thanks,

Nick​

Shurajit Dutta
Health Information Consultant


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

Shurajit Dutta
Health Information Consultant

That’s good to know.
Is it still necessary to enable the option ‘Allow user to grant own user roles’ in 2.23?

···

On Tue, May 10, 2016 at 12:33 PM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Have finally resolved, can’t put the + sign in front of the number in the user profile it seems

Sam Kasozi
+256 788-993-565

Skype: sam.kasoziug

On Tue, May 10, 2016 at 9:27 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Great, thanks Sam.

I have just tried this solution but am still getting the same problem.


Shurajit Dutta
Health Information Consultant

On Mon, May 9, 2016 at 7:10 PM, Sam Kasozi kasozis@gmail.com wrote:

Hi Shurajit,

The only way we managed to get it to work was by enabling the option of ‘Allow user to grant own user roles’, under the System Access settings as per the link below.

https://lists.launchpad.net/dhis2-users/msg07761.html

regards,


Shurajit Dutta
Health Information Consultant

Sam Kasozi
+256 788-993-565

Skype: sam.kasoziug

On Mon, May 9, 2016 at 8:34 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

Am having a slight problem with SMS. Seems a similar problem occurred in the past as well:

https://lists.launchpad.net/dhis2-users/msg06374.html

I am using v2.23 build 22905

I am trying to send an SMS through to a dhis2 instance. I can send out SMS fine and the instance is receiving the SMS through the android gateway app (I can seem them appear as received SMS in DHIS2). The problem I am having is that I get an SMS back on my phone saying there is no user associated with the number. When I check DHIS2 though, I can see that the SMS number is recognized as belonging to the user I have associated with the number (smsdemo) as it is marked as the receiver in all outgoing SMS and the sender in all incoming SMS.

The log seems to indicate it is unable to find any user role associated with the user:

I have assigned the user data entry and analysis roles, and assigned them to a single org unit as shown below:

Maybe I am missing a step however?

Thanks,

Nick​

Shurajit Dutta
Health Information Consultant


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

Yes, at least for me I couldn’t get it to work without it

···

On Tue, May 10, 2016 at 5:42 PM, Sam Kasozi kasozis@gmail.com wrote:

That’s good to know.
Is it still necessary to enable the option ‘Allow user to grant own user roles’ in 2.23?

Sam Kasozi
+256 788-993-565

Skype: sam.kasoziug

On Tue, May 10, 2016 at 12:33 PM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Have finally resolved, can’t put the + sign in front of the number in the user profile it seems

On Tue, May 10, 2016 at 9:27 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Great, thanks Sam.

I have just tried this solution but am still getting the same problem.


Shurajit Dutta
Health Information Consultant

On Mon, May 9, 2016 at 7:10 PM, Sam Kasozi kasozis@gmail.com wrote:

Hi Shurajit,

The only way we managed to get it to work was by enabling the option of ‘Allow user to grant own user roles’, under the System Access settings as per the link below.

https://lists.launchpad.net/dhis2-users/msg07761.html

regards,


Shurajit Dutta
Health Information Consultant

Sam Kasozi
+256 788-993-565

Skype: sam.kasoziug

On Mon, May 9, 2016 at 8:34 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

Am having a slight problem with SMS. Seems a similar problem occurred in the past as well:

https://lists.launchpad.net/dhis2-users/msg06374.html

I am using v2.23 build 22905

I am trying to send an SMS through to a dhis2 instance. I can send out SMS fine and the instance is receiving the SMS through the android gateway app (I can seem them appear as received SMS in DHIS2). The problem I am having is that I get an SMS back on my phone saying there is no user associated with the number. When I check DHIS2 though, I can see that the SMS number is recognized as belonging to the user I have associated with the number (smsdemo) as it is marked as the receiver in all outgoing SMS and the sender in all incoming SMS.

The log seems to indicate it is unable to find any user role associated with the user:

I have assigned the user data entry and analysis roles, and assigned them to a single org unit as shown below:

Maybe I am missing a step however?

Thanks,

Nick​

Shurajit Dutta
Health Information Consultant


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

Shurajit Dutta
Health Information Consultant