我即将开发的应用程序将调用IVR并在那里进行选择,就像IVR“在IVR之后”说“文本”按1来获取更多信息“我的应用程序应该按1,我不知道如何开始。”应该是基于Arduino的+语音识别吗?任何想法都会受到欢迎。
发布于 2021-04-21 06:44:53
您可以使用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");
}
}然后,您可以使用Dasha的语音识别保存IVR的回复,并将其传递给您的应用程序。
如果您需要任何帮助,欢迎加入我们的dev社区或在vlad@dasha.ai上给我打电话。
干杯
发布于 2021-05-04 06:56:48
(这只是道路的开始)
在跳入源:https://www.pjsip.org/python/pjsua.htm之前,您可以在python中使用:https://github.com/pjsip/pjproject进行操作。
或者,如果您需要bash命令,那么sipp工具可能是您的朋友:https://github.com/SIPp/sipp
https://stackoverflow.com/questions/66787542
复制相似问题