Build and integrate
Why does SSML work in one voice agent but not another?
SSML is a standard, but speaking systems support different subsets and sometimes expect only plain text or provider-specific markup. A realtime speech-to-speech model is not automatically an SSML engine.
Identify the consumer
Confirm whether markup reaches a dedicated speech synthesizer, a telephony relay or a native speech model. Check the exact voice and endpoint rather than assuming a supported tag applies everywhere.
Test the supported subset
Start with one pause, one pronunciation correction and one number. Listen for literal tag names, dropped words, or different pause duration on the actual phone path.
Keep plain-text fallbacks
Spell out abbreviations or rewrite text where markup is unsupported. Treat critical disclosures and amounts as acceptance cases across providers.
Sources and scope
Sources checked: .
- W3C: SSML 1.1 specification
Defines a common speech markup language; conformance details and implementation differences still need checking.
- Twilio: ConversationRelay TwiML
Documents ConversationRelay as a voice session connecting Twilio with an application WebSocket.
- Cartesia: Line overview
Distinguishes Cartesia’s managed audio orchestration from the application’s developer-owned reasoning and workflow code.