This project lets you translate a PSTN call with the Vonage Voice API and Azure Cognitive Services.
If you're new to Vonage, you can sign up for a Vonage API account and get some free credit to get you started.
- You'll need a Vonage API Account. If you don't have one, you can sign up for one here. Take note of your accounts Api Key, Api Secret, and the number that comes with it.
- You'll need an Azure Speech Resource - you can create one following the steps here Pull the region and key value from the
Keys and Enpoint
tab on your resource. - The latest .NET Core SDK installed
- Visual Studio or Visual Studio Code. I will be using Visual Studio 2019 for this demo
- This assumes that you've already procured a number, and linked it to an application that is pointing at a valid endpoint for Voange to reach. See the Voice API tab of our Setting webhook endpoints docs for more details
In your appsettings.json
file, set SUBSCRIPTION_KEY
and REGION
to your Azure resources subscription key and region
Run the app with dotnet run
We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:
- Open an issue on this repository
- Tweet at us! We're @VonageDev on Twitter
- Or join the Vonage Developer Community Slack
- Check out the Developer Documentation at https://developer.nexmo.com