====== ACW (After Call Work) Mode Config ======
*Function:
acwActionCJI(type, usertype, user, orgidentity, pwdtype, password, agent_group_id, pushevent, callbackFuc)
*Description:
Change the ACW mode of the agent in agent group
*Parameters:
^Params ^Type ^Description ^
|type|String|1(Ringing ACW) / 2(Answered ACW) / 3(Disable ACW)|
|usertype|String|agent / account|
|user|String|Agent No. or Username|
|orgidentity|String|The identity string of the team|
|pwdtype|String|Use plaintext or md5 password for agent or account|
|password|String|password|
|agent_group_id|String|agent group id|
|pushevent|String|If need send a agent event, yes / no(default)|
|callbackFuc|String|callback function|
*ACW Mode, when agent is in ACW mode, agent would not receive any calls from queue.
*Ringing ACW: As long as the agent phone rings, no matter if agent answer, when the call hangup, agent will be in ACW mode
*Answered ACW: Only the call is answered, agent will be in ACW mode when call hangup.
*Disable ACW: agent would not go to ACW mode automaticly
*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}|