This isn’t something casually identified with flashy software solutions or APIs, it’s more of a relationships with carriers and other companies in the telco space sorta thing. It gets even more fun when you start looking in to MO and MT on the SMPP side of things.
by the way, if you only need a validation of a number, no need for Twilio: this is a great lib https://github.com/giggsey/libphonenumber-for-php
Re:Cophone – Your Virtual Smartphone
by rahimnathwani on Sunday July 30, 2023 @08:49PM
(#36937700)
This explains how a customer of Twilio can request the info from Twilio.
I asked how Twilio obtains the information.
Sure, some operators operate only physical or only virtual, but others (like Google) operate both.