Call the website and use php to recognize caller id

I have this idea when I want to allow someone to call the phone number from my mobile phone, and then their caller ID will be displayed on the website. I want to do this in php, but I really don't know how to do this. I'm pretty good with PHP, and I guess you need some kind of GSM modem connected to the web server to receive incoming phone calls, but this is really how much I can get. If someone could point me in the right direction, that would be great.

+3
source share
1 answer

Recently, several services have appeared that allow you to receive phone calls using the API:

This is probably easier than just physically receiving phone calls.

If you went to use a modem, then you obviously need drivers for it and a program against any API that these drivers showed.

In any case, you will need a way to associate a phone call with a session on a website — perhaps to create a unique number for each visitor or by entering them to enter a sequence of numbers when they are called. The workflow will look something like this:

  • User visits website
  • The site generates a session identifier, provides the user's phone number
  • Custom Call Number
  • / script/etc, API- cloudvox/twilio API
  • ( , ..)
  • -
  • - -
  • - .
+3

Source: https://habr.com/ru/post/1746718/


All Articles