Telephony guideSIP, PSTN, routing, and call control
Cloud telephony on your own carrier
Connect numbers, route calls, and automate the right moments.
Bring your SIP provider and numbers. MediaSFU handles the real-time operating layer between PSTN callers, rooms, AI agents, IVR playback, callbacks, and human operators.
Route callers into a room, AI agent, or operator queue.
Use this when a public number should answer customer calls and escalate cleanly.
Outbound calls
Let staff, apps, or campaigns place PSTN calls.
Use this when MediaSFU needs a verified peer, caller ID, and provider trunk.
AI phone agents
Connect SIP calls to STT, LLM, TTS, and handoff.
Use this when calls should be automated but still observable and transferable.
Shortest production path
Do these in order.
Pick a SIP provider and collect domain, port, transport, username, password, and DID.
Allow MediaSFU gateway traffic in the provider firewall or trunk policy.
Create the SIP config in MediaSFU and verify the phone number.
Decide the route: room, human operator, IVR/audio playback, AI agent, or callback. An AI agent also needs AI keys, or managed AI if your plan includes it.
Test inbound and outbound calls, DTMF, recording, transcripts, and fallback behavior.
One path, both directions. The same trunk and room carry inbound and outbound calls, so setting up one sets up most of the other.
Mode: Basic keeps the path short. Detailed unlocks API fields, events, and call-control reference.
Where do you want to start?
Pick the path that fits you. Each one tells you what to set up and what you can skip.
Quick setup: the essentialsBasic
Need a ready app now? Use the Calls tab on web or a platform app. Download official apps fromDownload Page.
Yes: in the dashboard, add speech-to-text, a language model and text-to-speech under AI Provider Keys (or use MediaSFU managed AI if your plan includes it), then turn the agent on for the number.
Verify your number (its peer) so calls connect reliably both ways. To place calls as well, turn on allowOutgoing.