View on GitHub
Clone and run the full working example
Getting started
Overview
The agent loads call metadata from your CRM before the call connects, then dispatches signed webhook events throughout the call lifecycle. During the conversation, the agent has access to four function tools that send non-blocking HTTP POSTs to your backend without interrupting the audio stream.Agent function tools
Webhook events
All webhook payloads are signed with HMAC SHA-256 using your
WEBHOOK_SECRET.
Key code
Environment variables
.env
Related LiveKit templates
- LiveKit inbound calling - route calls to a Vobiz number into a LiveKit agent over a SIP trunk.
- LiveKit outbound calling - place calls from a LiveKit agent through a Vobiz SIP trunk.
- Call transfer - transfer a live call to any phone number with SIP REFER.
- DTMF IVR - an IVR menu that accepts keypad input as well as speech.
- Agent-to-agent handoff - pass a call to a specialist agent with the conversation context.
- Answering machine detection - tell a human from voicemail before the agent speaks.
- All features in one agent - inbound, outbound, transfers, DTMF, AMD, and webhooks together.