{
  "id": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
  "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
  "number": "+381114128614",
  "direction": "inbound",
  "room": "phone-_4128614_fK8Wieojrddc",
  "status": "ended",
  "sipCallId": "SCL_fbUaFJJhZfPs",
  "sipStatus": "active",
  "createdAt": "2026-10-04T21:05:43.304Z",
  "updatedAt": "2026-10-04T21:05:44.680Z",
  "answeredAt": "2026-10-04T21:05:43.998Z",
  "endedAt": "2026-10-04T21:05:44.677Z",
  "endedReason": "Agent execution failed",
  "dialog": {
    "id": "5e8396d7-5d28-4461-8642-b30947d3bba8",
    "createdAt": "2026-10-04T21:05:43.304Z",
    "initialState": {
      "id": "5e8396d7-5d28-4461-8642-b30947d3bba8",
      "turns": [],
      "inputs": {
        "pair": "4",
        "role": "receiver",
        "loadTestRunId": "43bbafab-07a2-4f6c-821c-3567d8c126be"
      },
      "status": "created",
      "version": 2,
      "collected": {},
      "agentState": null,
      "participants": [
        {
          "id": "callee",
          "kind": "human",
          "name": "+381114128614",
          "status": "disconnected"
        },
        {
          "id": "agent",
          "kind": "agent",
          "name": "Load test 4 receiver",
          "status": "disconnected",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": false
            }
          },
          "template": {
            "id": "agent:Load test 4 receiver",
            "name": "Load test 4 receiver",
            "audios": {
              "greeting": {
                "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
                "format": "pcm_s16le",
                "sha256": "b13d9bf6659d8137f0307dc6f012c602570b75c40a65dbe4c17a443eb3cfcacf",
                "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 4 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.304Z",
    "events": [
      {
        "id": "bbb9bb8a-d14d-4638-92f3-9d4bba3faf3d",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.091Z",
        "recordedAt": "2026-10-04T21:05:43.304Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "phone-_4128614_fK8Wieojrddc",
          "type": "call.created",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "number": "+381114128614",
          "direction": "inbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "9e2c411e-da79-44e7-af88-b9e416113eb5",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.091Z",
        "recordedAt": "2026-10-04T21:05:43.304Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c8197fc1-7f83-48cc-a2a2-581a646a2425",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.091Z",
        "recordedAt": "2026-10-04T21:05:43.304Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "1e4c98f1-7e10-4ada-9d28-c743bff7f41d",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.352Z",
        "recordedAt": "2026-10-04T21:05:43.380Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "dab011bf-f973-4beb-9127-baedb5a787c5",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.352Z",
        "recordedAt": "2026-10-04T21:05:43.388Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "sipCallId": "SCL_fbUaFJJhZfPs",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "4868e0da-60c4-4e04-baf9-7cf083184c00",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.998Z",
        "recordedAt": "2026-10-04T21:05:44.005Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "sipCallId": "SCL_fbUaFJJhZfPs",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "e7362876-7632-47c1-976a-ac2afcceb2c4",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:43.998Z",
        "recordedAt": "2026-10-04T21:05:44.008Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "03c60941-3456-4746-b1b4-2e7c385a9994",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 8,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.013Z",
        "recordedAt": "2026-10-04T21:05:44.058Z",
        "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "45e8c9d7-a477-42d0-8081-25d6364f03ae",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 9,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.044Z",
        "recordedAt": "2026-10-04T21:05:44.080Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": false
            }
          },
          "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "e84e95dc-07bf-4ffc-aa98-62c48e27c496",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 10,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.084Z",
        "recordedAt": "2026-10-04T21:05:44.089Z",
        "operationId": null,
        "turnId": "a6846e6f-d1b0-40c7-853d-578373b6e026",
        "participantId": "agent",
        "payload": {
          "kind": "greeting",
          "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
          "type": "dialog.turn.started",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "turnId": "a6846e6f-d1b0-40c7-853d-578373b6e026",
          "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c72d505a-40d1-4bc6-96a5-58679c1f5161",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 11,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.094Z",
        "recordedAt": "2026-10-04T21:05:44.098Z",
        "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
        "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": "b13d9bf6659d8137f0307dc6f012c602570b75c40a65dbe4c17a443eb3cfcacf",
            "channels": 1,
            "byteLength": 238080,
            "durationMs": 4960,
            "sampleRate": 24000
          },
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "bbd81175-d7ac-4ebf-a285-8b8000cc1ce9",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 12,
        "layer": "L1",
        "type": "audio.playback.first_frame",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.104Z",
        "recordedAt": "2026-10-04T21:05:44.114Z",
        "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.first_frame",
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
          "firstFrameAt": "2026-10-04T21:05:44.103Z",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ed328c3c-4c0a-412e-9ebe-c08a3064ad4f",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 13,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.378Z",
        "recordedAt": "2026-10-04T21:05:44.408Z",
        "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 672.3072219999995,
          "type": "silence.soft",
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "silenceId": "9e5cca48-19d7-498a-9508-b7ee49785cc0",
          "durationMs": 352,
          "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "fcb494f7-bca9-4f2e-ba31-ac2d931b9587",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 14,
        "layer": "L1",
        "type": "vtt.failed",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.507Z",
        "recordedAt": "2026-10-04T21:05:44.523Z",
        "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.failed",
          "message": "Concurrent requests limit for real-time transcription has been exceeded for your organization.",
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "ae3960b8-d8ee-4c84-9e79-5173a739dfb8",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 15,
        "layer": "L1",
        "type": "audio.playback.cancelled",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.538Z",
        "recordedAt": "2026-10-04T21:05:44.559Z",
        "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.cancelled",
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "d4b995df-b6d7-494e-a939-15fa05230733",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 16,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.623Z",
        "recordedAt": "2026-10-04T21:05:44.638Z",
        "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ab81e97b-664e-4baf-ac4d-e3a54b2aa57a",
              "key": "recordings/bcadff1d-cbc4-486e-ba44-130da569ebf8/audio/caller/ab81e97b-664e-4baf-ac4d-e3a54b2aa57a.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "3d000627ca8a3aa2eadc37e6413db60518359f8370d005a1401f3209b39d1d3b"
            },
            "format": "pcm_s16le",
            "sha256": "991881ae00236e5404fb94f34d22a0ae1ec6224cb914c74dcdb5ee3c37b3e281",
            "channels": 1,
            "byteLength": 24000,
            "durationMs": 500,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "startedAt": "2026-10-04T21:05:44.023Z",
          "operationId": "2d01d71a-3105-4bff-b2f8-c0feac2315b9",
          "participantId": "callee"
        },
        "audioId": "ab81e97b-664e-4baf-ac4d-e3a54b2aa57a",
        "audio": {
          "id": "ab81e97b-664e-4baf-ac4d-e3a54b2aa57a",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "991881ae00236e5404fb94f34d22a0ae1ec6224cb914c74dcdb5ee3c37b3e281",
          "byteLength": 24000,
          "durationMs": 500,
          "bucket": "livekit-node-stage",
          "key": "recordings/bcadff1d-cbc4-486e-ba44-130da569ebf8/audio/caller/ab81e97b-664e-4baf-ac4d-e3a54b2aa57a.wav",
          "objectSha256": "3d000627ca8a3aa2eadc37e6413db60518359f8370d005a1401f3209b39d1d3b",
          "objectByteLength": 24044,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T21:05:44.577Z"
        }
      },
      {
        "id": "6011d10b-ecf9-46d6-a4fb-082f21cb6ac8",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 17,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.646Z",
        "recordedAt": "2026-10-04T21:05:44.654Z",
        "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "ad9db526-596a-4508-81e6-e56fd3568bbb",
              "key": "recordings/bcadff1d-cbc4-486e-ba44-130da569ebf8/audio/agent/ad9db526-596a-4508-81e6-e56fd3568bbb.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "3e54b11aea8f710b7d06a717ed08fe777b27d299ac5b70f6c97c8057d8fbc844"
            },
            "format": "pcm_s16le",
            "sha256": "deefa319bbe0c7aa2c6017ffa76a7d96dad39bb3f9d7d20c61db2dafdda8280f",
            "channels": 1,
            "byteLength": 20630,
            "durationMs": 429.7916666666667,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
          "startedAt": "2026-10-04T21:05:44.103Z",
          "operationId": "bd95fc38-18a3-40ca-a412-f3861b70c62f",
          "participantId": "agent"
        },
        "audioId": "ad9db526-596a-4508-81e6-e56fd3568bbb",
        "audio": {
          "id": "ad9db526-596a-4508-81e6-e56fd3568bbb",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "deefa319bbe0c7aa2c6017ffa76a7d96dad39bb3f9d7d20c61db2dafdda8280f",
          "byteLength": 20630,
          "durationMs": 429.7916666666667,
          "bucket": "livekit-node-stage",
          "key": "recordings/bcadff1d-cbc4-486e-ba44-130da569ebf8/audio/agent/ad9db526-596a-4508-81e6-e56fd3568bbb.wav",
          "objectSha256": "3e54b11aea8f710b7d06a717ed08fe777b27d299ac5b70f6c97c8057d8fbc844",
          "objectByteLength": 20674,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T21:05:44.563Z"
        }
      },
      {
        "id": "187765fc-8879-4124-b10c-cfc495d1c908",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 18,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.678Z",
        "recordedAt": "2026-10-04T21:05:44.683Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "reason": "Agent execution failed",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "8342cbf7-c4be-4c70-a57e-3f5be5e04152",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 19,
        "layer": "CALL",
        "type": "call.ended",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.678Z",
        "recordedAt": "2026-10-04T21:05:44.684Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.ended",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "reason": "Agent execution failed"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "71507859-e9dd-4e83-83ae-d23c017c4a75",
        "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8",
        "sequence": 20,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-04T21:05:44.678Z",
        "recordedAt": "2026-10-04T21:05:44.687Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "bcadff1d-cbc4-486e-ba44-130da569ebf8",
          "reason": "Agent execution failed",
          "dialogId": "5e8396d7-5d28-4461-8642-b30947d3bba8"
        },
        "audioId": null,
        "audio": null
      }
    ]
  }
}