.NET
Set Startup Route for Voice View
Open startup.cs and navigate to the app.UseEndpoints delegate and change Home to Voice in the MapControllerRoute request. It will now look like this:
app.UseEndpoints(endpoints =>
{
endpoints.MapControllerRoute(
name: "default",
pattern: "{controller=voice}/{action=Index}/{id?}");
});
Play Audio into a Call with .NET
A tutorial showing you how to build an app that will play audio into a PSTN call
手順
1
Introduction to this tutorial2
Prerequisites3
Create .NET Voice Application4
Install Vonage Dotnet5
Add a Voice Controller6
Add Make Call Action7
Add a Receive Call Route8
Add a Voice View9
Set Startup Route10
Configure the ASP.NET App11
Run the .NET App12
What's Next?