I created a small class/script that handles validating phone numbers through an API.
It's quite simple to use & it just outputs some data. It is not 100% accurate because sometimes it will get the carrier or location wrong, but it can definitely figure out if a phone number is in the correct...