This is an old revision of the document!


Hangup

  • Function:

hangupCJI(uniqueid, pwdtype, password, usertype, user, orgidentity, callbackFuc)

  • Description:

Hangup one call party or a list of parties

  • Parameters:
Params Type Description
uniqueidStringthe uniqueid of the calls you want to hangup, end with a comma
pwdtype StringUse plaintext or md5 password for agent or account
passwordStringpassword
usertypeStringagent / account
userStringAgent No. or Username
orgidentityStringThe identity string of the team
callbackFucStringcallback function
  • uniqueid example:
  • Hangup one party: uniqueid,
  • Hnagup: uniqueid1, uniqueid2,…uniqueidN,
  • Return Format:

{code:code,message:message}
Type of the Return Value:JSON

Return Values: Value Description

|Return|1|Return|message
Succeeded||Messages<code>|
|<code>|Return|2|Return|message
<code>FailedMessages<code>
en/custom_development_guide/apis/javascript/hangup.1473226997.txt.gz · Last modified: 2017/12/12 03:11 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki