Extraction of country / area code and phone number EPP

Hi,

Let’s say there is a phone number, say “+816726871111” …
I’m trying to extract which country the call is being made to, which
area code, and whether if its a mobile or a land line.

I understand EPP standards tell me, the country code can be 1-3 digits.
In the case above, it’s Japan. But I need some logic here.

Is there a class or a code snippet which looks up a table and comes up
with this sort of thing?

Any info is much appreciated.

Thanks

I think your best bet is to get a list of country codes. look for
telcordia on the internet last i checked they are the holders of the
data. or borrow it form a voip provider on the net. most of them
have a international pricing list by country code.

1 Like

Thanks for sharing this great information here. This is very helpful for me. We research and write about area codes and many more authentic information here>> https://eightyreviews.com/844-area-code/ .

For Official Help You Can Contact Me Here>> https://eightyreviews.com/

1 Like

I have been read this information you shared, You Information is good. All things which I want to know is well explained. :heart_eyes: If you are play Florida Lottery Here You Can see winning number https://floridaloteryresults.com/

1 Like

if you want any help you can contact me on this forum here. Thanks

that’s not the best place to advertise the casino lottery or what you have there… :roll_eyes:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs