Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

How to determine the cell phone carrier

So it seems to send a SMS text you must have the carrier's address
https://code.tutsplus.com/tutorials/how-to-send-text-messages-with-php--net-17693

If I wanted to write a script to determine the carrier how would I go about doing this?
0
burnedfaceless
Asked:
burnedfaceless
2 Solutions
 
arnoldCommented:
There are different web sites that could provide this service where you would query them.
The alternative, mail to all and upon bounces, identify to which....

Before one could identify by blocks, but since number portability, three sequential numbers can be served by three separate providers.

I've not researched whether each provider has a service to allow query. Note the carriers determine the destination ......
0
 
Ray PaseurCommented:
The tutsplus article is over 5 years old, and a lot has changed in that time.  Consider using Twilio, a service that takes on all of these issues and makes for easy solutions in telephony and messaging.  You can start for free, and it's almost embarrassingly inexpensive in practice.  Plus, Twilio is a real company, with accountability to their customers and excellent customer support!
0
 
burnedfacelessAuthor Commented:
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now