【问题标题】:Programatically interact with IVR以编程方式与 IVR 交互
【发布时间】:2021-03-24 18:54:03
【问题描述】:

我即将开发将调用 IVR 并在其中进行选择的应用程序,例如在 IVR“说”文本后“按 1 获取更多信息”我的应用程序应该按 1。 我不知道如何开始。它应该是基于 Arduino + 语音识别的东西吗?欢迎任何想法。

【问题讨论】:

  • 这不是设计圆桌会议。学习一些东西。此外,您的问题不包含代码,因此它不符合 arduino 标签的要求。

标签: arduino voice-recognition ivr


【解决方案1】:

您可以使用Dasha为此编写一个简单的应用程序。

示例 DSL (DashaScript) 代码:

start node root {
    do {
        #connectSafe("<PHONE_NUMBER>"); //call phone number
    }
    transitions {
        press_number: goto press_number on #messageHasAnyIntent(["press_one", "press_two"]); //use conversational AI to understand that IVR says "press 1 to get more info"
    }
}

node press_number {
    do {
        if(#messageHasIntent("press_one")) 
            #sendDTMF("1"); //make selection by sending DTMF code
        if(#messageHasIntent("press_two"))
            #sendDTMF("2");
    }
}

然后您可以使用大傻的语音识别保存 IVR 的回复并将其传递给您的应用。

如果您需要任何帮助,请随时加入我们的dev community 或发送邮件至 vlad@dasha.ai。

干杯

【讨论】:

    【解决方案2】:

    (这只是路径的开始)

    你可以在 python 中使用:https://www.pjsip.org/python/pjsua.htm 在深入了解消息来源之前:https://github.com/pjsip/pjproject

    或者,如果您需要 bash 命令,sipp 工具可能是您的朋友:https://github.com/SIPp/sipp

    【讨论】:

      猜你喜欢
      • 2021-08-31
      • 2012-08-04
      • 2018-06-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-21
      相关资源
      最近更新 更多