AWS Transcribe With Nexmo Voice Using PHP
A tutorial is provided on how to create a callback script that interacts with a caller to prompt for a voice message, then retrieves the contents of the recording and requests a voice transcription from Amazon Transcribe using Nexmo's Voice service. The tutorial covers setting up an AWS account, creating an S3 bucket, and configuring IAM credentials to access Amazon Transcribe and S3. It also explains how to set up ngrok to make the local application available on the internet, create a Vonage API account, and install required dependencies using Composer. The script uses Slim as a microframework to handle HTTP calls and callbacks, and includes route-based middleware to handle Nexmo's status updates, fetching recordings, and requesting transcription from Amazon Transcribe.
Company
Vonage
Date published
April 28, 2021
Author(s)
Adam Culp
Word count
2138
Language
English
Hacker News points
None found.