Voice API v2 uses a call model made of three building blocks:
- Session: a container that starts as soon as the first call is created. It groups all related calls and lasts until all of them have ended.
- Call: one participant's connection within a session, such as a caller or a callee. Inbound calls arrive from an external source, and outbound calls are started by your service, either through an API request or with the dial command inside an existing session.
- Bridge: a mechanism that connects one or more calls so the participants can talk to each other.
You need a bridge whenever participants on different calls in the same session should hear each other. For example, to connect an inbound caller to a phone you dial from your service, you bridge the two calls. A session on its own only groups the calls and keeps their shared context.
For more information, see Voice API v2 reference, Call Model: definitions of sessions, calls and bridges, and how calls are initiated
Comments
0 comments
Please sign in to leave a comment.