Can't create user with new phone number

Bug and problem reporting on Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
trustpay
Posts: 65
Joined: Mon Aug 03, 2015 10:19 am

Can't create user with new phone number

Post by trustpay » Sun Dec 23, 2018 10:54 pm

Hi Cyclos team,

We can't create user with new phone number. Because, Vietnam has changed the phone number prefixes.
Pls help us, update the phone number prefixes of Vietnam

The following prefixes:

OLD -------------> NEW
0120x.xxx.xxx -> 070x.xxx.xxx
0121x.xxx.xxx -> 079x.xxx.xxx
0122x.xxx.xxx -> 077x.xxx.xxx
0123x.xxx.xxx -> 083x.xxx.xxx
0124x.xxx.xxx -> 084x.xxx.xxx
0125x.xxx.xxx -> 085x.xxx.xxx
0126x.xxx.xxx -> 076x.xxx.xxx
0127x.xxx.xxx -> 081x.xxx.xxx
0128x.xxx.xxx -> 078x.xxx.xxx
0129x.xxx.xxx -> 082x.xxx.xxx
0162x.xxx.xxx -> 032x.xxx.xxx
0163x.xxx.xxx -> 033x.xxx.xxx
0164x.xxx.xxx -> 034x.xxx.xxx
0165x.xxx.xxx -> 035x.xxx.xxx
0166x.xxx.xxx -> 036x.xxx.xxx
0167x.xxx.xxx -> 037x.xxx.xxx
0168x.xxx.xxx -> 038x.xxx.xxx
0169x.xxx.xxx -> 039x.xxx.xxx
0186x.xxx.xxx -> 056x.xxx.xxx
0188x.xxx.xxx -> 058x.xxx.xxx
0199x.xxx.xxx -> 059x.xxx.xxx

luis
Posts: 182
Joined: Fri Feb 17, 2006 11:01 am

Re: Can't create user with new phone number

Post by luis » Wed Dec 26, 2018 2:19 pm

Cyclos uses the libphonenumber (https://github.com/googlei18n/libphonenumber) to handle numbers.
Probably there's a newer version of it that supports the new Vietnamese numbers.
Just download the JAR for the lastest version on https://repo1.maven.org/maven2/com/goog ... onenumber/ and place it on the Tomcat's web application WEB-INF/lib folder. Make sure to remove the previous version of the JAR from the same folder.
Luis Fernando Planella Gonzalez
Cyclos development team

Post Reply