MultiVoiceAI Voice Agents

Integrations

The stack behind each call, and what happens when part of it fails

MultiVoice does not lock you into one vendor. It sits between your phone number and two interchangeable voice platforms, and keeps the customer record in a database you own.

Building blocks

Vapi (primary voice)

Speech recognition, the language model and the synthetic voice, plus browser calls for testing. Tools call back into MultiVoice over signed webhooks.

Dograh (backup voice)

An open-source voice agent platform, hosted or self-hosted, that can take inbound and outbound calls on the same Twilio number.

Twilio (phone numbers)

Local and toll-free numbers in many countries; one setup command imports them and points them at the router.

Supabase (Postgres)

Contacts, calls, transcripts and knowledge in your own database, locked with row-level security.

Vercel (hosting)

The portal and the webhook endpoints, deployed close to your database for short response times.

Failover router

Decides per call which voice provider is healthy enough to handle it.

How automatic failover works

Outbound

The dialer tries providers in the order you set, Vapi then Dograh by default. If Vapi answers with a billing error, an authentication error, a rate limit or an outage, MultiVoice records why, gives Vapi a rest period and places the same call through Dograh within the same request. A problem with the destination number itself is not retried elsewhere, because it would fail there too.

Inbound

Your Twilio number sends each new call to the MultiVoice router, which checks Twilio’s signature and redirects the call to the first provider that is not resting. If a Vapi call ends because the account ran out of credit, Vapi is rested and the next caller reaches Dograh.

Rest periods

  • Out of credits: six hours, or until a manager presses ‘Use again’ after topping up.
  • Rejected key: thirty minutes.
  • Outage or timeout: five minutes.
  • Rate limit: two minutes.

The provider health card in Settings shows the last error, when it happened and when each provider last completed a call.

Same tools on both providers

Both voice platforms call the same seven endpoints in MultiVoice, so a caller gets identical behaviour whichever one answers: knowledge search, contact details, booking, callbacks, follow-ups, Do-Not-Call and outcome recording.

Vapi → /api/vapi/webhook (tool-calls, status, end-of-call report)

Dograh → /api/dograh/tools/<tool> and /api/dograh/webhook

Twilio → /api/twilio/voice (signed inbound router)

Keep reading

Keep calling when a vendor has a bad day

Add a second provider in Settings and test the switch with one click.