dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #03611
Re: [Dhis-mobile-devs] Testing Mobile module but no data in data entry
Yes. I feel embarrassed about this issue... it has taken too long.
MobiLars
20. des. 2013 17:05 skrev "Jason Pickering" <jason.p.pickering@xxxxxxxxx>
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@xxxxxxxxx> 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@xxxxxxxxx <muhireandrew@xxxxxxxxx>*
>>
>>
>> On Friday, December 20, 2013 3:20 PM, Knut Staring <knutst@xxxxxxxxx>
>> 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@xxxxxxxxx
>> > 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@xxxxxxxxx>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@xxxxxxxxx <muhireandrew@xxxxxxxxx>*
>>
>>
>> On Thursday, December 19, 2013 3:39 PM, Knut Staring <knutst@xxxxxxxxx>
>> 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@xxxxxxxxx>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@xxxxxxxxx <muhireandrew@xxxxxxxxx>*
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> +4791880522
>> http://dhis2.org
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> +4791880522
>> http://dhis2.org
>>
>>
>>
>> _______________________________________________
>> 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/~dhis-mobile-devs
> Post to : dhis-mobile-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis-mobile-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References