I take issue with a lot of the assumptions in the article but this is funny:
> Identify and block premium rate phone numbers, using libphonenumber. Whilst this seems promising, I don’t know how reliable the data and how effective this approach is.
here's this purpose-built and well maintained* library from google which does exactly what I want but i'm not even going to consider it.
* the actual number database has been updated 5x so far this year: https://github.com/google/libphonenumber/commits/master/meta...