Hacker News new | past | comments | ask | show | jobs | submit
interesting - I worked on Twilio's geographic gating of phone numbers.

Very complex problem globally, but the consequences can be high if you sell the wrong number type to a customer in the wrong location (and sometimes the EU and its member states can have precisely opposite legal requirements).

The US is relatively simple, with rate centers, but in some countries you actually have to draw geojson boundaries and find out exactly which location the company's headquarters resides within, down to the meter. If your boundaries aren't precise enough, you can get into trouble.

It's been about a decade since I was involved in that, so I'm curious if it's easier these days. There's not, however, a lot of incentive to fix it, as in many countries a few telco providers control everything.