Commit f1189923 by 李进峰

update

parent bdb287a7
......@@ -3,23 +3,23 @@
IP: 139.9.180.153
端口: 60080
port: 60080
鸿会催收被叫号码: 7510005
caller_id_number: 主叫号码字段,填写号码或者号码加密之后的串
SIP头
SIP Header:
| 参数名称 | 类型 | 说明 |
| :------ | :--- | :--- |
| sip_h_X-custom-pkg-data | String | 其他额外信息数据,采用UrlEncode进行编码 |
| name | type | description |
| :--- | :--- | :---------- |
| sip_h_X-custom-session-id | String | 请求的唯一ID |
| sip_h_X-custom-pkg-data | String | 其他额外信息数据,采用UrlEncode进行编码 |
sip_h_X-custom-pkg-data 字段
sip_h_X-custom-pkg-data:
| 参数名称 | 类型 | 说明 |
| :------ | :--- | :--- |
| name | type | description |
| :--- | :--- | :---------- |
| gender | String | 先生/女士 |
| lastname | String | 姓 |
| callbackUrl | String | 结果通知回调地址 |
......@@ -27,7 +27,7 @@ sip_h_X-custom-pkg-data 字段
### 结果通知回调接口
Url: 由sip接口头中sip_h_X-custom-pkg-data.callbackUrl提供
Url: 由sip接口头中 sip_h_X-custom-pkg-data.callbackUrl 提供
Method: POST
......@@ -37,11 +37,11 @@ RequestHeaders:
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
RequestBody:
RequestBody(json):
| 参数名称 | 类型 | 说明 |
| :------ | :--- | :--- |
| outSessionId | String | 请求唯一编号, 透传 sip 头 custom-session-id 字段 |
| name | type | description |
| :--- | :--- | :---------- |
| outSessionId | String | 请求唯一编号, 透传 sip 头 sip_h_X-custom-session-id 字段 |
| tags | String | 客户标签,多个标签使用英文逗号分隔 |
ResponseHeaders:
......@@ -50,10 +50,10 @@ ResponseHeaders:
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
ResponseBody:
ResponseBody(json):
| 参数名称 | 类型 | 说明 |
| :------ | :--- | :--- |
| name | type | description |
| :--- | :--- | :---------- |
| code | int | 处理结果 0:成功; 1:失败 |
| message | String | 错误信息 |
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment