Testing Mobile module but no data in data entry

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!

···
  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

Make sure you don’t include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

···

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Many thanks Knut, Fixed and working now. Thanks for your quick reaction.

···
  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Thursday, December 19, 2013 3:39 PM, Knut Staring knutst@gmail.com wrote:

Make sure you don’t include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Is there any way we can improve validation here to assist the user if this is a common problem?

···

On Thu, Dec 19, 2013 at 5:15 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Many thanks Knut, Fixed and working now. Thanks for your quick reaction.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Thursday, December 19, 2013 3:39 PM, Knut Staring knutst@gmail.com wrote:

Make sure you don’t include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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

Not sure what the problem was for you, Andrew?

I would think we can easily disallow a leading + sign, in fact, given that we start with ISO country code, I think we could require the number to be an integer. This means that people must avoid parentheses, spaces etc., which I think is reasonable.

···

On Thu, Dec 19, 2013 at 6:02 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Is there any way we can improve validation here to assist the user if this is a common problem?


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

On Thu, Dec 19, 2013 at 5:15 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Many thanks Knut, Fixed and working now. Thanks for your quick reaction.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Thursday, December 19, 2013 3:39 PM, Knut Staring knutst@gmail.com wrote:

Make sure you don’t include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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

Our case was that + of the country code, because after removing it, it worked. Interesting part is that we removed the + on the country code without adding two zeros but it worked(250 788xxxxxx). May be this need to be improved. I think we need some validations or output messages on these sensitive fields, like phone numbers…

Here is the error message :No user associated with this phone number. Please contact your supervisor.

As Knut suggests, i think using integer can solve the problem.

···
  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Friday, December 20, 2013 3:20 PM, Knut Staring knutst@gmail.com wrote:

Not sure what the problem was for you, Andrew?

I would think we can easily disallow a leading + sign, in fact, given that we start with ISO country code, I think we could require the number to be an integer. This means that people must avoid parentheses, spaces etc., which I think is reasonable.

On Thu, Dec 19, 2013 at 6:02 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Is there any way we can improve validation here to assist the user if this is a common problem?

On Thu, Dec 19, 2013 at 5:15 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Many thanks Knut, Fixed and working now. Thanks for your quick reaction.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Thursday, December 19, 2013 3:39 PM, Knut Staring knutst@gmail.com wrote:

Make sure you don’t
include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

I would not support this as we need the + to send SMS from our service provider. I just think DHIS needs to be able to deal with the leading +. Again,I think a user configurable regex should help to ensure phone numbers are correct for each implementation.

–Sent from my mobile

···

On Dec 20, 2013 6:00 PM, “Muhire Andrew” muhireandrew@yahoo.com wrote:

Hi

Our case was that + of the country code, because after removing it, it worked. Interesting part is that we removed the + on the country code without adding two zeros but it worked(250 788xxxxxx). May be this need to be improved. I think we need some validations or output messages on these sensitive fields, like phone numbers…

Here is the error message :No user associated with this phone number. Please contact your supervisor.

As Knut suggests, i think using integer can solve the problem.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Friday, December 20, 2013 3:20 PM, Knut Staring knutst@gmail.com wrote:

Not sure what the problem was for you, Andrew?

I would think we can easily disallow a leading + sign, in fact, given that we start with ISO country code, I think we could require the number to be an integer. This means that people must avoid parentheses, spaces etc., which I think is reasonable.

On Thu, Dec 19, 2013 at 6:02 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Is there any way we can improve validation here to assist the user if this is a common problem?

On Thu, Dec 19, 2013 at 5:15 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Many thanks Knut, Fixed and working now. Thanks for your quick reaction.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Thursday, December 19, 2013 3:39 PM, Knut Staring knutst@gmail.com wrote:

Make sure you don’t include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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. I feel embarrassed about this issue… it has taken too long.

MobiLars

  1. des. 2013 17:05 skrev “Jason Pickering” jason.p.pickering@gmail.com følgende:
···

I would not support this as we need the + to send SMS from our service provider. I just think DHIS needs to be able to deal with the leading +. Again,I think a user configurable regex should help to ensure phone numbers are correct for each implementation.

–Sent from my mobile

On Dec 20, 2013 6:00 PM, “Muhire Andrew” muhireandrew@yahoo.com wrote:

Hi

Our case was that + of the country code, because after removing it, it worked. Interesting part is that we removed the + on the country code without adding two zeros but it worked(250 788xxxxxx). May be this need to be improved. I think we need some validations or output messages on these sensitive fields, like phone numbers…

Here is the error message :No user associated with this phone number. Please contact your supervisor.

As Knut suggests, i think using integer can solve the problem.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Friday, December 20, 2013 3:20 PM, Knut Staring knutst@gmail.com wrote:

Not sure what the problem was for you, Andrew?

I would think we can easily disallow a leading + sign, in fact, given that we start with ISO country code, I think we could require the number to be an integer. This means that people must avoid parentheses, spaces etc., which I think is reasonable.

On Thu, Dec 19, 2013 at 6:02 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Is there any way we can improve validation here to assist the user if this is a common problem?

On Thu, Dec 19, 2013 at 5:15 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Many thanks Knut, Fixed and working now. Thanks for your quick reaction.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Thursday, December 19, 2013 3:39 PM, Knut Staring knutst@gmail.com wrote:

Make sure you don’t include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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/~dhis-mobile-devs

Post to : dhis-mobile-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis-mobile-devs

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

This + on the code is important, like now in East African countries, one can use the local number at any country by adding +250, which means + is important. I am very sure we need the country code with +.

···
  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Friday, December 20, 2013 6:05 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

I would not support this as we need the + to send SMS from our service provider. I just think DHIS needs to be able to deal with the leading +. Again,I think a user configurable regex should help to ensure phone numbers are correct for each implementation.

–Sent from my mobile

On Dec 20, 2013 6:00 PM, “Muhire Andrew” muhireandrew@yahoo.com wrote:

Hi

Our case was that + of the country code, because after removing it, it worked. Interesting part is that we removed the + on the country code without adding two zeros but it worked(250 788xxxxxx). May be this need to be improved. I think we need some validations or output messages on these sensitive fields, like phone numbers…

Here is the error message :No user associated with this phone number. Please contact your supervisor.

As Knut suggests, i think using integer can solve the problem.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Friday, December 20, 2013 3:20 PM, Knut Staring knutst@gmail.com wrote:

Not sure what the problem was for you, Andrew?

I would think we can easily disallow a leading + sign, in fact, given that we start with ISO country code, I think we could require the number to be an integer. This means that people must avoid parentheses, spaces etc., which I think is reasonable.

On Thu, Dec 19, 2013 at 6:02 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Is there any way we can improve validation here to assist the user if this is a common problem?

On Thu, Dec 19, 2013 at 5:15 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Many thanks Knut, Fixed and working now. Thanks for your quick reaction.


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com

On Thursday, December 19, 2013 3:39 PM, Knut Staring knutst@gmail.com wrote:

Make sure you don’t
include a + sign when you register the number for the mobile user. I recommend using the full number, including country code (but no + or 00 in front).

Also, the mobile user must have a user role which has access to the mobile dataset.

On Thu, Dec 19, 2013 at 1:47 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Hi all,

We are testing the Mobile module using android, the configuration of gateway is working fine and the message is sent to my testing server but the data sent is not in data entry after clicking on re import. I have these messages on sent messages : No user associated with this phone number, please contact your supervisor.

I have created the mobile user with all info including the mobile phone…Anyone came a cross this?

I have created sms commands, element codes, assigned the dataset to the lowest facility…

Regards!


  • Muhire Andrew*

Ministry of Health / HMIS

““A mind is a terrible thing to waste””


** Cell:(+25)0788436150**

*** Twitter :andrewmuhire***

**** skype:muhire_andrew****

muhireandrew@yahoo.com


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


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