agenttoivrCJI (orgidentity, usertype, user, pwdtype, password, ivrexten, ivrflow, transfer, callbackFuc)
transfer to IVR
| Params | Type | Description |
|---|---|---|
| orgidentity | String | team identity string |
| usertype | String | agent / account |
| user | String | agent No. / username |
| pwdtype | String | password type: plaintext/md5 |
| password | String | password |
| ivrexten | String | IVR exten number |
| ivrflow | String | IVR flow, to simulate user input, use - as separator if you have multiple flow, such as 1-2-5 means customer press 1 in 1st flow, 2 in 2nd and 5 in 3rd |
| transfer | String | IVR transfer mode: 0 release transfer, 1 hold transfer |
| callbackFuc | String | callback function |
{code:code,message:message}
| Value | Description |
|---|---|
{code:1,message:message}
| {code:succeed,message:message}
|
{code:2,message:message}
| {code:failed,message:message}
|