{
  "id": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
  "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
  "number": "+381114128614",
  "direction": "inbound",
  "room": "phone-_4128614_Mg9rfesJmAPm",
  "status": "ended",
  "sipCallId": "SCL_7h9yT9T6e8Fe",
  "sipStatus": "active",
  "createdAt": "2026-10-04T19:21:22.723Z",
  "updatedAt": "2026-10-04T19:21:25.013Z",
  "answeredAt": "2026-10-04T19:21:23.129Z",
  "endedAt": "2026-10-04T19:21:25.009Z",
  "endedReason": "Ended locally",
  "dialog": {
    "id": "ae2271e0-7d90-4506-bb64-71761c243452",
    "createdAt": "2026-10-04T19:21:22.723Z",
    "initialState": {
      "id": "ae2271e0-7d90-4506-bb64-71761c243452",
      "turns": [],
      "inputs": {
        "pair": "4",
        "role": "receiver",
        "loadTestRunId": "9ca2eb85-3d23-4a4d-a81d-b4d163a4045c"
      },
      "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": "4382e6c7797485eea4aabfd12133a1aef75a4663cef082182ebe420a1410c5ab",
                "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-04T19:21:22.723Z",
    "events": [
      {
        "id": "024de8aa-fa1a-4943-b085-788ca3ddda4d",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 1,
        "layer": "CALL",
        "type": "call.created",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:22.559Z",
        "recordedAt": "2026-10-04T19:21:22.723Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "room": "phone-_4128614_Mg9rfesJmAPm",
          "type": "call.created",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "number": "+381114128614",
          "direction": "inbound"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "33defd1e-f30e-4a23-8fa6-0e4411bae888",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 2,
        "layer": "CALL",
        "type": "call.connecting",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:22.559Z",
        "recordedAt": "2026-10-04T19:21:22.723Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connecting",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "4afc26ba-9db3-462e-a81e-25bdc20587c2",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 3,
        "layer": "DIALOG",
        "type": "dialog.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:22.559Z",
        "recordedAt": "2026-10-04T19:21:22.723Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.started",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c397a909-cf0c-4aec-b578-f94c6546b6cb",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 4,
        "layer": "CALL",
        "type": "call.participant_joined",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:22.758Z",
        "recordedAt": "2026-10-04T19:21:22.773Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_joined",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "08a927b1-a714-4152-b1ec-94ac191b0473",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 5,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:22.758Z",
        "recordedAt": "2026-10-04T19:21:22.778Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "sipCallId": "SCL_7h9yT9T6e8Fe",
          "sipStatus": "ringing"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "fdb71cf3-cb06-42e1-9d56-fc1d202ddaca",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 6,
        "layer": "CALL",
        "type": "call.sip_status",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.129Z",
        "recordedAt": "2026-10-04T19:21:23.135Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.sip_status",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "sipCallId": "SCL_7h9yT9T6e8Fe",
          "sipStatus": "active"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "03f2b921-7d05-4e85-9bc4-42524a572058",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 7,
        "layer": "CALL",
        "type": "call.connected",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.129Z",
        "recordedAt": "2026-10-04T19:21:23.139Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.connected",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "986577c6-264b-4a03-be47-2040bc6f2702",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 8,
        "layer": "L1",
        "type": "vtt.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.143Z",
        "recordedAt": "2026-10-04T19:21:23.164Z",
        "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "mode": "live",
          "type": "vtt.started",
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "73f0a1cf-84d4-49ba-ac84-370bc739f0ae",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 9,
        "layer": "DIALOG",
        "type": "dialog.ready",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.174Z",
        "recordedAt": "2026-10-04T19:21:23.180Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ready",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "behavior": {
            "turns": "submissive",
            "greeting": {
              "initiative": "assertive",
              "interruptible": false
            }
          },
          "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "39e93d62-3af2-4e7c-869b-36579cd7d222",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 10,
        "layer": "DIALOG",
        "type": "dialog.turn.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.183Z",
        "recordedAt": "2026-10-04T19:21:23.193Z",
        "operationId": null,
        "turnId": "28ecabb9-e31d-42ef-bc80-1a67e6203522",
        "participantId": "agent",
        "payload": {
          "kind": "greeting",
          "text": "Dobar dan! Hajde da isplaniramo jednodnevni izlet. Koji grad biste voleli da posetimo?",
          "type": "dialog.turn.started",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "turnId": "28ecabb9-e31d-42ef-bc80-1a67e6203522",
          "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "38617f4f-c3ae-4a0d-bbe9-10d76c42ea95",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 11,
        "layer": "L1",
        "type": "audio.playback.started",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.199Z",
        "recordedAt": "2026-10-04T19:21:23.204Z",
        "operationId": "3126a0bf-ee0a-46e8-9bd0-fbd4d082ce50",
        "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": "4382e6c7797485eea4aabfd12133a1aef75a4663cef082182ebe420a1410c5ab",
            "channels": 1,
            "byteLength": 238080,
            "durationMs": 4960,
            "sampleRate": 24000
          },
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "operationId": "3126a0bf-ee0a-46e8-9bd0-fbd4d082ce50",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "aa47dea4-f1b5-42fe-aae0-2d648e94f75d",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 12,
        "layer": "L1",
        "type": "silence.soft",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:23.505Z",
        "recordedAt": "2026-10-04T19:21:23.515Z",
        "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 643.9308009999995,
          "type": "silence.soft",
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "silenceId": "a8fffd4b-0c76-41d4-b5cc-f0132180c44e",
          "durationMs": 352,
          "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "59ac737f-60b3-49f3-9dbc-4019e28dbe72",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 13,
        "layer": "L1",
        "type": "silence.committed",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:24.273Z",
        "recordedAt": "2026-10-04T19:21:24.294Z",
        "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "atMs": 1411.9308009999995,
          "type": "silence.committed",
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "silenceId": "a8fffd4b-0c76-41d4-b5cc-f0132180c44e",
          "durationMs": 1120,
          "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "c51aff3b-162f-49f1-88f5-be248de306fe",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 14,
        "layer": "L1",
        "type": "audio.playback.cancelled",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:24.915Z",
        "recordedAt": "2026-10-04T19:21:24.933Z",
        "operationId": "3126a0bf-ee0a-46e8-9bd0-fbd4d082ce50",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.playback.cancelled",
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "operationId": "3126a0bf-ee0a-46e8-9bd0-fbd4d082ce50",
          "participantId": "agent"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "7f4d6d5a-6622-4ecf-b3a2-abfdcd7cfffc",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 15,
        "layer": "CALL",
        "type": "call.participant_left",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:25.010Z",
        "recordedAt": "2026-10-04T19:21:25.017Z",
        "operationId": null,
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "call.participant_left",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "reason": "Ended locally",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "0785b5b1-0ba3-4a8c-a18e-9689e28c2d94",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 16,
        "layer": "CALL",
        "type": "call.ended",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:25.010Z",
        "recordedAt": "2026-10-04T19:21:25.030Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "call.ended",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "reason": "Ended locally"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "a800aee3-a2c5-4509-89aa-ff86c238609c",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 17,
        "layer": "DIALOG",
        "type": "dialog.ended",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:25.010Z",
        "recordedAt": "2026-10-04T19:21:25.037Z",
        "operationId": null,
        "turnId": null,
        "participantId": null,
        "payload": {
          "type": "dialog.ended",
          "callId": "6a94496f-cf7d-45d6-8b77-5dffa4d8c211",
          "reason": "Ended locally",
          "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "3ec12177-bb20-48f2-860e-9af3d17de4d8",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 18,
        "layer": "L1",
        "type": "vtt.failed",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:25.032Z",
        "recordedAt": "2026-10-04T19:21:25.052Z",
        "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "vtt.failed",
          "message": "No audio received.",
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
          "participantId": "callee"
        },
        "audioId": null,
        "audio": null
      },
      {
        "id": "2bd34316-4354-4bf9-814d-4dd850f1d0ee",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 19,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:25.054Z",
        "recordedAt": "2026-10-04T19:21:25.072Z",
        "operationId": "3126a0bf-ee0a-46e8-9bd0-fbd4d082ce50",
        "turnId": null,
        "participantId": "agent",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "757b4178-791c-4cb7-b4dd-9c6824af9ee3",
              "key": "recordings/6a94496f-cf7d-45d6-8b77-5dffa4d8c211/audio/agent/757b4178-791c-4cb7-b4dd-9c6824af9ee3.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "6d669f1ca70e9f4730ef8b9baa37ab0645c20737d4fa7a911538ec7414218d64"
            },
            "format": "pcm_s16le",
            "sha256": "32e5277bfb3e8d0b8954a19b840e9fb32fa71379e5ebf3468996574736ae279f",
            "channels": 1,
            "byteLength": 81496,
            "durationMs": 1697.8333333333333,
            "sampleRate": 24000
          },
          "speaker": "agent",
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "startedAt": "2026-10-04T19:21:23.208Z",
          "operationId": "3126a0bf-ee0a-46e8-9bd0-fbd4d082ce50",
          "participantId": "agent"
        },
        "audioId": "757b4178-791c-4cb7-b4dd-9c6824af9ee3",
        "audio": {
          "id": "757b4178-791c-4cb7-b4dd-9c6824af9ee3",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "32e5277bfb3e8d0b8954a19b840e9fb32fa71379e5ebf3468996574736ae279f",
          "byteLength": 81496,
          "durationMs": 1697.8333333333333,
          "bucket": "livekit-node-stage",
          "key": "recordings/6a94496f-cf7d-45d6-8b77-5dffa4d8c211/audio/agent/757b4178-791c-4cb7-b4dd-9c6824af9ee3.wav",
          "objectSha256": "6d669f1ca70e9f4730ef8b9baa37ab0645c20737d4fa7a911538ec7414218d64",
          "objectByteLength": 81540,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T19:21:24.946Z"
        }
      },
      {
        "id": "ce8af7b5-4eb9-4feb-96be-a9693342ac42",
        "dialogId": "ae2271e0-7d90-4506-bb64-71761c243452",
        "sequence": 20,
        "layer": "L1",
        "type": "audio.recording.saved",
        "version": 1,
        "occurredAt": "2026-10-04T19:21:25.073Z",
        "recordedAt": "2026-10-04T19:21:25.084Z",
        "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
        "turnId": null,
        "participantId": "callee",
        "payload": {
          "type": "audio.recording.saved",
          "audio": {
            "asset": {
              "id": "5dd50d25-61e4-4d01-95a6-817f523eff7b",
              "key": "recordings/6a94496f-cf7d-45d6-8b77-5dffa4d8c211/audio/caller/5dd50d25-61e4-4d01-95a6-817f523eff7b.wav",
              "bucket": "livekit-node-stage",
              "objectSha256": "ecbc87d71162aa1824da7cf56a655349df701ebadacfb7e99fac9b1c75b51066"
            },
            "format": "pcm_s16le",
            "sha256": "8e45eab9667475fd8a4e6cc9430472eb82e9c31631441517913e172c31affdc3",
            "channels": 1,
            "byteLength": 83520,
            "durationMs": 1740,
            "sampleRate": 24000
          },
          "speaker": "caller",
          "sessionId": "ae2271e0-7d90-4506-bb64-71761c243452",
          "startedAt": "2026-10-04T19:21:23.153Z",
          "operationId": "471fd206-4528-42c8-b695-59a5cffc5e5c",
          "participantId": "callee"
        },
        "audioId": "5dd50d25-61e4-4d01-95a6-817f523eff7b",
        "audio": {
          "id": "5dd50d25-61e4-4d01-95a6-817f523eff7b",
          "name": null,
          "text": null,
          "format": "pcm_s16le",
          "sampleRate": 24000,
          "channels": 1,
          "sha256": "8e45eab9667475fd8a4e6cc9430472eb82e9c31631441517913e172c31affdc3",
          "byteLength": 83520,
          "durationMs": 1740,
          "bucket": "livekit-node-stage",
          "key": "recordings/6a94496f-cf7d-45d6-8b77-5dffa4d8c211/audio/caller/5dd50d25-61e4-4d01-95a6-817f523eff7b.wav",
          "objectSha256": "ecbc87d71162aa1824da7cf56a655349df701ebadacfb7e99fac9b1c75b51066",
          "objectByteLength": 83564,
          "mimeType": "audio/wav",
          "createdAt": "2026-10-04T19:21:25.055Z"
        }
      }
    ]
  }
}