1. Upload a sound
To hear what a caller will,
GET /v1/ambience-sounds/{id} returns rendition_urls, and GET /v1/ambience-sounds/{id}/renditions/{rate} streams the MP3 itself on every storage backend.
2. Name it on an agent
soundis a sound id in the agent’s project. A stored agent naming one that does not exist is a422at save.volumeis0.0–1.0and defaults to0.3. On a real PSTN call,0.3was clearly audible for a restaurant recording and caused no spurious interruptions.- Remove the block to turn it off.
Behaviour to know
- It never ends a call. A missing sound, a missing rendition or a failed fetch logs a warning and leaves the room silent.
- It is in the call recording, on the agent’s channel, as the caller heard it. It also keeps playing while the voicemail gate holds the agent’s speech back.
- It does not run in evals. An eval run on an agent with ambience carries an
ambience_skippedwarning instead. - Deleting a sound is refused with
409, naming the agents, while any agent uses it. Once deleted, its stored files go too.