Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:custom_development_guide:apis:http:hangup [2016/09/06 08:00] – created liuxlen:custom_development_guide:apis:http:hangup [2018/12/29 09:03] (current) donnie
Line 2: Line 2:
  
   *Reques String:   *Reques String:
-<code>EVENT=HANGUP&uniqueid=uniqueid&pwdtype=pwdtype&password=password&usertype=usertype&user=user&orgidentity=orgidentity</code>+<code>EVENT=HANGUP&uniqueid=uniqueid&targetagent=targetagent&target=target&pwdtype=pwdtype&password=password&usertype=usertype&user=user&orgidentity=orgidentity</code>
  
   *Description:   *Description:
Line 12: Line 12:
 |EVENT|String|HANGUP| |EVENT|String|HANGUP|
 |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|
 +|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:(channel,agent,caller,consult,all),uniqueId is required if you want to hangup a channel|
 |pwdtype|String|Use plaintext or md5 password for agent or account| |pwdtype|String|Use plaintext or md5 password for agent or account|
 |password|String|password| |password|String|password|
Line 20: Line 22:
   *uniqueid example:   *uniqueid example:
     *Hangup one party: uniqueid,     *Hangup one party: uniqueid,
-    *Hnagup:         uniqueid1, uniqueid2,…uniqueidN,+    *Hnagup:uniqueid1, uniqueid2,…uniqueidN,
  
   *Return Format:   *Return Format:
Line 29: Line 31:
  
 ^Value ^Description ^ ^Value ^Description ^
-|<code>|Return|1|Return|message</code>|<code>Succeeded||Messages</code>|+|<code>|Return|1|Return|message</code>|<code>|Retuen|succeed|Retuen|message: 
 +When uniqueid is not empty, message gives result for each uniqueid, ex: 
 +|Retuen|1|Retuen|4781:success,4782:failed 
 +</code>|
 |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>| |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>|
en/custom_development_guide/apis/http/hangup.1473148811.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki