## 1. 呼叫AI机器人
IP: 139.9.180.153
port: 60080
鸿会催收被叫号码: 7510005
caller_id_number: 主叫号码字段,填写号码或者号码加密之后的串
SIP Headers:
| 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:
| name | type | description |
| :--- | :--- | :---------- |
| gender | String | 先生/女士 |
| lastname | String | 姓 |
| callbackUrl | String | 结果通知回调地址 |
## 2. 结果通知回调接口
Url: 由sip接口头中 sip_h_X-custom-pkg-data.callbackUrl 提供
Method: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
RequestBody:
| name | type | description |
| :--- | :--- | :---------- |
| outSessionId | String | 请求唯一编号, 透传 sip 头 sip_h_X-custom-session-id 字段 |
| tags | String | 客户标签,多个标签使用英文逗号分隔 |
| custIntention | int | 0:无意向客户; 1:有意向客户 |
ResponseHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
ResponseBody:
| name | type | description |
| :--- | :--- | :---------- |
| code | int | 处理结果 0:成功; 1:失败 |
| message | String | 错误信息 |