====== 呼叫接口 ======
* 接口原型:
makeCallCJI(targetdn, targettype, agentgroupid, usertype, user, orgidentity, pwdtype, password, modeltype, model_id, userdata, callbackFuc, agentexten, callerid, callername, trunkidentity, cidtype)
* 作用说明:
发起呼叫
* 参数说明:
^ 参数名称 ^ 类型 ^ 描述信息 ^
|targetdn|String|外呼到坐席填写坐席工号**仅限本团队坐席**/ 外呼到号码填写目标号码|
|targettype|String|目标类型(电话号码[exter],坐席[inner])|
|agentgroupid|String|坐席组id|
|usertype|String|agent(坐席) / account(帐号)|
|user|String|坐席工号 / 用户名|
|orgidentity|String|团队唯一标识|
|pwdtype|String|密码类型 明文(plaintext) / MD5加密(md5)|
|password|String|密码|
|modeltype|String|业务类型(业务应用[BusinessApp],外呼营销[Campaign],虚拟中心[Virtualcustomer],呼入客服[Customerservice])|
|model_id|String|业务ID|
|userdata|String|自定义参数字段,当modeltype= Campaign时,可填写此字段,例如填写customer_id=109&pwd=asdfg那么在你收到通话事件时,你会接收到userdata='customer_id=109&pwd=asdfg'内容,也就是你传什么内容,就能从userdata获取到相应内容|
|callbackFuc|String|回调函数|
|agentexten|String|不是必填项,此参数可以在拨号前修改坐席当前使用的分机。|
|callerid|String|不是必填项,主叫显示号码,送显号码,透传号码。|
|callername|String|不是必填项,主叫显示名称,送显名称,透传名称。|
|trunkidentity|String|不是必填项,中继标识,选择此中继线路进行呼出。|
|cidtype|String|不是必填项(0/1/2),0使用api传来的callerid;1使用中继的callerid;2使用分机设置的callerid;|
* 返回结果:
{code:code,message:message}
* 返回值类型:JSON
* 返回值:
^ 返回值 ^ 描述信息 ^
|{code:1,message:message}|{code:成功,message:信息描述}|
|{code:2,message:message}|{code:失败,message:信息描述}|