Configure your assistant to respond with the appropriate voice for each detected language. Azure is recommended for the broadest coverage (400+ voices across 140+ languages):
// Option 1: Automatic voice selection (recommended)
{
"provider": "azure",
"voiceId": "multilingual-auto"
}
// Option 2: Specific voices with a fallback list
{
"provider": "azure",
"voiceId": "en-US-AriaNeural",
"fallbackPlan": {
"voices": [
{ "provider": "azure", "voiceId": "es-ES-ElviraNeural" },
{ "provider": "azure", "voiceId": "fr-FR-DeniseNeural" },
{ "provider": "azure", "voiceId": "de-DE-KatjaNeural" }
]
}
}
Important: Option 2's fallbackPlan is not a per-language voice switch keyed to the detected language — a fallback voice only engages if the primary voice provider fails mid-call. If your primary voice never fails, the fallback voices in that list are never used, regardless of what language the caller is speaking. For a voice that genuinely adapts to the detected language, use Option 1's multilingual-auto voice ID instead. See Per-Language Voice Selection Approaches for a full comparison of the real options here, and Voice Fallback Plans for the full fallbackPlan reference.