Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:custom_development_guide:apis:webservice:call [2017/12/12 03:05]
127.0.0.1 external edit
en:custom_development_guide:apis:webservice:call [2019/01/03 06:01] (current)
donnie
Line 2: Line 2:
  
   *Function:   *Function:
-<​code>​makeCall(targetdn,​ targettype, agentgroupid,​ usertype, user, orgidentity,​ pwdtype,​password,​ modeltype, model_id, userdata)</​code>​+<​code>​makeCall(targetdn,​ targettype, agentgroupid,​ usertype, user, orgidentity,​ pwdtype,​password,​ modeltype, model_id, userdata, agentexten, callerid, callername, trunkidentity,​ cidtype)</​code>​
  
   *Description:​   *Description:​
Line 21: Line 21:
 |model_id|String|id of the model which you want to originate the call for| |model_id|String|id of the model which you want to originate the call for|
 |userdata|String|user data, only valid when modeltype= Campaign, say you put  “customer_id=109&​pwd=asdfg” here, when you receive the call events, you will get userdata=’ customer_id=109&​pwd=asdfg’| |userdata|String|user data, only valid when modeltype= Campaign, say you put  “customer_id=109&​pwd=asdfg” here, when you receive the call events, you will get userdata=’ customer_id=109&​pwd=asdfg’|
-|agentexten|String|不是必填项,此参数可以在拨号前修改坐席当前使用的分机。+|agentexten|String|optional, if you put this, system will bind the exten to agent before dial
-|callerid|String|不是必填项,主叫显示号码,送显号码,透传号码。+|callerid|String|optional, callerId number
-|callername|String|不是必填项,主叫显示名称,送显名称,透传名称。+|callername|String|optional, callerId name
-|trunkidentity|String|不是必填项,中继标识,选择此中继线路进行呼出。+|trunkidentity|String|optional, server will use this trunk to dial if you put trunk identity string
-|cidtype|String|不是必填项(0/1/2),0使用api传来的callerid;1使用中继的callerid;2使用分机设置的callerid;​|+|cidtype|String|optional, ​means use callerId above, ​means use trunk callerId, ​means use device callerId|
  
   *Return Format:   *Return Format:
-<​code>​|Return|code|Return|message</​code>​+<​code>​|Retuen|code|Retuen|message</​code>​
  
   *Type of the Return Value: String   *Type of the Return Value: String
Line 34: Line 34:
  
 ^ Value ^ Description ^ ^ Value ^ Description ^
-|<​code>​|Return|1|Return|message</​code>​|<​code>​Succeeded||Messages</​code>​| +|<​code>​|Retuen|1|Retuen|message</​code>​|<​code>​Succeeded||Messages</​code>​| 
-|<​code>​|Return|2|Return|message</​code>​|<​code>​Failed||Messages</​code>​|+|<​code>​|Retuen|2|Retuen|message</​code>​|<​code>​Failed||Messages</​code>​|
en/custom_development_guide/apis/webservice/call.txt · Last modified: 2019/01/03 06:01 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki