Home / Companies / Vonage / Blog / Post Details
Content Deep Dive

Receive an Inbound Voice Call with PHP

Blog post from Vonage

Post Details
Company
Date Published
Author
Michael Heap
Word Count
1,159
Language
English
Hacker News Points
-
Summary

This PHP application receives an inbound voice call from Vonage, processes the caller's phone number, and returns a dynamic response using Text-To-Speech to read out the number digit by digit. The application is exposed to the internet using ngrok, allowing Vonage to make requests to it when a call is received. The final step involves configuring the Vonage account with the application's URL and linking the purchased phone number to the application. With this setup, the PHP application can dynamically generate responses to incoming voice calls, providing a more personalized experience for callers.