Call Consult

  • Function:

consultCJI(targetdn, agentgroupid, consulttype, pwdtype, password, usertype, user, orgidentity, callbackFuc)

  • Description:

When agent in a call or in a conference, make a call to a new party, when it’s answered, agent will talk to new party, the old party will be held(MOH) or stay in conference

  • Parameters:
Params Type Description
targetdnStringAgent No. (internal consult) or phone number (external consult)
agentgroupidStringagent group id when it’s a internal consult, put 0 if it’s a external consult
consulttypeStringinternal / external
pwdtypeStringUse plaintext or md5 password for agent or account
passwordStringpassword
usertypeStringagent / account
userStringAgent No. or Username
orgidentityStringThe identity string of the team
callbackFucStringcallback function
  • Return Format:

{code:code,message:message}

  • Type of the Return Value:JSON
  • Return Values:
Value Description
{code:1,message:message}
{code:Succeed,message:Messages}
{code:2,message:message}
{code:Failed,message:Messages}
en/custom_development_guide/apis/javascript/consult.txt · Last modified: 2018/12/28 02:05 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki