Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IVR与.NET的集成_.net_Integration_Ivr - Fatal编程技术网

IVR与.NET的集成

IVR与.NET的集成,.net,integration,ivr,.net,Integration,Ivr,有谁能帮我了解一下如何将IVR系统与.NET应用程序集成在一起。支持.NET集成的要求和提供程序是什么 提前感谢。FreeSWITCH支持.NET。您只需激活mod_管理模块 但您并没有将IVR应用程序集成到.NET应用程序中,而是在.NET中编写IVR应用程序。(尽管您可以使用WCF或类似工具在应用程序和FreeSWITCH中运行的.NET代码之间进行通信)在Twilio教程的帮助下,您可以相当快地构建IVR 在本例中,我们将向您介绍如何构建典型的呼叫中心工作流,以及在IVR中处理呼叫者选择

有谁能帮我了解一下如何将IVR系统与.NET应用程序集成在一起。支持.NET集成的要求和提供程序是什么


提前感谢。

FreeSWITCH支持.NET。您只需激活mod_管理模块


但您并没有将IVR应用程序集成到.NET应用程序中,而是在.NET中编写IVR应用程序。(尽管您可以使用WCF或类似工具在应用程序和FreeSWITCH中运行的.NET代码之间进行通信)

在Twilio教程的帮助下,您可以相当快地构建IVR

在本例中,我们将向您介绍如何构建典型的呼叫中心工作流,以及在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);
}
//发布:菜单/显示
[HttpPost]
公共TwiMLResult显示(字符串数字)
{
var selectedOption=数字;
var optionActions=新字典()
{
{“1”,返回指令},
{“2”,行星}
};
返回选项Actions.ContainesKey(selectedOption)?
选项操作[选择选项]():
欢迎你();
}
私有静态TwiMLResult返回指令()
{
var响应=新的TwiliOrResponse();
回答。说:“要到达你的提取点,骑上你的自行车然后下去”+
“街道。然后沿着小巷左转。避开警车。左转”+
“进入一个未完工的住宅开发区。飞越路障。出发”+
“经过月球。不久你就会看到你的母船。”,
新的{voice=“alice”,language=“en-GB”});
回答。说:“谢谢你打电话给ET家庭电话服务-the”+
“冒险的外星人星际旅行的首选”);
response.Hangup();
返回新的TwiMLResult(响应);
}

您可以根据应用程序的需要轻松地修改类似的内容

如果我与我的客户建立了IVR系统,并希望它与我的.NET应用程序进行通信或集成,我该如何进行这项工作?这取决于您使用的IVR系统以及“通信/集成”的含义。例如,如果我有一个做调查的客户IVR,我希望.NET应用程序与此IVR进行通信它取决于您使用什么(哪个平台/pbx/编程语言)使您的IVR系统,以及您所指的通信/集成(数据库/套接字/ipc/其他)集成或通信本质上是指.NET对从IVR系统接收的数据进行某种处理。希望有帮助。因为我是第一次进入它,即使我没有太多的知识,所以我不能提供一个适当的描述。假设来自IVR的数据将被处理成某种格式并输入数据库。