Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:custom_development_guide:apis:http:transfer_to_ivr [2016/09/12 07:39]
liuxl created
en:custom_development_guide:apis:http:transfer_to_ivr [2018/12/29 07:55] (current)
donnie
Line 1: Line 1:
 ====== transfer to IVR ====== ====== transfer to IVR ======
  
-  * function+  * Reques String
-<​code>​setvarCJI (orgidentity,usertype,user,pwdtype,password,​varname,​varvalue,​callbackFuc)+<​code>​EVENT=AgentToIvr&​orgidentity=orgidentity&​usertype=usertype&​user=user&pwdtype=pwdtype&​password=password&​ivrexten=ivrexten&​ivrflow=ivrflow&​transfer=transfer
 </​code>​ </​code>​
   * Description:​   * Description:​
Line 9: Line 9:
  
 ^ Params ​     ^ Type       ^ Description ​         ^ ^ Params ​     ^ Type       ^ Description ​         ^
 +|EVENT|String|AgentToIvr|
 |orgidentity|String|team identity string| |orgidentity|String|team identity string|
 |usertype|String|agent / account| |usertype|String|agent / account|
Line 17: Line 18:
 |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| |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| |transfer|String|IVR transfer mode: 0 release transfer, 1 hold transfer|
-|callbackFuc|String|callback function| 
  
  
Line 24: Line 24:
  
 <​code>​ <​code>​
-{code:​code,​message:​message}+|Retuen|code|Retuen|message
 </​code>​ </​code>​
  
-  * Type of the Return Value: ​JSON+  * Type of the Return Value: ​String
   * Return values:   * Return values:
  
 ^ Value     ^ Description ​      ^ ^ Value     ^ Description ​      ^
-|<​code>​{code:1,message:message}</​code>​|<​code>​{code:succeed,message:message}</​code>​| +|<​code>​|Retuen|1|Retuen|message</​code>​|<​code>​|Retuen|succeed|Retuen|message</​code>​| 
-|<​code>​{code:2,message:message}</​code>​|<​code>​{code:failed,message:message}</​code>​|+|<​code>​|Retuen|2|Retuen|message</​code>​|<​code>​|Retuen|failed|Retuen|message</​code>​|
en/custom_development_guide/apis/http/transfer_to_ivr.1473665963.txt.gz · Last modified: 2017/12/12 03:11 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki