2.8 咨询

应用场景:通话中

标识(key):consult

传入参数(data):

序号 名称 类型 是否必填 说明
1 id String 对接ID
3 value String 座席工号
示例代码:
//咨询
function consult(number) {
  let obj = {
    key: 'consult',
    data: {
      id: phoneId, // 对接ID
      value: number, // 座席工号
    }
  }
  telephoneFunction(obj);
}
咨询的回调事件说明:
{
    "key": "CTIResponse",
    "name": "通话信令",
    "data": {
        "agentnum": "1007",
        "tenantid": "acf528a2-xxxx-xxxx-xxxx-74cb3995cfab",
        "type": "response",
        "command": "agentConsult", //咨询事件
        "retmsg": "succed!",
        "retcode": 200
    }
}
文档更新时间: 2024-08-28 14:30   作者:admin