目前我正在开发Twilio API。我需要使用twilio呼叫IVR号码。IVR号码提问。在Twilio中,我希望使用语音识别来检测问题并相应地提供答案。
例如需要激活移动SIM卡:-
对IVR号码的=>呼叫(1900)
问题:-输入您的出生日期(在TWilio中检测问题并通过答案)
回答:- 2001年1月1日(来自android演播室的Twilio回答)
发布于 2021-04-21 15:35:40
您可以使用Dasha为此构建一个简单的应用程序。
DSL (DashaScript)代码示例:
start node root {
do {
#connectSafe("<PHONE_NUMBER>"); //make Dasha call your IVR
}
transitions {
birthdate: goto birthdate on #messageHasIntent("birthdate"); //use conversational AI to understand that IVR says "Enter your birth date"
}
}
node birthdate {
do {
#sayText("1 January, 2001"); //say it using Dasha speech synthesis
}
}您可以将Dasha连接到您的Twilio帐户,这样呼叫将通过您的Twilio电话号码:https://docs.dasha.ai/en-us/default/tutorials/sip-outbound-calls/。
如果您需要任何帮助,请随时加入我们的dev community或在vlad@dasha.ai上给我写信。
干杯
https://stackoverflow.com/questions/66545110
复制相似问题