2.23 转接后接回

应用场景:通话中

标识(key):retrieve

传入参数(data):

序号 名称 类型 是否必填 说明
1 id String 对接ID
示例代码:
//转接
function retrieve() {
  let obj = {
    key: 'retrieve',
    data: {
      id: phoneId, // 对接ID
    }
  }
  telephoneFunction(obj);
}
转接的回调事件说明:
{
    "key": "CTIResponse",
    "name": "通话信令",
    "data": {
        "agentnum": "8004",
        "respSeq": 191,
        "tenantid": "acf528a2-xxxx-xxxx-xxxx-74cb3995cfab",
        "type": "response",
        "command": "agentRetrieve",
        "retmsg": "succed!",
        "retcode": 200
    },
    "dest": "ykf.telephoneBar"
}
文档更新时间: 2024-08-28 14:30   作者:admin