Connect Fish Audio to Avaya through the Infinity media-streaming WebSocket, AEP audio payloads or MRCP.
Avaya has more than one voice-agent path, and the right one depends on the platform generation. Avaya Infinity exposes a real-time media-streaming WebSocket for an external AI service; Avaya Experience Platform supports virtual-agent integrations with pre-recorded audio and TTS settings; older stacks may use CPaaS or MRCP. Fish Audio can supply the speech in an external service or pre-rendered files. There is no native Fish Audio Avaya integration, and Avaya Infinity's custom-TTS-provider feature is listed as coming soon.
The safest statement is the narrow one: connect through the documented interface for your version and verify the audio contract.
Avaya provides:
Fish Audio provides:
Avaya owns the call and the orchestration; Fish Audio owns the voice in your service or files.
| Path | What it does | Custom Fish Audio voice? |
|---|---|---|
| Infinity media streaming (WebSocket) | Bidirectional audio and JSON with an external AI service | Yes, in your service |
| AEP virtual-agent payloads | Pre-recorded WAV and TTS parameters | Yes, pre-rendered |
| CPaaS APIs | Programmatic calls with TTS or audio | Verify the current API |
| MRCP speech server | Legacy IVR integration with a TTS engine | Depends on the server |
The Avaya Infinity media-streaming documentation is the source of truth for the WebSocket contract.
The documented codecs include PCMU, PCMA and G.722. Verify the current ingress and egress behavior for your release.
For an Avaya Experience Platform virtual agent, generate the prompt with Fish Audio, export a WAV file and reference it through the supported custom payload or audio field. TTS voice parameters can be set in the payload for the platform's own TTS; a custom Fish Audio voice is delivered as pre-rendered audio.
Use this for static prompts. A live conversation needs the streaming path.
Measure p95 time to first audio on the real Avaya path. Include the WebSocket setup, codec conversion, barge-in and transfer to a human.
Test:
| Failure | Safe fallback |
|---|---|
| WebSocket authentication fails | Check JWT scope, clock and TLS |
| Codec mismatch | Re-encode to the documented codec |
| Custom TTS provider is not available | Use pre-recorded audio or an external service |
| Audio chunks arrive late | Play a short hold line or transfer |
| Transfer loses context | Pass a summary and the caller's request |
| Pre-recorded file is rejected | Check the payload schema and format |
| Caller interrupts | Cancel the current audio and listen |
| Metric | What it tells you |
|---|---|
| p95 time to first audio | The real conversational latency |
| WebSocket error rate | Whether the stream is stable |
| Barge-in cancellation rate | Whether the agent yields correctly |
| Transfer success rate | Whether the handoff works |
| Call completion rate | Whether the agent finishes the task |
| Prompt playback failures | Whether the pre-recorded path is reliable |
| Cost per call | Speech plus Avaya plus runtime |
Natural speech is roughly 150 words per minute, close to 900 characters. One Fish Audio credit covers about 1,000 characters, so agent speech starts near one credit per minute before retries or longer answers.
| Pack | Price | Credits | Approximate agent speech |
|---|---|---|---|
| Starter | $9 | 1,000 | About 16 hours |
| Creator | $29 | 4,000 | About 66 hours, plus commercial rights |
| Studio | $99 | 15,000 | About 250 hours, plus API access |
Avaya licensing, telephony, media streaming and the agent runtime remain separate. The TTS API pricing guide converts characters into a full budget.
There are several paths: Avaya Infinity real-time media streaming for an external AI service, Avaya Experience Platform virtual agents with pre-recorded audio and TTS payload settings, CPaaS APIs, and MRCP speech servers on older stacks. Avaya Infinity lists a custom TTS provider feature as coming soon, so verify the current release before depending on it.
Yes. Run an external media service that uses Fish Audio and connect it through the supported streaming interface, or pre-render WAV audio and use it where the platform accepts custom prompts. There is no native Fish Audio Avaya integration.
It is an open WebSocket protocol for bringing your own AI to Avaya Infinity. It carries bidirectional audio and JSON events, supports virtual-agent integration and escalation, and uses JWT authentication and TLS with telephony codecs such as PCMU, PCMA and G.722.
Avaya Experience Platform virtual-agent integrations can use pre-recorded WAV files and TTS voice parameters through custom payloads. Check the current payload schema for your Dialogflow or virtual-agent version.
At roughly 150 words per minute, one minute of agent speech is about one Fish Audio credit. Avaya licensing, telephony, media streaming and the agent runtime are separate costs.