Can anyone help me with some idea on how to integrate an IVR system with .NET application. What are the requirements and which are the providers which support .NET integration.
Thanks in advance.
Can anyone help me with some idea on how to integrate an IVR system with .NET application. What are the requirements and which are the providers which support .NET integration.
Thanks in advance.
FreeSWITCH has support for .NET. All you need to do is to activate the mod_managed module.
But you do not integrate a IVR application into a .NET application but code a IVR application in .NET. (Although you could use WCF or similar for communication between your app and the .NET code running in FreeSWITCH)
You can build an IVR fairly quickly with some help from Twilio tutorials.
https://www.twilio.com/docs/tutorials/walkthrough/ivr-phone-tree/csharp/mvc
In this example, we walk you through how to build a typical call center workflow and the main menu to process a caller's selection in the IVR looks like this:
// POST: Menu/Show
[HttpPost]
public TwiMLResult Show(string digits)
{
var selectedOption = digits;
var optionActions = new Dictionary<string, Func<TwiMLResult>>()
{
{"1", ReturnInstructions},
{"2", Planets}
};
return optionActions.ContainsKey(selectedOption) ?
optionActions[selectedOption]() :
RedirectWelcome();
}
private static TwiMLResult ReturnInstructions()
{
var response = new TwilioResponse();
response.Say("To get to your extraction point, get on your bike and go down " +
"the street. Then Left down an alley. Avoid the police cars. Turn left " +
"into an unfinished housing development. Fly over the roadblock. Go " +
"passed the moon. Soon after you will see your mother ship.",
new { voice = "alice", language = "en-GB" });
response.Say("Thank you for calling the ET Phone Home Service - the " +
"adventurous alien's first choice in intergalactic travel");
response.Hangup();
return new TwiMLResult(response);
}
You can easily modify something like this based upon the needs of your application.