The vCon Foundation

Standards

Sessions and events: modeling transfers and multi-leg conversations

How draft-ietf-vcon-vcon-core-05 uses sessions and events to represent transfers, per-stream recordings, coaching and email threads, with a blind-transfer example.

IETF working group draft Last updated 18 November 2026

Why sessions exist

A single phone call can look like one recording, but real systems produce many: one file per leg, one file per speaker, or one file per burst of speech. The core draft (draft-ietf-vcon-vcon-core-05) therefore separates the captured media (Dialog Objects) from the conversations they belong to (Session Objects) 1. The draft lists patterns: a call transfer that really is three calls, a recorder that writes one dialog per stream, talk-spurt recordings that need a session to declare the call's start and length, supervisor coaching where the customer cannot hear the supervisor, and chains of AI agents where each tier gets its own session 1.

Sessions in detail

  • start SHOULD be present; duration marks the end. A session may cover only part of a recording, which lets you mark the interesting portion without cutting the file 1.
  • parties lists receivers; originator is only needed when the first listed party is not the originator 1.
  • dialog lists the dialog indexes belonging to the session 1.
  • sessions holds references to other sessions, typed child, peer, precursor or breakout, with an optional description 1.
  • Event objects are not inherited through those relationships; an event applies only to the sessions it lists 1.

Events in detail

Events are instants. The draft defines party events (join, drop, hold, unhold, mute, unmute), key events (keydown, keyup with a button value), transfer events, and a channel-contributors event for recordings whose speakers change on a channel 1. Transfer events name the transferor in party, with transferee, transfer_target, and the sessions for the original, consultation and target calls 1.

Example (synthetic): a blind transfer from an agent to a specialist
{
  "vcon": "0.5.0",
  "uuid": "0198e6f3-4a18-8e52-97c1-2b6d05a9f7e4",
  "created_at": "2026-11-18T18:30:00Z",
  "parties": [
    {
      "tel": "+15555550177",
      "name": "Sample Customer",
      "validation": "none"
    },
    {
      "name": "Agent 4417",
      "type": "person",
      "validation": "none"
    },
    {
      "name": "Specialist 9020",
      "type": "person",
      "validation": "none"
    }
  ],
  "dialog": [
    {
      "type": "recording",
      "start": "2026-11-18T18:10:00Z",
      "duration": 300,
      "parties": [
        [
          0
        ],
        [
          1
        ]
      ],
      "mediatype": "audio/ogg",
      "url": "https://recordings.example.com/legA.ogg",
      "content_hash": "sha512-KDS-UjTizARtYH0UqxG4ZOgAfHspFvISvWglkZ2B5nDxhLvR5XNHkEY5eqf4jyrlru6Xdo-Bt16yevDzMfcAwQ"
    },
    {
      "type": "recording",
      "start": "2026-11-18T18:15:00Z",
      "duration": 600,
      "parties": [
        [
          0
        ],
        [
          2
        ]
      ],
      "mediatype": "audio/ogg",
      "url": "https://recordings.example.com/legB.ogg",
      "content_hash": "sha512-zZt8c388cL5G6llNQr6JcRMpRKgrgSisQ_QgdTj5eqBshtpYbFI58ru7yM0iVpDNJIKB_lXsKj7t2g0eFZEkQg"
    }
  ],
  "sessions": [
    {
      "start": "2026-11-18T18:10:00Z",
      "duration": 300,
      "parties": [
        0,
        1
      ],
      "dialog": [
        0
      ]
    },
    {
      "start": "2026-11-18T18:15:00Z",
      "duration": 600,
      "parties": [
        0,
        2
      ],
      "dialog": [
        1
      ]
    }
  ],
  "events": [
    {
      "type": "join",
      "time": "2026-11-18T18:10:00Z",
      "sessions": 0,
      "party": 0
    },
    {
      "type": "join",
      "time": "2026-11-18T18:10:03Z",
      "sessions": 0,
      "party": 1
    },
    {
      "type": "blind-transfer",
      "time": "2026-11-18T18:15:00Z",
      "sessions": 0,
      "party": 1,
      "transferee": 0,
      "transfer_target": 2,
      "target_session": 1
    }
  ]
}

Reading the example

Two recorded legs exist, each in its own session. The event's sessions value is the original call, party is the transferor (the agent), transferee is the customer, transfer_target is the specialist, and target_session points at the second call 1. The draft notes that a blind-transfer event does not itself show that the target call succeeded; the result is read from the target session, which holds either dialogs or an incomplete dialog 1. A consultative transfer adds a consultation-start event and a consultation session 1.

  • When a transfer's call leg is unknown, create a placeholder session and reference it, one per role 1.
  • The reason for a transfer is analysis, not an event, and belongs in the analysis array 1.
  • For email threads, the draft says a thread with a changing receiver set uses a parent session with a child session for each set 1. Bcc recipients need a policy before they appear in a broader-use vCon 1.

The example follows the event parameter rules in section 4.3.

Sources

  1. draft-ietf-vcon-vcon-core-05, The JSON format for vCon - Conversation Data Container (31 October 2026) (opens another site) IETF Datatracker · primary · retrieved 2026-11-18