Connect SIP/PSTN to MediaSFU without wandering through the manual.
Use this page to connect a phone provider, verify a number, route calls, and decide whether each call goes to a room, an AI agent, IVR playback, callback flow, or a human operator.
Inbound support
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.
Test inbound and outbound calls, DTMF, recording, transcripts, and fallback behavior.
Mode: Basic keeps the path short. Detailed unlocks API fields, events, and call-control reference.
Start Here: Basic Setup or Detailed Setup?
Use this quick decision flow first. It tells you exactly what to configure and what to skip.
A) Basic Setup (Absolute Essentials)Basic
Need a ready app now? Use the Calls tab on web or a platform app. Download official apps fromDownload Page.