Media routing
What is media routing?
💡 Media routing is about what is an input to your media processing pipeline, like an AI Agent and where is an output of that pipeline connected to
In a typical case, when Alice calls an AI Agent the thing is obvious:
input is taken as Alice voice
output in the form of agent's voice is routed back to Alice
But even in this case, there are 2 media streams involved and 4 possible media routings

In case of a regular call with 2 parties involved (say Alice calls Bob) there is 4 different media streams and 8 technically different (4 logically different) media routings

There may be even more routing configurations, if you consider playing agent's voice to both parties (broadcasting agent)
To configure media routing for any media processing action (like Speech translation, AI Agent, etc.) , open a Call Flow and click on that action to access MEDIA
tab

What can I do with media routing?
Cool example of a media routing is a whispering AI Agent
When Alice calls Bob, Alice my be running an AI Agent which process Bob's voice, but whose output (in the form of agent's voice) can be heard by Alice only. This can be done in an opposite direction too of course, or in both directions at the same time, and you may even think of making same agent's voice available to both Alice and Bob
See Whispering AI Agent for more details
Last updated