This is an old revision of the document!
====== End a Call Consult ====== *Function: <code>callReturnCJI(nwaycalluniqueid, calleruniqueid, agentuniqueid, pwdtype, password, usertype, user, orgidentity, callbackFuc)</code> *Description: <code>When call consult success, agent hangup the consult party and go back to the call.</code> *Parameters: ^Params ^Type ^Description ^ |nwaycalluniqueid|String|uniqueid of the consult party| |calleruniqueid|String|uniqueid of the caller| |agentuniqueid|String|uniqueid of the agent| |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| |callbackFuc|String|callback function| *Return Format: <code>{code:code,message:message}</code> *Type of the Return Value:JSON *Return Values: ^Value ^Description ^ |<code>|Return|1|Return|message</code>|<code>Succeeded||Messages</code>| |<code>|Return|2|Return|message</code>|<code>Failed||Messages</code>|