-
Notifications
You must be signed in to change notification settings - Fork 0
Demo Part 1 Queue to AI
Andrey Egorov edited this page May 18, 2026
·
2 revisions
This part stays entirely inside the queue/offline line.
| Step | Import | Completes |
|---|---|---|
| 1 | Part 1 / Step 1 | queue placement, hold loop, direct agent attempt, plain offline announcement |
| 2 | Part 1 / Step 2 | the same queue line, but with offline upgraded to an immediate AI handoff |
Step 1:
- it isolates the queue lifecycle without callback, tools, recording, or extension-menu complexity
-
wait_music_loopkeeps the hold loop alive on timeout and stops cleanly oncall_queue_removed -
wait_agentis purely dial-scoped, so queue still owns caller cleanup
Step 2:
- it reuses the same basic queue behavior and changes only the offline branch
-
dial_aiisImmediate, so no separate agent-attachment stage is needed yet - the difference is easy to reason about because queue logic stays stable and only offline handling changes