This is an old revision of the document!
hangupCJI(uniqueid, pwdtype, password, usertype, user, orgidentity, callbackFuc)
Hangup one call party or a list of parties
| Params | Type | Description |
|---|
| uniqueid | String | the uniqueid of the calls you want to hangup, end with a comma |
| pwdtype | String | Use plaintext or md5 password for agent or account |
| password | String | password |
| usertype | String | agent / account |
| user | String | Agent No. or Username |
| orgidentity | String | The identity string of the team |
| callbackFuc | String | callback function |
{code:code,message:message}
| Value | Description |
|---|---|
|Return|1|Return|message | {code:成功,message:信息描述}
当uniqueid不为空时,message为每个uniqueid执行挂断的结果,举例
{code:1,message: 4781:success,4782:failed }
success代表挂断成功
failed代表挂断失败
|
|Return|2|Return|message | Failed||Messages |