您好,我正在使用 Watson Assistant 进行语音(使用 Twilio SIP),当用户想要连接到代理或由于流量原因时,我想将呼叫转发到另一个号码。我正在使用 (https://cloud.ibm.com/docs/assistant?topic=assistant-dialog-voice-actions#dialog-voice-actions-transfer) 中提到的以下方法。但电话并没有转接,只是结束了。这里也有一些信息(https://cloud.ibm.com/docs/assistant?topic=assistant-deploy-phone#deploy-phone-transfer-service)
{
"output": {
"generic": [
{
"response_type": "connect_to_agent",
"transfer_info": {
"target": {
"service_desk": {
"sip": {
"uri": "tel:+18883334444",
"transfer_headers": [
{
"name": "Name",
"value": "Aymal"
},
{
"name": "Phone_Number",
"value": "4693061410"
}
],
"transfer_headers_send_method": "refer_to_header"
}
}
}
},
"agent_available": {
"message": "I'll transfer you to an agent"
},
"agent_unavailable": {
"message": "Sorry, I could not find an agent."
},
"message_to_human_agent": "New Patient"
}
]
}
}
{
"output": {
"generic": [
{
"response_type": "connect_to_agent",
"transfer_info": {
"target": {
"service_desk": {
"sip": {
"uri": "tel:+18883334444",
"transfer_headers": [
{
"name": "Customer-Header1",
"value": "Some-Custom-Info"
},
{
"name": "User-to-User",
"value": "XXXXXX"
}
],
"transfer_headers_send_method": "refer_to_header"
}
}
}
},
"agent_available": {
"message": "I'll transfer you to an agent"
},
"agent_unavailable": {
"message": "Sorry, I could not find an agent."
},
"message_to_human_agent": "The caller Wants to connect to human agent"
}
]
},
"context": {}
}
您能否分享使用 Twilio 将 Watson Assistant 与手机集成的详细步骤。预先感谢!