Skip to main content
Hold music queue with round-robin agent dispatch, retry cycles, and voicemail fallback.

View on GitHub

Clone and run the full working example

Getting started

Overview

Inbound callers hear a greeting and are placed in a queue with hold music. The server dials available agents round-robin. If no agent answers after MAX_WAIT_CYCLES attempts, the caller is offered voicemail. Agents register themselves as available or offline via a REST API. Real-time queue metrics track wait times, connections, and abandonment rate.

Call flow

Vobiz webhooks

Set /answer as the Answer URL in your Vobiz application.

App API

Environment variables