{
  "id": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
  "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
  "number": "+381603022591",
  "direction": "inbound",
  "room": "phone-_+381603022591_oTNHZj9DuMSE",
  "status": "failed",
  "sipCallId": "SCL_e9aRvZ8YJyAG",
  "sipStatus": "active",
  "createdAt": "2026-10-08T15:27:11.981Z",
  "updatedAt": "2026-10-08T15:27:19.979Z",
  "answeredAt": "2026-10-08T15:27:13.418Z",
  "endedAt": "2026-10-08T15:27:19.977Z",
  "endedReason": "Agent execution failed",
  "dialog": {
    "id": "53de8638-73e9-46d1-945a-580af03b80a4",
    "createdAt": "2026-10-08T15:27:11.981Z",
    "initialState": {
      "id": "53de8638-73e9-46d1-945a-580af03b80a4",
      "turns": [],
      "inputs": {},
      "status": "created",
      "version": 2,
      "collected": {},
      "agentState": null,
      "participants": [
        {
          "id": "callee",
          "kind": "human",
          "name": "+381603022591",
          "status": "disconnected"
        },
        {
          "id": "agent",
          "kind": "agent",
          "name": "Aki",
          "status": "disconnected",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": true
            }
          },
          "template": {
            "id": "agent:Aki",
            "name": "Aki",
            "audios": {
              "filler": {
                "text": "Trenutak, molim.",
                "format": "pcm_s16le",
                "sha256": "e51d232b40ce2167937b32b5d88b7b2d784fe31e46a95c39f52ee670a6b4c5c7",
                "channels": 1,
                "byteLength": 66720,
                "durationMs": 1390,
                "sampleRate": 24000
              },
              "greeting": {
                "text": "Dobar dan, dobro došli u aik banku. Ja sam Aki, virtuelna savetnica za proveru stanja na kreditnoj kartici. Kako mogu da Vam pomognem?",
                "format": "pcm_s16le",
                "sha256": "99bfa25bb5c697a32d26a8dc4f00e1397d5249c134f4a935262ec81e2b9c13ac",
                "channels": 1,
                "byteLength": 426240,
                "durationMs": 8880,
                "sampleRate": 24000
              }
            },
            "prompts": {
              "system": "aik banka. Provera raspoloživog stanja na kreditnoj kartici."
            },
            "latencyCovers": [
              {
                "audioId": "filler",
                "delayMs": 1250
              }
            ]
          },
          "definition": {
            "kind": "code",
            "options": {
              "latencyFiller": true,
              "speechProfile": {
                "speed": 1,
                "stability": 0.8,
                "similarityBoost": 0.8
              },
              "expectedReplyPool": true
            },
            "voicePack": {
              "id": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "label": "Aki",
              "model": "eleven_v4_turbo",
              "voiceId": "oICC5xEEbDGIZC1LVOOM",
              "language": "sr",
              "provider": "elevenlabs"
            },
            "configuration": {
              "name": "Aki",
              "timing": {
                "softMs": 250,
                "openingMs": 1200,
                "committedMs": 850
              },
              "behavior": {
                "turns": "submissive",
                "greeting": {
                  "initiative": "assertive",
                  "interruptible": true
                }
              },
              "providers": {
                "ttv": "elevenlabs",
                "vtt": "soniox",
                "reply": "openai"
              },
              "voicePackId": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "systemPrompt": "aik banka. Provera raspoloživog stanja na kreditnoj kartici."
            },
            "implementation": {
              "key": "aki",
              "version": "1"
            }
          }
        }
      ],
      "currentSpeakerId": null,
      "awaitingParticipantId": null
    },
    "lastSequence": 48,
    "historyStartedAt": "2026-10-08T15:27:11.981Z",
    "events": [
      {
        "id": "105d5826-a040-4c14-95c8-7279e0ddc937",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:11.957Z",
        "recordedAt": "2026-10-08T15:27:11.981Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "phone-_+381603022591_oTNHZj9DuMSE",
          "type": "call.created",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "number": "+381603022591",
          "direction": "inbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "1cee801d-4682-477d-aabd-22b36fda3aad",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:11.957Z",
        "recordedAt": "2026-10-08T15:27:11.981Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8872596c-93ce-4f42-b2a0-107f491ae530",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:11.957Z",
        "recordedAt": "2026-10-08T15:27:11.981Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "7458fb2a-67bf-4eb5-9813-7b509e4f973b",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:12.015Z",
        "recordedAt": "2026-10-08T15:27:12.027Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c8029e67-302c-4aa0-8fe8-c0db5817aacb",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:12.015Z",
        "recordedAt": "2026-10-08T15:27:12.033Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "sipCallId": "SCL_e9aRvZ8YJyAG",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8f78605a-b9af-4760-9c8a-e343d1cb84b8",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.418Z",
        "recordedAt": "2026-10-08T15:27:13.424Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "sipCallId": "SCL_e9aRvZ8YJyAG",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f05cdc3c-1cfb-44b3-a01c-a9f92a9ddbbf",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.418Z",
        "recordedAt": "2026-10-08T15:27:13.428Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "b4374577-b101-44a4-bf4f-93ddf709c4d7",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 8,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.433Z",
        "recordedAt": "2026-10-08T15:27:13.452Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "363a4a85-2d39-4202-9e98-7cbd24021596",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 9,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.462Z",
        "recordedAt": "2026-10-08T15:27:13.471Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": true
            }
          },
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "5b8124c9-4604-40eb-8808-dfa47faa5339",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 10,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.474Z",
        "recordedAt": "2026-10-08T15:27:13.484Z",
        "operationId": null,
        "turnId": "382678ee-374f-4530-8559-db9ccb9988dc",
        "participantId": "agent",
        "payload": {
          "kind": "greeting",
          "text": "Dobar dan, dobro došli u aik banku. Ja sam Aki, virtuelna savetnica za proveru stanja na kreditnoj kartici. Kako mogu da Vam pomognem?",
          "type": "dialog.turn.started",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "turnId": "382678ee-374f-4530-8559-db9ccb9988dc",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "281d67eb-bb31-4be2-b684-32032a09baaf",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 11,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.489Z",
        "recordedAt": "2026-10-08T15:27:13.493Z",
        "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.started",
          "audio": {
            "text": "Dobar dan, dobro došli u aik banku. Ja sam Aki, virtuelna savetnica za proveru stanja na kreditnoj kartici. Kako mogu da Vam pomognem?",
            "format": "pcm_s16le",
            "sha256": "99bfa25bb5c697a32d26a8dc4f00e1397d5249c134f4a935262ec81e2b9c13ac",
            "channels": 1,
            "byteLength": 426240,
            "durationMs": 8880,
            "sampleRate": 24000
          },
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "5fafc896-0680-4ae7-b647-5c33b6ed6540",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 12,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.497Z",
        "recordedAt": "2026-10-08T15:27:13.508Z",
        "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
          "firstFrameAt": "2026-10-08T15:27:13.495Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f645c21e-3a87-4be9-b231-44918af499dd",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 13,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:13.697Z",
        "recordedAt": "2026-10-08T15:27:13.708Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 552.1536969999997,
          "type": "silence.soft",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "silenceId": "d93a1ac5-ad09-4f4f-aebd-a7746ab77a24",
          "durationMs": 256,
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "dcc96ea2-bc01-41a9-86c9-40a8e628adcc",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 14,
        "layer": "L1",
        "type": "silence.committed",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.305Z",
        "recordedAt": "2026-10-08T15:27:14.325Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1160.1536969999997,
          "type": "silence.committed",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "silenceId": "d93a1ac5-ad09-4f4f-aebd-a7746ab77a24",
          "durationMs": 864,
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "fabc65cf-b8e3-4948-9f4f-fbf0423c6d60",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 15,
        "layer": "L1",
        "type": "speech.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.401Z",
        "recordedAt": "2026-10-08T15:27:14.487Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1256.1536969999997,
          "type": "speech.started",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ff08efac-a666-4cb4-9370-6f94cf8080b4",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 16,
        "layer": "DIALOG",
        "type": "dialog.interrupted",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.480Z",
        "recordedAt": "2026-10-08T15:27:14.495Z",
        "operationId": null,
        "turnId": "382678ee-374f-4530-8559-db9ccb9988dc",
        "participantId": "callee",
        "payload": {
          "type": "dialog.interrupted",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "turnId": "382678ee-374f-4530-8559-db9ccb9988dc",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "byParticipantId": "callee",
          "interruptedParticipantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "b66cd7c4-0d6c-4eb4-8b95-122149e9696a",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 17,
        "layer": "L1",
        "type": "audio.playback.cancelled",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.487Z",
        "recordedAt": "2026-10-08T15:27:14.502Z",
        "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.cancelled",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "5657b063-cf8f-45e4-8daa-6b5b0f14c11e",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 18,
        "layer": "DIALOG",
        "type": "dialog.goal.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.506Z",
        "recordedAt": "2026-10-08T15:27:14.514Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "name": "Credit card balance",
          "type": "dialog.goal.started",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "goalId": "aki.balance",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "goalIndex": 0
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8ce69dc0-52ce-4790-a902-4a7dfb658cf4",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 19,
        "layer": "DIALOG",
        "type": "dialog.agent.state",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.516Z",
        "recordedAt": "2026-10-08T15:27:14.522Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.agent.state",
          "state": {
            "phase": "opening",
            "fragments": [],
            "jmbgAttempts": 0,
            "lastQuestion": "help",
            "nameAttempts": 0,
            "offerDelivered": false,
            "clarifyAttempts": 0,
            "serviceFailures": 0,
            "mismatchAttempts": 0,
            "greetingInterrupted": true
          },
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "implementation": "aki@1"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "bc3cc548-5cd1-477c-87f2-2ada7779581c",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 20,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.521Z",
        "recordedAt": "2026-10-08T15:27:14.533Z",
        "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "46b4d6db-52f9-46ee-8769-48886932cd9f",
              "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/agent/46b4d6db-52f9-46ee-8769-48886932cd9f.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "ee871ffbec06a397b70e1d3475d767334077512a1a42b4804222f661bad01a2b"
            },
            "format": "pcm_s16le",
            "sha256": "54bdff2b9ee7443a589294e5a9bd87de3ac449ec1aec610a1b8a6075d3526f08",
            "channels": 1,
            "byteLength": 47188,
            "durationMs": 983.0833333333333,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:13.495Z",
          "operationId": "6634c083-b89c-47a7-a9b9-0a3e0275e762",
          "participantId": "agent"
        },
        "audioId": "46b4d6db-52f9-46ee-8769-48886932cd9f",
        "audio": {
          "id": "46b4d6db-52f9-46ee-8769-48886932cd9f",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "54bdff2b9ee7443a589294e5a9bd87de3ac449ec1aec610a1b8a6075d3526f08",
          "byteLength": 47188,
          "durationMs": 983.0833333333333,
          "bucket": "livekit-node-stage",
          "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/agent/46b4d6db-52f9-46ee-8769-48886932cd9f.wav",
          "objectSha256": "ee871ffbec06a397b70e1d3475d767334077512a1a42b4804222f661bad01a2b",
          "objectByteLength": 47232,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-08T15:27:14.505Z"
        }
      },
      {
        "id": "baa4740b-cb86-4830-99ad-f65c43b36d92",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 21,
        "layer": "L1",
        "type": "speech.stopped",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:14.753Z",
        "recordedAt": "2026-10-08T15:27:14.864Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1608.1536969999997,
          "type": "speech.stopped",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "silenceId": "f9d89863-796f-458a-9b22-5cc070f11c0b",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "d0cc871a-1f4e-4b26-9961-7dffc1ebe867",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 22,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:15.009Z",
        "recordedAt": "2026-10-08T15:27:15.024Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1864.1536969999997,
          "type": "silence.soft",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "silenceId": "f9d89863-796f-458a-9b22-5cc070f11c0b",
          "durationMs": 256,
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "0719744e-35eb-4989-a7c5-3e7e6fe57fe5",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 23,
        "layer": "L1",
        "type": "vtt.transcript.delta",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:15.154Z",
        "recordedAt": "2026-10-08T15:27:15.160Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": "2264b33a-e8a1-4250-9dd7-25b2ce40d5e2",
        "participantId": "callee",
        "payload": {
          "text": "Dobar dan.",
          "type": "vtt.transcript.delta",
          "turnId": "2264b33a-e8a1-4250-9dd7-25b2ce40d5e2",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f095579b-67da-4843-8eb6-4420ab13ba6f",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 24,
        "layer": "L1",
        "type": "vtt.transcript.completed",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:15.163Z",
        "recordedAt": "2026-10-08T15:27:15.167Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": "2264b33a-e8a1-4250-9dd7-25b2ce40d5e2",
        "participantId": "callee",
        "payload": {
          "text": "Dobar dan.",
          "type": "vtt.transcript.completed",
          "turnId": "2264b33a-e8a1-4250-9dd7-25b2ce40d5e2",
          "endedAt": "2026-10-08T15:27:14.753Z",
          "segmentId": "ecb4d77b-fa7d-4ae4-a49a-683fc7a1695d",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:14.401Z",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c47715c7-658a-47cc-9db6-4d152a16de59",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 25,
        "layer": "DIALOG",
        "type": "dialog.response.preparing",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:15.170Z",
        "recordedAt": "2026-10-08T15:27:15.175Z",
        "operationId": null,
        "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
        "participantId": null,
        "payload": {
          "text": "Dobar dan.",
          "type": "dialog.response.preparing",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "segmentIds": [
            "ecb4d77b-fa7d-4ae4-a49a-683fc7a1695d"
          ]
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "b73ca959-c3cf-4d7a-b72a-344faa43107a",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 26,
        "layer": "L1",
        "type": "regression.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:15.180Z",
        "recordedAt": "2026-10-08T15:27:15.185Z",
        "operationId": "dded5f1a-2412-49c8-8206-9578098ff80e",
        "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
        "participantId": "agent",
        "payload": {
          "type": "regression.started",
          "goalId": "aki.balance",
          "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
          "purpose": "goal_regression",
          "provider": "openai",
          "goalIndex": 0,
          "iteration": 1,
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "dded5f1a-2412-49c8-8206-9578098ff80e",
          "retryAllowed": true,
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c94d2c3a-19ad-45ae-87ae-4a6db1adec20",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 27,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:15.455Z",
        "recordedAt": "2026-10-08T15:27:15.462Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "c968f606-4554-47d5-8794-fc7c5d21c746",
              "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/c968f606-4554-47d5-8794-fc7c5d21c746.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "31b613b5f5b898545fb69408360846d612dfcbf2556578ebcd8959e8e455f3b2"
            },
            "format": "pcm_s16le",
            "sha256": "cf5a487ff54911a646078fc9dbfc4bc234429578d75133f6fe6f6a82f4b19b00",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:13.441Z",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": "c968f606-4554-47d5-8794-fc7c5d21c746",
        "audio": {
          "id": "c968f606-4554-47d5-8794-fc7c5d21c746",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "cf5a487ff54911a646078fc9dbfc4bc234429578d75133f6fe6f6a82f4b19b00",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/c968f606-4554-47d5-8794-fc7c5d21c746.wav",
          "objectSha256": "31b613b5f5b898545fb69408360846d612dfcbf2556578ebcd8959e8e455f3b2",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-08T15:27:15.438Z"
        }
      },
      {
        "id": "35701818-4665-43e9-b04f-d863b87ba9ab",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 28,
        "layer": "L1",
        "type": "silence.committed",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:15.617Z",
        "recordedAt": "2026-10-08T15:27:15.624Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 2472.1536969999997,
          "type": "silence.committed",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "silenceId": "f9d89863-796f-458a-9b22-5cc070f11c0b",
          "durationMs": 864,
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "1414f538-6b16-448d-852b-3ff015fc6001",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 29,
        "layer": "L1",
        "type": "regression.finished",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:16.323Z",
        "recordedAt": "2026-10-08T15:27:16.328Z",
        "operationId": "dded5f1a-2412-49c8-8206-9578098ff80e",
        "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
        "participantId": "agent",
        "payload": {
          "type": "regression.finished",
          "goalId": "aki.balance",
          "reason": "small_talk",
          "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
          "values": [],
          "purpose": "goal_regression",
          "nextTurn": null,
          "provider": "openai",
          "completed": false,
          "elapsedMs": 1142.8053340000006,
          "goalIndex": 0,
          "iteration": 1,
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "dded5f1a-2412-49c8-8206-9578098ff80e",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "44f5ae37-5804-4eeb-9998-01e676223634",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 30,
        "layer": "DIALOG",
        "type": "dialog.response.ready",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:16.352Z",
        "recordedAt": "2026-10-08T15:27:16.356Z",
        "operationId": null,
        "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
        "participantId": null,
        "payload": {
          "text": "Tu sam da Vam pomognem. Kako mogu da Vam pomognem?",
          "type": "dialog.response.ready",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "segmentIds": [
            "ecb4d77b-fa7d-4ae4-a49a-683fc7a1695d"
          ]
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "6f7d9e7d-dd77-43e5-99ba-b49de9424406",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 31,
        "layer": "DIALOG",
        "type": "dialog.answer_received",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:16.361Z",
        "recordedAt": "2026-10-08T15:27:16.364Z",
        "operationId": null,
        "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
        "participantId": "callee",
        "payload": {
          "text": "Dobar dan.",
          "type": "dialog.answer_received",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "segmentIds": [
            "ecb4d77b-fa7d-4ae4-a49a-683fc7a1695d"
          ],
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "d1405593-d0bb-4cd5-8934-6743a430313d",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 32,
        "layer": "DIALOG",
        "type": "dialog.agent.state",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:16.367Z",
        "recordedAt": "2026-10-08T15:27:16.371Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.agent.state",
          "state": {
            "phase": "opening",
            "fragments": [],
            "lastTurnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
            "jmbgAttempts": 0,
            "lastQuestion": "help",
            "nameAttempts": 0,
            "offerDelivered": false,
            "clarifyAttempts": 0,
            "serviceFailures": 0,
            "mismatchAttempts": 0
          },
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "implementation": "aki@1"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "12e874a7-a13c-4037-a882-2eb3ef7a82f2",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 33,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:16.373Z",
        "recordedAt": "2026-10-08T15:27:16.376Z",
        "operationId": null,
        "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
        "participantId": "agent",
        "payload": {
          "kind": "response",
          "text": "Tu sam da Vam pomognem. Kako mogu da Vam pomognem?",
          "type": "dialog.turn.started",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "be48bf1c-6e7a-4b73-b51d-f6814548b15a",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 34,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:16.378Z",
        "recordedAt": "2026-10-08T15:27:16.382Z",
        "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.started",
          "audio": {
            "text": "Tu sam da Vam pomognem. Kako mogu da Vam pomognem?",
            "format": "pcm_s16le",
            "sha256": "5438986892ed3f3cf58f84119ef43a689cae0526c20a5ae3eb33a4013d5c7e26",
            "channels": 1,
            "byteLength": 138816,
            "durationMs": 2892,
            "sampleRate": 24000
          },
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c1aa9912-2ee0-4e41-a432-e211103d0950",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 35,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:16.384Z",
        "recordedAt": "2026-10-08T15:27:16.389Z",
        "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
          "firstFrameAt": "2026-10-08T15:27:16.383Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "b5472162-7579-42e7-9d4c-1197474f3a07",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 36,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:17.454Z",
        "recordedAt": "2026-10-08T15:27:17.464Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ad617a92-4206-44df-b66d-6079458348a1",
              "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/ad617a92-4206-44df-b66d-6079458348a1.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "1429ef6391a478e1914a112e52aaccf0e3885cf5620c591627fd641add7e4ca3"
            },
            "format": "pcm_s16le",
            "sha256": "20299b2a06220f1989dec5dd9fed392829760728366ee1733fd27b39b4a42391",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:15.441Z",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": "ad617a92-4206-44df-b66d-6079458348a1",
        "audio": {
          "id": "ad617a92-4206-44df-b66d-6079458348a1",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "20299b2a06220f1989dec5dd9fed392829760728366ee1733fd27b39b4a42391",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/ad617a92-4206-44df-b66d-6079458348a1.wav",
          "objectSha256": "1429ef6391a478e1914a112e52aaccf0e3885cf5620c591627fd641add7e4ca3",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-08T15:27:17.438Z"
        }
      },
      {
        "id": "15d54a5b-eb5f-426a-b17f-dbba8bfe5707",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 37,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:18.435Z",
        "recordedAt": "2026-10-08T15:27:18.443Z",
        "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "6f9c72e3-596c-47e0-baf4-bf8d74937d2b",
              "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/agent/6f9c72e3-596c-47e0-baf4-bf8d74937d2b.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "66ff8b6352882583ce5af9011bebdbe9f6097fe0fbce254b70c686a249588f5b"
            },
            "format": "pcm_s16le",
            "sha256": "beb3031668fb97d3861748cff07207df11b677674731e788c55d674a1601e2aa",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:16.383Z",
          "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
          "participantId": "agent"
        },
        "audioId": "6f9c72e3-596c-47e0-baf4-bf8d74937d2b",
        "audio": {
          "id": "6f9c72e3-596c-47e0-baf4-bf8d74937d2b",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "beb3031668fb97d3861748cff07207df11b677674731e788c55d674a1601e2aa",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/agent/6f9c72e3-596c-47e0-baf4-bf8d74937d2b.wav",
          "objectSha256": "66ff8b6352882583ce5af9011bebdbe9f6097fe0fbce254b70c686a249588f5b",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-08T15:27:18.418Z"
        }
      },
      {
        "id": "53853fd2-2445-4159-8d40-6a8c4f90f300",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 38,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.452Z",
        "recordedAt": "2026-10-08T15:27:19.460Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "0318b715-27b7-4e59-b5c8-043fd05e22fa",
              "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/0318b715-27b7-4e59-b5c8-043fd05e22fa.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "7a8b44645e1274fd7ba2970437eb72c62520e15d9103d6c85f1a2c9c96ed1431"
            },
            "format": "pcm_s16le",
            "sha256": "1616d28c54d70ba2a272b2692aa1267f07b183d689c0760be66c51f8c29841be",
            "channels": 1,
            "byteLength": 96000,
            "durationMs": 2000,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:17.441Z",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": "0318b715-27b7-4e59-b5c8-043fd05e22fa",
        "audio": {
          "id": "0318b715-27b7-4e59-b5c8-043fd05e22fa",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "1616d28c54d70ba2a272b2692aa1267f07b183d689c0760be66c51f8c29841be",
          "byteLength": 96000,
          "durationMs": 2000,
          "bucket": "livekit-node-stage",
          "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/0318b715-27b7-4e59-b5c8-043fd05e22fa.wav",
          "objectSha256": "7a8b44645e1274fd7ba2970437eb72c62520e15d9103d6c85f1a2c9c96ed1431",
          "objectByteLength": 96044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-08T15:27:19.438Z"
        }
      },
      {
        "id": "0cfc3588-ab2d-4b9c-a4ed-edffc2d01910",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 39,
        "layer": "L1",
        "type": "audio.playback.finished",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.585Z",
        "recordedAt": "2026-10-08T15:27:19.589Z",
        "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.finished",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "904f0fb7-6a6e-4531-9e74-f0699373a5f8",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 40,
        "layer": "DIALOG",
        "type": "dialog.turn.completed",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.595Z",
        "recordedAt": "2026-10-08T15:27:19.606Z",
        "operationId": null,
        "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
        "participantId": "agent",
        "payload": {
          "kind": "response",
          "text": "Tu sam da Vam pomognem. Kako mogu da Vam pomognem?",
          "type": "dialog.turn.completed",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "turnId": "05422abb-8ed4-4a99-80bc-fdf2d160385c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a8f09c15-def0-4a78-8e4a-961e8064fefe",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 41,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.610Z",
        "recordedAt": "2026-10-08T15:27:19.615Z",
        "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "bb0b72a7-a8c4-4c5e-ab18-006173eaed4c",
              "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/agent/bb0b72a7-a8c4-4c5e-ab18-006173eaed4c.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "49cf0ff4e1165313f5d744638109aa315abcd5d0e44a27b9ee65c2f187fa283e"
            },
            "format": "pcm_s16le",
            "sha256": "4a56d0a1bb2fa3f3adefb0fb0799308e8d9cd6068430bfdc8355dfcf0ccb2336",
            "channels": 1,
            "byteLength": 57600,
            "durationMs": 1200,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:18.383Z",
          "operationId": "ea4d4c81-7e3e-4d29-80a4-e45ca6f6d184",
          "participantId": "agent"
        },
        "audioId": "bb0b72a7-a8c4-4c5e-ab18-006173eaed4c",
        "audio": {
          "id": "bb0b72a7-a8c4-4c5e-ab18-006173eaed4c",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "4a56d0a1bb2fa3f3adefb0fb0799308e8d9cd6068430bfdc8355dfcf0ccb2336",
          "byteLength": 57600,
          "durationMs": 1200,
          "bucket": "livekit-node-stage",
          "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/agent/bb0b72a7-a8c4-4c5e-ab18-006173eaed4c.wav",
          "objectSha256": "49cf0ff4e1165313f5d744638109aa315abcd5d0e44a27b9ee65c2f187fa283e",
          "objectByteLength": 57644,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-08T15:27:19.594Z"
        }
      },
      {
        "id": "bb87bb53-0d73-4d7d-ab37-73488baa337c",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 42,
        "layer": "DIALOG",
        "type": "dialog.agent.state",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.610Z",
        "recordedAt": "2026-10-08T15:27:19.623Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.agent.state",
          "state": {
            "phase": "opening",
            "fragments": [],
            "lastPhrase": "help",
            "interrupted": false,
            "jmbgAttempts": 0,
            "lastQuestion": "help",
            "nameAttempts": 0,
            "offerDelivered": false,
            "clarifyAttempts": 0,
            "serviceFailures": 0,
            "mismatchAttempts": 0
          },
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "implementation": "aki@1"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "fd10139f-8f9d-40c1-a195-f2bd642b4f82",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 43,
        "layer": "L1",
        "type": "vtt.transcript.delta",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.934Z",
        "recordedAt": "2026-10-08T15:27:19.938Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": "ac6f2999-5b90-4e4f-9f25-6c6ec08cbca6",
        "participantId": "callee",
        "payload": {
          "text": " ",
          "type": "vtt.transcript.delta",
          "turnId": "ac6f2999-5b90-4e4f-9f25-6c6ec08cbca6",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "aba52d7d-f6db-44a7-8357-824e431aaf2a",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 44,
        "layer": "L1",
        "type": "vtt.finished",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.941Z",
        "recordedAt": "2026-10-08T15:27:19.945Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.finished",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f95c9ceb-d62d-4924-97f7-26c4f5cc05e6",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 45,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.963Z",
        "recordedAt": "2026-10-08T15:27:19.968Z",
        "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "a9b637a6-e9e6-49bb-af68-95d656caa3c4",
              "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/a9b637a6-e9e6-49bb-af68-95d656caa3c4.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "936cd339d8d1c0eb67e84c60e2aa3425916314d481de7c8da9243456b8a5137b"
            },
            "format": "pcm_s16le",
            "sha256": "8e0d53b93f245ba8cba3f86137faa90649413df618b6d1e63ff371decd554ad8",
            "channels": 1,
            "byteLength": 17280,
            "durationMs": 360,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "53de8638-73e9-46d1-945a-580af03b80a4",
          "startedAt": "2026-10-08T15:27:19.441Z",
          "operationId": "7df35900-7dee-4993-947a-b39d90be47c0",
          "participantId": "callee"
        },
        "audioId": "a9b637a6-e9e6-49bb-af68-95d656caa3c4",
        "audio": {
          "id": "a9b637a6-e9e6-49bb-af68-95d656caa3c4",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "8e0d53b93f245ba8cba3f86137faa90649413df618b6d1e63ff371decd554ad8",
          "byteLength": 17280,
          "durationMs": 360,
          "bucket": "livekit-node-stage",
          "key": "recordings/fdb76224-fbc0-481c-8497-3dc87853fe5c/audio/caller/a9b637a6-e9e6-49bb-af68-95d656caa3c4.wav",
          "objectSha256": "936cd339d8d1c0eb67e84c60e2aa3425916314d481de7c8da9243456b8a5137b",
          "objectByteLength": 17324,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-08T15:27:19.948Z"
        }
      },
      {
        "id": "d7421ec9-33d2-4225-a2f4-195170323a75",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 46,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.978Z",
        "recordedAt": "2026-10-08T15:27:19.983Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "reason": "Agent execution failed",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "6a9925e4-925d-43e3-abda-d2f242a15156",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 47,
        "layer": "CALL",
        "type": "call.failed",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.978Z",
        "recordedAt": "2026-10-08T15:27:19.985Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.failed",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "message": "Agent execution failed"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c4abc1d2-3fba-4d93-bcf1-4106b19cc128",
        "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4",
        "sequence": 48,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-08T15:27:19.978Z",
        "recordedAt": "2026-10-08T15:27:19.987Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "fdb76224-fbc0-481c-8497-3dc87853fe5c",
          "reason": "Agent execution failed",
          "dialogId": "53de8638-73e9-46d1-945a-580af03b80a4"
        },
        "audioId": null,
        "audio": null
      }
    ]
  }
}