This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:custom_development_guide:apis:javascript:hangup [2016/09/07 06:56] – liuxl | en:custom_development_guide:apis:javascript:hangup [2018/12/29 02:43] (current) – donnie | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Function: | *Function: | ||
| - | < | + | < |
| *Description: | *Description: | ||
| Line 12: | Line 12: | ||
| |uniqueid|String|the uniqueid of the calls you want to hangup, end with a comma| | |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| | + | |targetagent|String|If you don't have uniqueId, you need to put agent number. If you want to hangup group admin who is in spy, barge-in or whisper, put agent number, such as, group admin 2227 is spying agent 1986, put 1986 here if you need to hangup 2227.| |
| + | |target|String|hangup target: | ||
| + | |pwdtype |String|Use plaintext or md5 password for agent or account| | ||
| |password|String|password| | |password|String|password| | ||
| |usertype|String|agent / account| | |usertype|String|agent / account| | ||
| Line 30: | Line 32: | ||
| ^Value ^Description ^ | ^Value ^Description ^ | ||
| - | |< | + | |< |
| - | 当uniqueid不为空时,message为每个uniqueid执行挂断的结果,举例 | + | When uniqueid |
| - | {code: | + | {code: |
| - | success代表挂断成功 | + | |< |
| - | failed代表挂断失败</ | + | |
| - | |< | + | |