← Back to team overview

dhis2-devs team mailing list archive

Re: Storing phonenumbers

 

Typically you should use 250783114729 <%2B250783114729> in the user
settings (i.e. with country code, but without +), but this doesn't make
much sense. We've talked so much about fixing this to something more
consistent and understandable, but it hasn't been done yet.

Lars


2014-04-02 10:54 GMT+02:00 Kenneth Børtveit <kenneth.bortveit@xxxxxxxxx>:

> Hi Devs!
>
> I am wondering how to store phonenumbers.
>
> Example:
>
> Rwanda phone numbers are like this. +250783114729
> Should I store 783114729, 250783114729 or +250783114729?
>
> When I report data through the gateway DHIS2 recieves data on
> +250783114729 and maps it correctly to my user, but sends a message back
> on 250783114729 (without the '+' sign) which does not map to my user.
>
> I tried to send a message to myself on the MTN network and it does not
> accept a number without the '+' sign before 250783114729.
>
>
> -Kenneth
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Kristian Roland
Research Fellow, Department of Informatics, University of Oslo
Email: lars@xxxxxxxxx - roland@xxxxxxxxxx
Phone: +47 90733036

References