(30040) AI 通话总结通知
通话结束后,PBX 会在 AI 通话总结生成后,向第三方应用发送事件报告。
报告参数
| 参数 | 类型 | 说明 |
|---|---|---|
| type | Integer | 事件 ID。 |
| sn | String | PBX 序列号 (SN 码)。 |
| msg | Object <Detailed_Info> | 详细信息。 |
- Detailed_Info
-
参数 类型 说明 uid String 通话的唯一 ID。 call_id String 通话阶段对应的通话记录的唯一 ID。 call_from String 主叫号码。 call_to String 被叫号码 call_type String 通话类型。 Internal:内部Inbound:呼入Outbound:呼出
status String 通话状态。ANSWERED:已接NO ANSWER:未接BUSY:忙FAILED:失败
time_start String 通话阶段的开始时间。 talk_duration Integer 通话被应答到通话结束的时间。 ext_num String 通话总结所属的分机号码。 aireceptionist String AI 接待员的号码。 summary String AI 生成的总结内容,格式为 HTML。
报告示例
{
"type": 30040,
"sn": "3658B4311196M4ZK",
"msg": {
"uid": "2026101615253894475",
"call_id": "20261016152541-F8890",
"ext_num": "1003",
"summary": "<p>Call Summary</p>\n<ul>\n<li>The call involved Front desk and Daniel Kim.</li>\n<li>The conversation was brief and contained minimal information.</li>\n<li>No clear purpose or outcome was established during the call.</li>\n</ul>\n<p>Key Points</p>\n<ul>\n<li>Front desk and Daniel Kim exchanged short responses.</li>\n<li>There was no detailed discussion or specific information shared.</li>\n</ul>\n<p>Follow-up Actions</p>\n<ul>\n\n</ul>\n",
"call_type": "Internal",
"call_from": "1010",
"call_to": "1003",
"time_start": "2026/10/16 15:25:38",
"talk_duration": 162,
"status": "ANSWERED",
"aireceptionist": ""
}
}