This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:custom_development_guide:apis:http:callback [2016/09/12 07:40] – created liuxl | en:custom_development_guide:apis:http:callback [2018/12/29 07:05] (current) – donnie | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== callback ====== | ====== callback ====== | ||
| - | * Function: | + | * Reques String: |
| - | < | + | < |
| * Description: | * Description: | ||
| Call caller first, if answered, system call callee | Call caller first, if answered, system call callee | ||
| Line 8: | Line 8: | ||
| ^ Params | ^ Params | ||
| + | |EVENT|String|BackCall| | ||
| |orgidentity|String|team identity string| | |orgidentity|String|team identity string| | ||
| - | |user|String|username| | ||
| - | |pwdtype|String|password type: plaintext/ | ||
| - | |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/ | ||
| |userdata|String|userdata in CDR| | |userdata|String|userdata in CDR| | ||
| - | |callbackFuc|String|callback function| | ||
| - | |||
| * Return Format: | * Return Format: | ||
| < | < | ||
| - | {code: | + | |Retuen|code|Retuen|message |
| </ | </ | ||
| - | * Type of the Return Value: | + | * Type of the Return Value: |
| * Return values: | * Return values: | ||
| ^ Value ^ Description | ^ Value ^ Description | ||
| - | |< | + | |< |
| - | |< | + | |< |