{
  "id": "64359648-0544-477d-9ed2-c4e3452fd0bf",
  "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
  "number": "+381114128619",
  "direction": "inbound",
  "room": "phone-_4128619_njREEGKsqQRt",
  "status": "ended",
  "sipCallId": "SCL_uBdawo7PAXNM",
  "sipStatus": "active",
  "createdAt": "2026-10-04T19:21:21.813Z",
  "updatedAt": "2026-10-04T19:21:23.975Z",
  "answeredAt": "2026-10-04T19:21:23.204Z",
  "endedAt": "2026-10-04T19:21:23.973Z",
  "endedReason": "Agent execution failed",
  "dialog": {
    "id": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
    "createdAt": "2026-10-04T19:21:21.813Z",
    "initialState": {
      "id": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
      "turns": [],
      "inputs": {
        "pair": "3",
        "role": "receiver",
        "loadTestRunId": "9ca2eb85-3d23-4a4d-a81d-b4d163a4045c"
      },
      "status": "created",
      "version": 2,
      "collected": {},
      "agentState": null,
      "participants": [
        {
          "id": "callee",
          "kind": "human",
          "name": "+381114128619",
          "status": "disconnected"
        },
        {
          "id": "agent",
          "kind": "agent",
          "name": "Load test 3 receiver",
          "status": "disconnected",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": false
            }
          },
          "template": {
            "id": "agent:Load test 3 receiver",
            "name": "Load test 3 receiver",
            "audios": {
              "greeting": {
                "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
                "format": "pcm_s16le",
                "sha256": "50455c68fc955460bbedef14d4d96c2629312c974b9d8040d9a341d0f9639a75",
                "channels": 1,
                "byteLength": 218880,
                "durationMs": 4560,
                "sampleRate": 24000
              }
            },
            "prompts": {
              "system": "Govori srpski, prirodno i kratko. Sačekaj sagovornika da završi misao."
            },
            "latencyCovers": []
          },
          "definition": {
            "kind": "code",
            "options": {},
            "voicePack": {
              "id": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "label": "SIP load test",
              "model": "eleven_v3",
              "voiceId": "oICC5xEEbDGIZC1LVOOM",
              "language": "sr",
              "provider": "elevenlabs"
            },
            "configuration": {
              "name": "Load test 3 receiver",
              "timing": {
                "softMs": 350,
                "openingMs": 1800,
                "committedMs": 1100
              },
              "behavior": {
                "turns": "submissive",
                "greeting": {
                  "initiative": "assertive",
                  "interruptible": false
                }
              },
              "providers": {
                "ttv": "elevenlabs",
                "vtt": "soniox",
                "reply": "openai"
              },
              "voicePackId": "elevenlabs:oICC5xEEbDGIZC1LVOOM",
              "systemPrompt": "Govori srpski, prirodno i kratko. Sačekaj sagovornika da završi misao."
            },
            "implementation": {
              "key": "load-test",
              "version": "1"
            }
          }
        }
      ],
      "currentSpeakerId": null,
      "awaitingParticipantId": null
    },
    "lastSequence": 19,
    "historyStartedAt": "2026-10-04T19:21:21.813Z",
    "events": [
      {
        "id": "cf4c89aa-45cb-49ef-a2d2-e9b6001435cb",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:21.657Z",
        "recordedAt": "2026-10-04T19:21:21.813Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "phone-_4128619_njREEGKsqQRt",
          "type": "call.created",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "number": "+381114128619",
          "direction": "inbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "0b2cc40a-6daf-41bd-92ec-3d041772b02f",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:21.657Z",
        "recordedAt": "2026-10-04T19:21:21.813Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "cf8c1f54-ff57-4d67-8775-212032c45d60",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:21.657Z",
        "recordedAt": "2026-10-04T19:21:21.813Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3aa877de-9962-4c13-9a08-e3b505ef7cd8",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:21.849Z",
        "recordedAt": "2026-10-04T19:21:21.869Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8cddab93-5a30-48df-b7b4-1bce4edd24e5",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:21.849Z",
        "recordedAt": "2026-10-04T19:21:21.876Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "sipCallId": "SCL_uBdawo7PAXNM",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "7d1fa010-08ac-434e-8059-fb24a8050fdf",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.204Z",
        "recordedAt": "2026-10-04T19:21:23.213Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "sipCallId": "SCL_uBdawo7PAXNM",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "1f8b2317-051c-4a8c-a5f8-16f243d3e302",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.204Z",
        "recordedAt": "2026-10-04T19:21:23.217Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8ecb6c0b-c8c3-4b9b-a7a5-c5151c9d6eb1",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 8,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.221Z",
        "recordedAt": "2026-10-04T19:21:23.235Z",
        "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "32628d72-2c61-4f41-a9ec-a1d101536217",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 9,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.238Z",
        "recordedAt": "2026-10-04T19:21:23.253Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": false
            }
          },
          "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "98c4e4a2-6e0b-4ca4-8913-22bff42bca85",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 10,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.258Z",
        "recordedAt": "2026-10-04T19:21:23.271Z",
        "operationId": null,
        "turnId": "6a58d56e-a1f6-413a-8ba3-93e624524215",
        "participantId": "agent",
        "payload": {
          "kind": "greeting",
          "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
          "type": "dialog.turn.started",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "turnId": "6a58d56e-a1f6-413a-8ba3-93e624524215",
          "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3f8c0758-291a-4481-a527-4f624416951f",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 11,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.277Z",
        "recordedAt": "2026-10-04T19:21:23.288Z",
        "operationId": "c340c73c-1209-4f37-8b59-6db8172e2518",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.started",
          "audio": {
            "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
            "format": "pcm_s16le",
            "sha256": "50455c68fc955460bbedef14d4d96c2629312c974b9d8040d9a341d0f9639a75",
            "channels": 1,
            "byteLength": 218880,
            "durationMs": 4560,
            "sampleRate": 24000
          },
          "sessionId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "operationId": "c340c73c-1209-4f37-8b59-6db8172e2518",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f0491ec5-2a28-4c0a-92d6-f611b4e371c5",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 12,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.570Z",
        "recordedAt": "2026-10-04T19:21:23.585Z",
        "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 633.876201,
          "type": "silence.soft",
          "sessionId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "silenceId": "84032b12-3818-46c2-842f-df517f261220",
          "durationMs": 352,
          "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ba8a3790-b9c3-4139-81c7-16fa653a6fab",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 13,
        "layer": "L1",
        "type": "audio.playback.failed",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.835Z",
        "recordedAt": "2026-10-04T19:21:23.857Z",
        "operationId": "c340c73c-1209-4f37-8b59-6db8172e2518",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.failed",
          "message": "Caller audio track ended.",
          "sessionId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "operationId": "c340c73c-1209-4f37-8b59-6db8172e2518",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "f163e326-9093-47ae-b6aa-0275da8fbcb8",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 14,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.911Z",
        "recordedAt": "2026-10-04T19:21:23.920Z",
        "operationId": "c340c73c-1209-4f37-8b59-6db8172e2518",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "eb0e98d0-89f9-459a-8f34-5f14b8cf6299",
              "key": "recordings/64359648-0544-477d-9ed2-c4e3452fd0bf/audio/agent/eb0e98d0-89f9-459a-8f34-5f14b8cf6299.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "4b06fc026d6923901c56cd52de3a45ee3901e487415b250a75c87fe66550fd4e"
            },
            "format": "pcm_s16le",
            "sha256": "a080c177276c073992614dcd5ab02c209d67dbf15a7e0474120228175e6701c9",
            "channels": 1,
            "byteLength": 26188,
            "durationMs": 545.5833333333333,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "startedAt": "2026-10-04T19:21:23.291Z",
          "operationId": "c340c73c-1209-4f37-8b59-6db8172e2518",
          "participantId": "agent"
        },
        "audioId": "eb0e98d0-89f9-459a-8f34-5f14b8cf6299",
        "audio": {
          "id": "eb0e98d0-89f9-459a-8f34-5f14b8cf6299",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "a080c177276c073992614dcd5ab02c209d67dbf15a7e0474120228175e6701c9",
          "byteLength": 26188,
          "durationMs": 545.5833333333333,
          "bucket": "livekit-node-stage",
          "key": "recordings/64359648-0544-477d-9ed2-c4e3452fd0bf/audio/agent/eb0e98d0-89f9-459a-8f34-5f14b8cf6299.wav",
          "objectSha256": "4b06fc026d6923901c56cd52de3a45ee3901e487415b250a75c87fe66550fd4e",
          "objectByteLength": 26232,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T19:21:23.860Z"
        }
      },
      {
        "id": "e1cb7fa4-9401-4eea-a39a-7d4785966a61",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 15,
        "layer": "L1",
        "type": "vtt.failed",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.935Z",
        "recordedAt": "2026-10-04T19:21:23.939Z",
        "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.failed",
          "message": "No audio received.",
          "sessionId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3187cb65-2c9f-4811-ab7b-5e6fefd9da26",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 16,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.957Z",
        "recordedAt": "2026-10-04T19:21:23.963Z",
        "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "5385f362-ce8e-45e9-9e38-3a3bb66bb29a",
              "key": "recordings/64359648-0544-477d-9ed2-c4e3452fd0bf/audio/caller/5385f362-ce8e-45e9-9e38-3a3bb66bb29a.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "42d7582ead844bd115096351b8be8d47b8da0fabf09a45400e0168fd3d25d10f"
            },
            "format": "pcm_s16le",
            "sha256": "868e1aa09a2cbb17e646343dee4f8c333cd20d1f41a1d18300ec48b2be80cc81",
            "channels": 1,
            "byteLength": 28800,
            "durationMs": 600,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
          "startedAt": "2026-10-04T19:21:23.217Z",
          "operationId": "fb357855-11ee-478b-b19d-f41fc730ffab",
          "participantId": "callee"
        },
        "audioId": "5385f362-ce8e-45e9-9e38-3a3bb66bb29a",
        "audio": {
          "id": "5385f362-ce8e-45e9-9e38-3a3bb66bb29a",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "868e1aa09a2cbb17e646343dee4f8c333cd20d1f41a1d18300ec48b2be80cc81",
          "byteLength": 28800,
          "durationMs": 600,
          "bucket": "livekit-node-stage",
          "key": "recordings/64359648-0544-477d-9ed2-c4e3452fd0bf/audio/caller/5385f362-ce8e-45e9-9e38-3a3bb66bb29a.wav",
          "objectSha256": "42d7582ead844bd115096351b8be8d47b8da0fabf09a45400e0168fd3d25d10f",
          "objectByteLength": 28844,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T19:21:23.942Z"
        }
      },
      {
        "id": "4cb533e3-fe1c-4700-a2c9-350c20f3d48f",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 17,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.973Z",
        "recordedAt": "2026-10-04T19:21:23.979Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "reason": "Agent execution failed",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8148405b-4841-4911-b52c-9736415477d5",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 18,
        "layer": "CALL",
        "type": "call.ended",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.973Z",
        "recordedAt": "2026-10-04T19:21:23.982Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.ended",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "reason": "Agent execution failed"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "11c59cb5-a29b-422e-a439-b9dff90fd7cf",
        "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718",
        "sequence": 19,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.973Z",
        "recordedAt": "2026-10-04T19:21:23.984Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "64359648-0544-477d-9ed2-c4e3452fd0bf",
          "reason": "Agent execution failed",
          "dialogId": "a95fdaa1-36c5-46d3-8351-a49dab9a5718"
        },
        "audioId": null,
        "audio": null
      }
    ]
  }
}