Status Update
Comments
kk...@google.com <kk...@google.com>
pe...@google.com <pe...@google.com>
pe...@google.com <pe...@google.com> #2
Hi,
We were not able to connect to +3758104440249.
This is duplicat issue of
pe...@google.com <pe...@google.com> #3
Or do you think that 8 is not the trunk prefix / national prefix (to dial the numbers across the areas in Belarus)?
As mentioned in Wikipedia, is it "80" that for this?
vo...@gmail.com <vo...@gmail.com> #4
Hi!
We were not able to connect to +3758104440249. This is duplicat issue of
. Could you provide necessary evidences as mentioned? https://issuetracker.google.com/issues/214264606
I don't think so. Why +3759024440249 don't require 8 after +375? Why I got the same E164 format for
Or do you think that 8 is not the trunk prefix / national prefix (to dial the numbers across the areas in Belarus)? As mentioned in Wikipedia, is it "80" that for this?
https://en.wikipedia.org/wiki/Telephone_numbers_in_Belarus
I really don't know anything about phone numbers in Belarus :) I'm just trying to use libphonenumber regular expressions to generate valid phone numbers. And while I was doing this, I met this unexpected result for Belarusian numbers
pe...@google.com <pe...@google.com> #5
Yes, we should have not mentioned the range 810 (in RegEx) as it is overlapping with national prefix (8) We are just enquiring if 8 is national prefix or 80 (as we concluded that 810 is valid range), based on that we can able to solve the issue.
vo...@gmail.com <vo...@gmail.com> #6
I didn't understand what you meant :( You will fix RegEx?
Maybe you can tell me how PhoneMetadata can be used to compose a phone number in E164?)
pe...@google.com <pe...@google.com> #7
Hi,
We do not compose phone numbers using the metadata. It is generally the other way around; we check the phone number's validity & other details using the region's metadata we have. Maybe you can use getExampleNumber() API to get some sample numbers.
Yes, the case you mentioned about Belarus is broken. We will fix that soon.
pe...@google.com <pe...@google.com> #8
Please open a new issue in case valid evidences are found.
Description
Example number(s) and/or ranges: +3758104440249 or any number with national part matching 810\d{7} in E164 format
Where or whom did you get the number(s) from: generated by libphonenumber regular expression (810|902)\d{7}
Link from demo (
I trying to write valid phone number generator but I catch error with this number. I use (810|902)\d{7} to generate national number part(8104440249), add prefix with plus sign and country code(+3758104440249), pass it to parse method and try to validate by isValidNumber method
I found that parse method drop leading 8 from national part hear
National part is not valid after that
I am using libphonenumber 8.12.46