====== transfer to IVR ======
* function:
agentToIvr (orgidentity,usertype,user,pwdtype,password,ivrexten,ivrflow,transfer)
* Description:
transfer to IVR
* Parameters:
^ 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|
* Return Format:
|Retuen|code|Retuen|message
* Type of the Return Value: String
* Return values:
^ Value ^ Description ^
||Retuen|1|Retuen|message||Retuen|succeed|Retuen|message|
||Retuen|2|Retuen|message||Retuen|failed|Retuen|message|