/plushcap/analysis/vonage/vonage-text-to-speech-voice-calls-with-php-dr

Text-to-Speech Voice Calls with PHP

What's this blog post about?

You've built an app that triggers outbound phone calls using the Nexmo PHP client, utilizing voice calls as an excellent communication method for immediate messages. The code uses a virtual phone number, ngrok to expose the app to the public, and Vonage API account credentials. You've created a simple NCCO with a talk action, generating a text-to-speech message. The app also handles incoming calls by returning a JSON response in the correct format. Additionally, you've made an outbound call using the Nexmo client and added dynamic NCCOs to fetch jokes from the Chuck Norris Database for customized responses.

Company
Vonage

Date published
Nov. 12, 2020

Author(s)
Michael Heap

Word count
1610

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.