Jitsi SIP integration with Jigasi and the video SIP gateway

Jigasi adds audio-only phone dial-in to a self-hosted Jitsi Meet, and a Jibri configured as a video SIP gateway lets meeting room devices join. This page covers the method, prerequisites, ports, credentials and the checks that close each step.

On this page

How Jigasi and the video SIP gateway connect Jitsi to phones and room systems

If you need phones or meeting room devices to join a self-hosted Jitsi meeting, you need one of two gateways, and they are not interchangeable. Jigasi is the audio-only SIP gateway. In the official Docker setup it is enabled by adding the jigasi.yml compose file and supplying SIP credentials through settings such as JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, JIGASI_SIP_SERVER, JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT. Jigasi lets a caller hear and speak in the room, which covers dial-in from a desk phone or mobile. It does not carry video, so a room display with a camera needs the second option.

The video SIP gateway is a different component. It uses a Jibri configured with a SIP video device, so the meeting room system appears as a video participant. The Jitsi handbook documents it as available only to non-guests, and it depends on enableUserRolesBasedOnToken with a JWT so that the gateway is recognized as a trusted user rather than an anonymous joiner. It also calls SIP addresses returned by a people search service, which means the directory you connect to decides which room systems can be reached. Confirm with your team which of these two paths you actually need before you size hosts, open ports or issue credentials, because each path adds separate infrastructure and separate identities.

The steps in this section come from the Jitsi handbook, specifically its Docker self-hosting guide and its page on configuring a video SIP gateway, so treat them as the documented method and not as a vendor certification or endorsement of any SIP provider. Plan for the SIP trunk or PBX side as a dependency you must confirm: DeployOpen would ask your telephony owner for the provider's registration details, supported codecs and transport, and whether outbound calls are permitted, since these determine the values you put in the Jigasi settings. Ask who owns the SIP account, who rotates its password, and where those secrets are stored before the first test call.

What you need in place before SIP work starts

SIP dial-in and room system calls add moving parts to a working Jitsi Meet deployment. Each card below is a prerequisite that has to be settled before Jigasi or the video SIP gateway is switched on, and several of them are decisions to make with your telephony provider and infrastructure team rather than defaults to accept.

Docker deployment baseline

The Jitsi Docker setup runs web, prosody, jicofo, jvb, jigasi and jibri as separate containers, and the SIP gateway is enabled by adding the jigasi.yml compose file to the stack. Confirm the base Jitsi Meet stack works for a plain browser meeting before you add SIP, so that any later fault can be traced to the gateway. Record the image tag you deploy, because container layout and directory paths changed with the rootless release.

Jitsi Docker guide

Working HTTPS domain certificate

Audio and video in Jitsi depend on HTTPS with a certificate issued for your domain. The handbook warns that self-signed certificates cause problems, especially with mobile clients, and dial-in users reach the same meeting links that browsers and apps use. Confirm the certificate chain is valid from outside your network and that renewal is automated before go-live.

SIP trunk or PBX account details

Jigasi needs a SIP account with a URI, password, server, port and transport, supplied as JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, JIGASI_SIP_SERVER, JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT. Ask your provider or PBX administrator which transport and port they expect, and whether the account can place inbound calls to the number you plan to publish. Store the password in your secrets process, not in plain compose files.

Jigasi UDP port range

Jigasi needs UDP ports 20000 to 20050 open when it handles SIP access. Open them in the host firewall, any cloud security group and any upstream network device, and confirm that the range is reachable in the direction your provider uses for media. Keep this range separate from the 10000/UDP port used by the videobridge, so that a fault in one path is easier to isolate.

Separate host for Jibri

Jibri records or streams a meeting by running Chrome in a virtual framebuffer and encoding with ffmpeg. Its README says it should run on its own machine or VM and supports only one recording at a time on a single Jibri. Plan a separate host for any video SIP gateway device, size it for one concurrent session per instance, and keep it off the same machine as the core Jitsi services.

Jibri repository

Provider firewall and codec checks

Confirm with your SIP provider or PBX vendor which firewall rules they require, including source addresses, signaling and media ports, and whether they need NAT traversal settings for your public address. Ask which audio codecs their trunk accepts and whether transcoding is applied, because a mismatch shows up as one-way or silent calls. Get the answers in writing before testing, since these settings are controlled by the provider, not by your Jitsi configuration.

Configuration sequence for Jigasi dial-in

This sequence takes a self-hosted Jitsi Docker deployment from a stopped SIP gateway to verified outbound and inbound phone calls, and then adds the separate Jibri video SIP gateway with its JWT and people search dependencies.

  1. Confirm the SIP trunk and firewall prerequisites

    Before touching the Jitsi configuration, the team responsible for telephony gathers the details from its SIP provider or PBX: the SIP URI, the account password, the SIP server hostname, the port and the transport the provider accepts. The network team confirms that UDP 20000 to 20050 is open from the Jigasi host toward the SIP provider and that the Jitsi Docker host can reach the provider's signaling address. Confirm the media and signaling requirements with your provider, since the supplied Docker guidance only names the UDP range. The step is done when the telephony owner has written values for every credential and the network team has a firewall change ticket that lists the UDP range and direction.

  2. Enable the jigasi compose file

    The operator on the Docker host adds the jigasi.yml compose file to the set of files used to start the stack, following the layout of the existing Docker deployment. The web, prosody, jicofo and jvb services stay in place, and jigasi is added as the audio-only SIP gateway container. The step is done when the compose configuration renders without errors and lists the jigasi service alongside the existing containers.

  3. Set the SIP credentials in the env file

    In the .env file on the Docker host, the operator sets JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, JIGASI_SIP_SERVER, JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT to the values from the first step. The password should be handled like any other service secret: restrict read access to the file, avoid pasting it into tickets or chat, and confirm that backups of the host do not spread it to unintended places. The step is done when the values are present in .env, the file permissions are restricted, and the operator has recorded where the secret is stored.

  4. Start the stack and read the Jigasi logs

    The operator recreates the containers so the new environment values and the jigasi service take effect, then reads the Jigasi container logs. The team watches for a registration or connection message from the SIP server, and for any authentication or transport error that points to a wrong URI, password, port or transport value. The step is done when the logs show Jigasi has connected to the SIP server without repeated errors. If the registration fails, fix the value in .env and restart only the affected container.

  5. Test an outbound call from a meeting

    A tester joins a Jitsi meeting in the browser and uses the Add people or dial-out option to call a phone number the telephony owner has approved for testing. The tester confirms the call rings, the callee hears the meeting audio, and the callee's audio reaches the room. Watch the Jigasi logs during the call for media or session errors. The step is done when a test call connects in both directions and the log shows a clean session start and end.

  6. Test an inbound call to a meeting

    A tester dials the DID or SIP address mapped to Jigasi from an external phone. Confirm the call reaches the Jitsi meeting after the expected prompt, that the caller is audible to participants and participants are audible to the caller, and that the call disconnects cleanly when either side hangs up. The telephony owner documents how the number maps to a room, since that mapping depends on how your provider and the conference mapping are configured. The step is done when inbound calls join the intended room in both directions, and the test results are recorded with the date and the log references.

  7. Configure the Jibri SIP video gateway

    The video SIP gateway is separate from Jigasi and uses a Jibri configured with a SIP video device, so it runs on its own machine or VM. Enable enableUserRolesBasedOnToken with a JWT in the authentication setup, because the gateway is available only to non-guest users, and connect the people search service that returns the SIP addresses the gateway calls. The team confirms the JWT issuer, audience and room claims match the Jitsi token configuration, then tests a call from a logged-in moderator to a room system. The step is done when a non-guest user can call a test room system through the gateway and a guest session cannot. Document each dependency so the video path can be reviewed separately from audio-only dial-in.

Choosing audio-only dial-in or the video SIP gateway

Jigasi is the Jitsi SIP gateway for audio only. It lets people who have no browser or app join a meeting by phone, so it suits participants on landline or mobile networks and external callers who join a room that already exists. Because the path carries audio only, the load on the server is lighter than a video path, and the gateway does not need a display or a dedicated capture machine.

  • Who can join: Anyone who knows the dial-in number and PIN or room details can join, so access depends on how you publish those details and on the room's own access controls.
  • Authentication needed: Jigasi needs SIP account credentials from your provider, such as JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, JIGASI_SIP_SERVER, JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT, and these are stored in your deployment configuration.
  • Extra hardware or VM: Jigasi runs as a container in the Docker setup, enabled with the jigasi.yml compose file, so it usually shares a host with the rest of the stack.
  • Network: Jigasi needs UDP ports 20000 to 20050 open when deployed for SIP access.
  • Operational load: Moderate. You manage the SIP trunk, the credentials, and firewall rules that a telephony provider may change.

Confirm with your SIP provider which transports, ports and codecs it supports before you commit to this path.

Credentials, ports and roles mapped to each component

This table maps each SIP credential variable, UDP port and JWT or people search element to the component that uses it and the system that issues it. Read each row as a question to answer for your deployment: who creates the value, where it is set, and what breaks if it is wrong. Confirm every value against the Docker guide and the video SIP gateway page before you open firewall rules or issue credentials.

ElementUsed byIssued or set byCheck before go-live
JIGASI_SIP_URIJigasi (audio-only SIP gateway)Your SIP trunk or PBX administratorConfirm the account address format with your telephony provider
JIGASI_SIP_PASSWORDJigasiYour SIP trunk or PBX administratorStore in your secrets manager, not in plain compose files
JIGASI_SIP_SERVERJigasiYour SIP trunk or PBX administratorConfirm the registrar hostname resolves from the Jigasi host
JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORTJigasiYour SIP trunk or PBX administratorMatch the transport your provider requires, as set in the Docker guide
UDP 20000 to 20050Jigasi media, when deployed for SIP accessFirewall and network team, per the Docker guideOpen on the Jigasi host and confirm NAT rules forward the same range
Jibri with SIP video deviceVideo SIP gateway (non-guest users only)Your platform team, configured per the video SIP gateway pageConfirm the Jibri host is separate from other Jibri workloads
JWT token with enableUserRolesBasedOnTokenVideo SIP gateway and room role checksYour identity or token issuer, signed with the JWT secret set in the deploymentConfirm only non-guest roles receive the dial-out capability
People search service (SIP address lookup)Video SIP gateway dial-out from the Add people dialogYour directory or room system ownerConfirm returned SIP addresses match the devices your gateway can reach

Securing the SIP trust boundary

Jigasi and the video SIP gateway connect your Jitsi meetings to systems outside your control: a SIP provider, phones and room devices. Each connection widens what an attacker can reach, so the credentials, network paths, roles and hosts need to be planned together. The cards below cover the controls to set and the checks to run before dial-in goes live.

Protect the SIP password

The SIP account password lives in the .env file that the Docker setup reads for Jigasi, including JIGASI_SIP_PASSWORD. Anyone who can read that file can register calls on your SIP account and place calls billed to you. Restrict file permissions on the host, keep the file out of version control and backups that are widely readable, and use a SIP account created only for Jigasi. Rotate the password on a schedule your carrier supports and after any staff change.

Jitsi Docker guide

Restrict the UDP range

The Docker guide says Jigasi needs UDP ports 20000 to 20050 open when deployed for SIP access. Those ports are reachable from the internet by default in many firewall designs, which exposes more than the SIP provider needs. Where your provider publishes fixed source addresses, allow the range only from those addresses at the firewall. Confirm with your provider and network team which addresses and ports they actually use, because restricting the range too far breaks media.

Limit the video gateway to members

The video SIP gateway is available only to non-guests and relies on enableUserRolesBasedOnToken with a JWT. Keep that setting tied to tokens that your identity system issues, so guests and anonymous users cannot start calls to room systems. Test the boundary with a guest session and with a token that lacks the right claims. Also review who can edit the people search service, because it decides which SIP addresses a call can reach.

Video SIP gateway docs

Isolate the Jibri host

Jibri runs Chrome in a virtual framebuffer and encodes with ffmpeg, and the Jibri README says it should run on its own machine or VM. Running it beside the web, Prosody or bridge services gives a browser-based component access to the same network and secrets. Place it on a dedicated host with only the network paths it needs to reach Jitsi, and keep SIP and recording credentials off shared hosts.

Jibri repository

Scope the encryption claim

Jitsi's security page states that Jitsi Meet audio and video is encrypted on the network with DTLS-SRTP. That covers the Jitsi Meet media path. The leg between Jigasi and the public telephone network is carried by your SIP provider and any carriers in between, so its encryption depends on those parties. Ask your carrier whether signaling and media are encrypted end to end, and record the answer in your data flow documentation before you describe dial-in as encrypted.

Jitsi security page

Verify the boundary before launch

Write a short test list that covers each control: a guest cannot start a room system call, the SIP password is absent from logs and backups, only the provider's addresses reach the UDP range, and the Jibri host cannot reach internal services it does not need. Repeat the list after each upgrade and after any change to the SIP provider or identity setup. Keep the results with your change records so reviewers can see when each control was last confirmed.

How a phone call reaches a Jitsi room

A dialed phone number reaches a Jitsi room through Jigasi, the audio-only SIP gateway. Jigasi registers with your SIP provider using the credentials in the Docker environment, JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, JIGASI_SIP_SERVER, JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT, and it joins the conference as a participant once the caller's PIN or dial-in number is matched to a room. Media from the phone leg flows to Jigasi and then into the Jitsi Videobridge over the same UDP media path as browser participants. Jigasi needs UDP ports 20000 to 20050 open when it serves SIP access, so the firewall and any NAT rules between your SIP provider and the Jigasi host must allow that range before testing. Confirm the exact transport and port values with your SIP provider, since the Docker guide only documents the variable names and the port range.

The reverse path, a room device calling out, uses the video SIP gateway instead. That gateway runs a Jibri configured with a SIP video device, so it carries video as well as audio. It is available only to non-guests, which means the meeting must be joined with a JWT that sets user roles, so enableUserRolesBasedOnToken has to be enabled and the token must identify the caller as a non-guest. The device dials SIP addresses returned by a people search service rather than numbers typed by hand. The people search service and its request format are covered in the sibling topic on the Jitsi people search and invite service, and dial-in PIN pairing is covered in the conference mapper topic, so plan those integrations before relying on either path.

Before go-live, decide which path you need, since audio-only dial-in and room-device video have different components, ports and identity requirements. Ask your SIP provider which codecs, transports and registration rules apply, and test one inbound call and one outbound room call from each network segment that will use them. Confirm that the Jibri host is separate from other Jibri work, because the Jibri README states that only one recording at a time is supported on a single Jibri.

Common SIP failures and how to fix them

This table pairs each common failure with its likely cause and fix for Jigasi dial-in and the video SIP gateway. Rows marked as needing confirmation depend on your SIP provider or network team, so check those with them before changing Jitsi settings.

SymptomLikely causeFix and who confirms
Jigasi fails to register with the SIP serverWrong JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, JIGASI_SIP_SERVER, JIGASI_SIP_PORT or JIGASI_SIP_TRANSPORT value, or a transport the provider does not acceptRe-check each value against the provider's account details and match the transport they expect. Confirm the credentials and transport with the SIP provider.
Registration works but calls fail to connectSIP server port or transport mismatch, or the provider restricts which source IP addresses can registerConfirm the allowed source IPs and signaling port with the provider, then compare them with the Jigasi host's outbound address. Confirm with the network team if an outbound firewall rule is involved.
One-way audio or no audio on the phone sideUDP ports 20000 to 20050 are blocked between the Jigasi host and the SIP provider, or the host advertises an address the provider cannot reachOpen UDP 20000 to 20050 in both directions where the deployment needs them. Confirm the firewall change and any NAT advertised address with the network team.
Caller joins but hears no meeting audioJigasi has not finished joining the conference, or media ports are blocked after signaling succeedsCheck the Jigasi logs for the conference join, then test the same UDP range. Confirm the media path with the network team.
Video gateway refuses guest callersThe video SIP gateway is available only to non-guests, so the request has no moderator or user role from a tokenUse enableUserRolesBasedOnToken with a JWT for the caller, and confirm the token claims with the team that issues tokens.
Video gateway cannot place a call to a room systemThe SIP address returned by the people search service is missing, malformed or not reachable from the Jibri hostCheck the response format from the people search service, then test the SIP address from the Jibri host. Confirm reachability with the room system administrator or network team.
Calls slow down or drop when several run at onceJibri handles one recording or stream at a time on a single host, so a shared Jibri host is overloadedPlan a separate Jibri host or VM for each concurrent gateway session. Confirm the capacity needed with your own call volume and the video SIP gateway configuration.
Jibri host shows high CPU or memory during callsChrome in a virtual framebuffer and ffmpeg encoding run on the same machine as other servicesMove Jibri to its own machine or VM, as the Jibri README recommends, and monitor its load during a test call.

Questions teams ask before connecting Jitsi to phones

What drives the cost of adding phone dial-in to a self-hosted Jitsi?

The cost comes from four places: SIP trunk or calling plan fees from your carrier, phone numbers (DIDs) for inbound dial-in, hardware or virtual machines for the Jibri video SIP gateway, and the internal time spent testing calls end to end. Trunk and number charges recur monthly and depend on your carrier's terms and call volume, so ask for them in writing. Jibri needs its own machine or VM because it runs one recording or stream at a time, so each additional room device or concurrent call adds capacity. Testing time is one-time but often underestimated, since audio quality, caller IDs and room device behavior all need checking. Ask any quote to separate these lines so you can see what you pay your carrier, your hosting provider and the implementation team.

How long does Jitsi SIP integration take?

The timeline depends mostly on carrier and network readiness, not on the Jitsi configuration itself. If your SIP trunk is already provisioned, your firewall rules can be reviewed quickly, and your Jitsi server is stable, the configuration work is usually the shorter part. Delays come from carrier provisioning of credentials and numbers, approval of firewall changes for the UDP range Jigasi needs, and certificate or DNS work that must be finished before calls work reliably. Video room devices add more steps because they depend on a working JWT setup and a people search service. Ask for a timeline that lists which dependencies sit with your carrier, network team and security team, and which sit with the implementer.

What does our team need to provide for a SIP connection?

Plan to provide these items before work starts:

  • A SIP account from your carrier, including the URI, password, SIP server, port and transport that Jigasi will use, stored as JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, JIGASI_SIP_SERVER, JIGASI_SIP_PORT and JIGASI_SIP_TRANSPORT settings.
  • Firewall changes that allow the UDP ports 20000 to 20050 that the Jitsi Docker guide says Jigasi needs for SIP access, plus the existing Jitsi ports.
  • A valid domain certificate for the Jitsi host, because the Jitsi handbook says self-signed certificates cause problems.
  • Access to the room devices or the Jibri host, and a people search service if you want the video SIP gateway to call directory entries.

Ask your carrier which codecs and transports they support before you start.

Can an internal engineer connect Jitsi to phones without outside help?

Yes, a capable engineer who already runs Jitsi can usually configure Jigasi for audio dial-in, provided the carrier account, firewall access and certificate are available. The work involves Docker environment settings, carrier-specific SIP details and network testing, which are familiar tasks for platform teams. The video SIP gateway is harder because it depends on Jibri, a SIP video device, JWT-based user roles and a people search service, and it adds a separate machine to operate. Consider an outside team if no one has run Jitsi in production, if the carrier integration is unfamiliar, or if the video gateway must be ready on a fixed date. A fixed-scope written agreement makes it clear which parts you keep in house.

Which network changes break Jitsi phone calls most often?

The most common failures involve NAT and firewall rules that block the media path, not the SIP signaling. Jigasi needs the UDP range from 20000 to 20050 open for SIP media, and the base Jitsi install needs 10000/UDP and 443/TCP. If the server is behind NAT, the advertised address must match what the carrier and callers can reach, or calls connect with no audio. Carrier-side NAT or session border controller behavior can also cause one-way audio. Test from outside your network, not only from inside it, and confirm the change with your network security team before it goes live, since opening a port range is a policy decision.

Does the video SIP gateway require JWT authentication?

Yes, the video SIP gateway relies on enableUserRolesBasedOnToken with a JWT, and it is available only to non-guest users. Guests cannot start calls to room systems, so you need a token issuer that identifies your users and their roles. This matters for security: the Jitsi handbook recommends JWT token authentication over the deprecated secure domain method for new installations. Plan the identity source, token signing keys and role mapping before you configure Jibri. A design review by your security team should confirm who can dial out and to which addresses, because the gateway calls whatever the people search service returns.

What should we test before we announce phone dial-in to users?

Test the path a real caller takes, both directions, from several networks and phone types. Check that an inbound call reaches the right room, that a caller hears and speaks clearly, that a third participant can join, and that a call that drops reconnects or ends cleanly. For the video SIP gateway, test that non-guests can place calls, that guests cannot, and that a room device connects with video and audio. Record the results, including the firewall rules and carrier settings used, so operations staff can repeat the tests after upgrades. Ask any implementer to deliver this test plan and results as part of the written scope.

Where should Jibri run for the video SIP gateway?

Jibri should run on its own machine or virtual machine, because the Jibri README states that a single Jibri supports only one recording at a time and it runs Chrome in a virtual framebuffer with ffmpeg encoding. Running it on the Jitsi media server or sharing it with other workloads can cause resource contention and unstable calls. Ask for a sizing plan that matches the number of concurrent room device calls and recordings you expect, and make sure the host has the hardware and network path the room devices need. Ongoing operation includes patching the host, monitoring it and keeping its SIP video configuration in step with Jitsi upgrades.

How Jigasi and the video SIP gateway fit with Jitsi components

The diagram starts at the phone or room system and follows the call into the Jitsi network. Jigasi joins a conference as an audio-only participant and reaches callers through a SIP trunk, which sits outside your trust boundary. The video SIP gateway runs as a Jibri configured with a SIP video device, so it is reached from room systems and needs non-guest access through a JWT. Check which side of the boundary each credential and port belongs to before you open anything.

Jigasi and the video SIP gateway as participants in a Jitsi conference.

How DeployOpen scopes and delivers Jitsi SIP integration

DeployOpen plans, implements, documents and supports self-hosted Jitsi inside your own infrastructure, including SIP dial-in through Jigasi and room system calling through a Jibri-based video SIP gateway. Engagements are fixed-scope, with the SIP trunk, ports, credentials and access rules agreed in writing before any work starts.

How we scope

  • Confirm which meetings need phone dial-in and which need room system calling through the video SIP gateway.
  • Inventory your SIP provider, trunk details, transport choice and the UDP port range your firewall must allow.
  • Agree in writing who may place calls, how non-guest access is granted, and how the people search service is handled.

How we build

  • Deploy Jigasi with the jigasi.yml compose file and set the SIP credential variables in your .env file.
  • Open UDP ports 20000 to 20050 for Jigasi media and verify each path between your server and the SIP provider.
  • Configure the video SIP gateway on a dedicated Jibri machine with a SIP video device and JWT-based user roles.

How we hand over

  • Deliver a written record of hosts, ports, credentials locations, firewall rules and SIP provider settings for your team.
  • Walk through test calls from phone and room systems, with results recorded against the agreed scope.
  • Document the steps your operators need to rotate SIP passwords and restart the gateway containers safely.

How we support

  • Provide ongoing support, upgrades and continuous testing as a retainer after handover.
  • Re-test dial-in and room system calling after Jitsi release updates, trunk changes or network changes.
  • Ask any support provider to confirm response terms in writing, since this page does not state service levels.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.