强拆 forceDrop(deviceId, callId)强制操作API说明 - 图8

强制通话中的设备挂断电话。必须保证被插入的设备在通话中才可以进行强拆。

参数 类型 是否必须 默认值 描述
deviceId string 是 设备id
callId string 是 呼叫id

Example

  1. wellClient.forceDrop('8001@test.cc', '6aee1dda-d4a2-4d3c-8fab-df7782a6c10f')
  2. .done(function(res){
  3. console.log('强拆请求成功');
  4. })
  5. .fail(function(res){
  6. console.log('强拆请求失败');
  7. });

强插 forceJoin(deviceId, callId, phoneNumber)强制操作API说明 - 图9

强制进入一个通话中,类似于进入会议。必须保证被插入的设备在通话中才可以进行强插。

参数 类型 是否必须 默认值 描述
deviceId string 是 被插入设备的id
callId string 是 被插入设备的callId
phoneNumber string 是 插入方设备号码

Example

wellClient.forceJoin('8001@test.cc', '6aee1dda-d4a2-4d3c-8fab-df7782a6c10f', '8002')
.done(function(res){
    console.log('强插请求成功');
})
.fail(function(res){
    console.log('强插请求失败');
});

接管 forceTake(deviceId, callId, phoneNumber)强制操作API说明 - 图10

接管通过的座席,让通话转接到指定的设备上。必须保证被接管的设备在通话中才可以进行接管。

参数 类型 是否必须 默认值 描述
deviceId string 是 被接管设备的id
callId string 是 被接管设备的callId
phoneNumber string 是 接管方设备号码

Example

wellClient.forceTake('8001@test.cc', '6aee1dda-d4a2-4d3c-8fab-df7782a6c10f', '8002')
.done(function(res){
    console.log('强插请求成功');
})
.fail(function(res){
    console.log('强插请求失败');
});

监听 forceListen(callId, deviceId)强制操作API说明 - 图11

监听通话。

参数 类型 是否必须 默认值 描述
callId string 是 被监听通话的callId
deviceId string 是 使用设备(deviceId)去监听

Example

wellClient.forceListen('6aee1dda-d4a2-4d3c-8fab-df7782a6c10f', '8002@test.cc')
.done(function(res){
    console.log('监听请求成功');
})
.fail(function(res){
    console.log('监听请求失败');
});

强制就绪 forceReady(agentId, deviceId)强制操作API说明 - 图12

参数 类型 是否必须 默认值 描述
agentId string 是 座席Id
deviceId string 是 座席使用的设备Id

Example

wellClient.forceReady('5001@test.cc', '8002@test.cc')
.done(function(res){
    console.log('强制就绪请求成功');
})
.fail(function(res){
    console.log('强制就绪请求失败');
});

强制离席 forceNotReady(agentId, deviceId)强制操作API说明 - 图13

参数 类型 是否必须 默认值 描述
agentId string 是 座席Id
deviceId string 是 座席使用的设备Id

Example

wellClient.forceNotReady('5001@test.cc', '8002@test.cc')
.done(function(res){
    console.log('强制离席请求成功');
})
.fail(function(res){
    console.log('强制离席请求失败');
});

强制签出 forceLogout(agentId, deviceId)强制操作API说明 - 图14

强制座席签出

参数 类型 是否必须 默认值 描述
agentId string 是 座席Id
deviceId string 是 座席使用的设备Id

Example

wellClient.forceLogout('5001@test.cc', '8002@test.cc')
.done(function(res){
    console.log('强制签出请求成功');
})
.fail(function(res){
    console.log('强制签出请求失败');
});