How to do phone call verification with PHP?


I noticed on Craigslist that some advertisement posts require you to enter a phone number and then the computer calls your phone and gives you a verification code.

How is this done using PHP?


This is done through an API that connects to a 3rd party company who manages the numbers and then either calls you back as a computer with a verification code or as a human operator.

There is no way to do this with straight PHP.

Thanks for the response SgtLegend. So the API basically has real people that manually have to pick up the phone, dial the number and then have a computer or human pass the code along?

No, not normally.

The API usually interfaces with something like Asterisk, a digital PBX. You would then program this to accept the input and verification of a supplied ‘code’.


<<Adds to bookmarks :wink: