This is an old revision of the document!
×Function:
transferCJI(sessionid, nwaycalluniqueid, calleruniqueid, agentuniqueid, pwdtype, password, usertype, user, orgidentity, callbackFuc)
When call consult success, use call transfer will connect the consult and the call, and the agent will be hangup from the call.
| Params | Type | Description |
|---|---|---|
| sessionid | String | sessionid of the current call |
| 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 |
{code:code,message:message}
Type of the Return Value:JSON
| Value | Description |
|---|---|
{code:1,message:message}
| {code:Succeed,message:Messages}
|
{code:2,message:message}
| {code:Failed,message:Messages}
|