Skip to content

Demo Full

Andrey Egorov edited this page May 18, 2026 · 1 revision

Import: 99-full-demo.json

Goal

Use the canonical workflow exactly as it exists in the repository.

This file is not another learning step after Part 3. It is the source-of-truth workflow from which the walkthrough examples are derived.

Relationship to Part 3 / Step 4

Part 3 / Step 4 is the assembled walkthrough endpoint.

The full-demo workflow represents the same functional scenario, but with a different purpose:

  • Part 3 / Step 4 exists to teach the final composition
  • the full-demo workflow exists to preserve the exact canonical workflow as authored in the repository

What This Workflow Contains

  • extension-first inbound trunk routing
  • extension-originated outbound routing
  • queue placement and queue stats
  • callback-aware queue behavior
  • offline AI handoff
  • attached voice-agent tools
  • global recording behavior where the final demo enables it
Workflow Diagram

99-full-demo.svg

Why This Works

  • the full workflow keeps the extension-first front door, so inbound callers first get a direct extension-routing chance before they reach the queue system
  • the queue branch is already callback-aware, so the same live queue entry can either continue waiting or later be used for callback dispatch
  • the offline branch is already the full final one: dial_ai -> recording_ai -> bridge_ai, with the attached voice agent, memory, and tools on the same AI leg
  • wait_music_loop still uses Interrupt On = call_queue_removed, so queue waiting does not continue after the queue engine has already moved the caller out of live waiting
  • wait_agent remains dial-scoped, because queue owns caller-leg cleanup itself

When To Use This Workflow

Use this demo full workflow when you want:

  • the exact canonical workflow from the repository
  • the workflow that the walkthrough examples are derived from
  • one importable reference instead of the teaching-oriented part breakdown

Clone this wiki locally