{
  "id": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
  "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
  "number": "+381114128615",
  "direction": "inbound",
  "room": "phone-_4128615_zyLFWahpsNRf",
  "status": "ended",
  "sipCallId": "SCL_2jNojefWGJ8f",
  "sipStatus": "active",
  "createdAt": "2026-10-04T21:05:43.296Z",
  "updatedAt": "2026-10-04T21:05:44.767Z",
  "answeredAt": "2026-10-04T21:05:44.021Z",
  "endedAt": "2026-10-04T21:05:44.765Z",
  "endedReason": "Agent execution failed",
  "dialog": {
    "id": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
    "createdAt": "2026-10-04T21:05:43.296Z",
    "initialState": {
      "id": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
      "turns": [],
      "inputs": {
        "pair": "5",
        "role": "receiver",
        "loadTestRunId": "43bbafab-07a2-4f6c-821c-3567d8c126be"
      },
      "status": "created",
      "version": 2,
      "collected": {},
      "agentState": null,
      "participants": [
        {
          "id": "callee",
          "kind": "human",
          "name": "+381114128615",
          "status": "disconnected"
        },
        {
          "id": "agent",
          "kind": "agent",
          "name": "Load test 5 receiver",
          "status": "disconnected",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": false
            }
          },
          "template": {
            "id": "agent:Load test 5 receiver",
            "name": "Load test 5 receiver",
            "audios": {
              "greeting": {
                "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
                "format": "pcm_s16le",
                "sha256": "ae7d55cf0d0ce11beaecdafeda5989325529a13acb10dd9dc68044e0b7c40bb8",
                "channels": 1,
                "byteLength": 238080,
                "durationMs": 4960,
                "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 5 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": 20,
    "historyStartedAt": "2026-10-04T21:05:43.296Z",
    "events": [
      {
        "id": "c0c29696-6f31-4c77-80bc-6360626138e1",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.058Z",
        "recordedAt": "2026-10-04T21:05:43.296Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "phone-_4128615_zyLFWahpsNRf",
          "type": "call.created",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "number": "+381114128615",
          "direction": "inbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "0d2c4b02-221f-437a-abca-b43483ab3103",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.058Z",
        "recordedAt": "2026-10-04T21:05:43.296Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8dfcb858-8c46-4a44-912d-a74cf7cc4d11",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.058Z",
        "recordedAt": "2026-10-04T21:05:43.296Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ec638811-4855-47a0-b290-3b5ceac2a929",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.359Z",
        "recordedAt": "2026-10-04T21:05:43.386Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "e7a093c9-9ade-498f-ac96-499ec0354b3c",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.359Z",
        "recordedAt": "2026-10-04T21:05:43.395Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "sipCallId": "SCL_2jNojefWGJ8f",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "61b28425-6206-4183-b121-52e5d0e6cccf",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.021Z",
        "recordedAt": "2026-10-04T21:05:44.029Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "sipCallId": "SCL_2jNojefWGJ8f",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a527d23b-2ae6-4830-9fe5-f5c7eb45666f",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.021Z",
        "recordedAt": "2026-10-04T21:05:44.040Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "4b9f915c-0a65-422a-b948-0a3f72de14c0",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 8,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.046Z",
        "recordedAt": "2026-10-04T21:05:44.070Z",
        "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "04917c6a-cc17-451c-b922-c007794f170c",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 9,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.083Z",
        "recordedAt": "2026-10-04T21:05:44.094Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": false
            }
          },
          "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "2fc97f6b-004a-4d73-ab53-3a2005569dbe",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 10,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.105Z",
        "recordedAt": "2026-10-04T21:05:44.112Z",
        "operationId": null,
        "turnId": "7d27f9f6-5079-418a-b00b-d71325fffab4",
        "participantId": "agent",
        "payload": {
          "kind": "greeting",
          "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
          "type": "dialog.turn.started",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "turnId": "7d27f9f6-5079-418a-b00b-d71325fffab4",
          "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "73f76191-5e49-4fcd-9b25-27d781f84111",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 11,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.118Z",
        "recordedAt": "2026-10-04T21:05:44.130Z",
        "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
        "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": "ae7d55cf0d0ce11beaecdafeda5989325529a13acb10dd9dc68044e0b7c40bb8",
            "channels": 1,
            "byteLength": 238080,
            "durationMs": 4960,
            "sampleRate": 24000
          },
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "560bc4bb-e1d2-45af-bf61-8e73f790e3ea",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 12,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.139Z",
        "recordedAt": "2026-10-04T21:05:44.150Z",
        "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
          "firstFrameAt": "2026-10-04T21:05:44.136Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "5daa1292-11c7-4a42-a8c1-e45481dcfa84",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 13,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.413Z",
        "recordedAt": "2026-10-04T21:05:44.426Z",
        "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 698.984633,
          "type": "silence.soft",
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "silenceId": "164cb43d-2e92-4b71-ae68-86a092998a6e",
          "durationMs": 352,
          "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "92d4fa65-2624-4788-a311-de6c01c4c85c",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 14,
        "layer": "L1",
        "type": "vtt.failed",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.598Z",
        "recordedAt": "2026-10-04T21:05:44.603Z",
        "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.failed",
          "message": "Concurrent requests limit for real-time transcription has been exceeded for your organization.",
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "463a5605-c1cb-4965-95b7-68b5ffc7c108",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 15,
        "layer": "L1",
        "type": "audio.playback.cancelled",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.611Z",
        "recordedAt": "2026-10-04T21:05:44.625Z",
        "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.cancelled",
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "4538280e-d2ac-4513-a252-2834bba1127e",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 16,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.715Z",
        "recordedAt": "2026-10-04T21:05:44.732Z",
        "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "35187cec-d19f-403b-bd9c-4c4e30315c66",
              "key": "recordings/4f44fd5f-341d-459f-96ea-2c514e08b92f/audio/caller/35187cec-d19f-403b-bd9c-4c4e30315c66.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "946b9de71d833bc602e3b93478722f2c9fe143ae369b46b1b710351d7f7b09cc"
            },
            "format": "pcm_s16le",
            "sha256": "2099a4f83bfbaf27a927a5cc1a967610f8073172da171d3b8665109098e54813",
            "channels": 1,
            "byteLength": 25920,
            "durationMs": 540,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "startedAt": "2026-10-04T21:05:44.061Z",
          "operationId": "df7a3435-e897-467f-979c-6377b2ffb4d2",
          "participantId": "callee"
        },
        "audioId": "35187cec-d19f-403b-bd9c-4c4e30315c66",
        "audio": {
          "id": "35187cec-d19f-403b-bd9c-4c4e30315c66",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "2099a4f83bfbaf27a927a5cc1a967610f8073172da171d3b8665109098e54813",
          "byteLength": 25920,
          "durationMs": 540,
          "bucket": "livekit-node-stage",
          "key": "recordings/4f44fd5f-341d-459f-96ea-2c514e08b92f/audio/caller/35187cec-d19f-403b-bd9c-4c4e30315c66.wav",
          "objectSha256": "946b9de71d833bc602e3b93478722f2c9fe143ae369b46b1b710351d7f7b09cc",
          "objectByteLength": 25964,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T21:05:44.647Z"
        }
      },
      {
        "id": "6d9ec4ea-da35-4c90-a742-a5c8929ec6b5",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 17,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.733Z",
        "recordedAt": "2026-10-04T21:05:44.747Z",
        "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "c92d66c8-5a6f-4f1e-b8da-09b9cb2f1c5f",
              "key": "recordings/4f44fd5f-341d-459f-96ea-2c514e08b92f/audio/agent/c92d66c8-5a6f-4f1e-b8da-09b9cb2f1c5f.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "9ac62f1957b9d26de61a8d06805d0fd5731416434d42895717e53c08cda26d38"
            },
            "format": "pcm_s16le",
            "sha256": "01939fea85e69f1bc2a8a5ad4218611e439ceb6d5e6e5b1ecc0e8a1cf2072730",
            "channels": 1,
            "byteLength": 22662,
            "durationMs": 472.125,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
          "startedAt": "2026-10-04T21:05:44.136Z",
          "operationId": "67b97087-53ba-46d4-8c32-616525ab1ad3",
          "participantId": "agent"
        },
        "audioId": "c92d66c8-5a6f-4f1e-b8da-09b9cb2f1c5f",
        "audio": {
          "id": "c92d66c8-5a6f-4f1e-b8da-09b9cb2f1c5f",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "01939fea85e69f1bc2a8a5ad4218611e439ceb6d5e6e5b1ecc0e8a1cf2072730",
          "byteLength": 22662,
          "durationMs": 472.125,
          "bucket": "livekit-node-stage",
          "key": "recordings/4f44fd5f-341d-459f-96ea-2c514e08b92f/audio/agent/c92d66c8-5a6f-4f1e-b8da-09b9cb2f1c5f.wav",
          "objectSha256": "9ac62f1957b9d26de61a8d06805d0fd5731416434d42895717e53c08cda26d38",
          "objectByteLength": 22706,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T21:05:44.632Z"
        }
      },
      {
        "id": "b9d14c2b-b71d-40c4-b721-36102649752f",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 18,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.765Z",
        "recordedAt": "2026-10-04T21:05:44.770Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "reason": "Agent execution failed",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "baa29a46-f914-4b95-b4e5-2a60a8357d14",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 19,
        "layer": "CALL",
        "type": "call.ended",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.765Z",
        "recordedAt": "2026-10-04T21:05:44.774Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.ended",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "reason": "Agent execution failed"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "d05a22fb-c22e-4252-b79e-7b5bba2c6186",
        "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b",
        "sequence": 20,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.765Z",
        "recordedAt": "2026-10-04T21:05:44.776Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "4f44fd5f-341d-459f-96ea-2c514e08b92f",
          "reason": "Agent execution failed",
          "dialogId": "9c1ea7ba-52c5-4010-b869-2c68df533a6b"
        },
        "audioId": null,
        "audio": null
      }
    ]
  }
}