This is an old revision of the document!
hangup(uniqueid, pwdtype, password, usertype, user, orgidentity)
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 |
|Return|code|Return|message
| Value | Description |
|---|---|
|Return|1|Return|message | Succeeded||Messages |
|Return|2|Return|message | Failed||Messages |