If I give you my phone number, and you have True Caller installed and save my number to your contacts, I unknowingly and unconsensually also give my phone number to True Caller and essentially the entire world.
It was the white pages but yes. That's why there is such a yawning gap between reality, where nobody gives a fuck if you know my phone number, and niche online privacy activism, where for some reason people care a lot.