Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:custom_development_guide:apis:webservice:callback [2017/12/12 03:05] – external edit 127.0.0.1en:custom_development_guide:apis:webservice:callback [2019/01/03 03:53] (current) donnie
Line 2: Line 2:
  
   * Function:   * Function:
-<code> backCallCJI(orgidentity, exten, targetdn, callerid, user, password, pwdtype, userdata,callbackFuc)</code>+<code> backCall (orgidentity, exten, targetdn, callerid, user, password, pwdtype, userdataorgidentityexten, targetdn, callerid)</code>
   * Description:   * Description:
 Call caller first, if answered, system call callee Call caller first, if answered, system call callee
Line 9: Line 9:
 ^ Params      ^ Type       ^ Description          ^ ^ Params      ^ Type       ^ Description          ^
 |orgidentity|String|team identity string| |orgidentity|String|team identity string|
-|user|String|username| 
-|pwdtype|String|password type: plaintext/md5| 
-|password|String|password| 
 |exten|String|caller number| |exten|String|caller number|
 |targetdn|String|callee number| |targetdn|String|callee number|
 |callerid|String|callerId number, trunk callerId will be used if not set| |callerid|String|callerId number, trunk callerId will be used if not set|
 +|user|String|username|
 +|password|String|password|
 +|pwdtype|String|password type: plaintext/md5|
 |userdata|String|userdata in CDR| |userdata|String|userdata in CDR|
-|callbackFuc|String|callback function| 
  
  
Line 22: Line 21:
  
 <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/webservice/callback.1513047940.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki