与.NET IVR集成

问题描述:

任何人都可以帮助我了解如何将IVR系统与.NET应用程序集成。什么是需求,哪些是支持.NET集成的提供者。与.NET IVR集成

在此先感谢。

FreeSWITCH支持.NET。你所需要做的就是激活mod_managed模块。

但是,您不会将IVR应用程序集成到.NET应用程序中,而是在.NET中编写IVR应用程序。 (虽然您可以使用WCF或类似的程序在您的应用程序和FreeSWITCH中运行的.NET代码之间进行通信)

+0

如果我有我的客户的IVR系统,并希望它与我的.NET应用程序进行通信或整合,我该如何去做 – pooja

+0

这取决于您用于制作IVR系统的内容以及您的通信意味着什么/整合。 – jgauffin

+0

作为一个例子,如果我有一个调查客户端的IVR,我想要一个.NET应用程序与这个IVR系统进行通信,那么会怎样设置。 – pooja

您可以在Twilio教程的帮助下快速构建IVR。

https://www.twilio.com/docs/tutorials/walkthrough/ivr-phone-tree/csharp/mvc

在这个例子中,我们将逐步如何构建一个典型的呼叫中心的工作流程和主菜单来处理在IVR呼叫者的选择是这样的:

// 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); 
} 

你可以根据您的应用程序的需要轻松修改此类内容。