(30040) Call End AI Summary Notification

When an AI-generated call summary is available after a call ends, the PBX sends an event report to the third-party application.

Report parameters

Parameter Type Description
type Integer Event ID.
sn String PBX's serial number.
msg Object <Detailed_Info> The detailed information.
Detailed_Info
Parameter Type Description
uid String The unique ID of the call.
call_id String The ID of the call record of the call leg.
call_from String The caller number.
call_to String The callee number.
call_type String The call type.
  • Internal: Internal call.
  • Inbound: Inbound call.
  • Outbound: Outbound call.
status String The call status.
  • ANSWERED: The callee answered the call.
  • NO ANSWER: The callee did not answer the call.
  • BUSY: The callee was busy.
  • FAILED: The call failed.
time_start String The start time of the call leg.
talk_duration Integer The time between the call answered and the call ended.
ext_num String The extension number to which the summary belongs.
aireceptionist String The number of the AI receptionist.
summary String The AI-generated summary in HTML format.

Report example

{
    "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": ""
    }
}