Jitsi Meet#

Use Jitsi Meet with DIDWW SIP Trunking to let callers join a meeting by dialing a DIDWW number and to invite people to a meeting by calling their phones.

Jitsi Meet is an open-source video conferencing platform that you can host on your own server. Jigasi, the Jitsi gateway to SIP, connects phone calls to a meeting as audio participants.

  • Receive meeting dial-in calls on your DIDWW numbers.

  • Choose the meeting that incoming callers join.

  • Invite phone participants through DIDWW Outbound Trunks.

  • Show your DIDWW number as the outbound caller ID.

Warning

DIDWW does not operate or control third-party platforms or services and is not responsible for their security, functionality, availability or data handling practices. You are responsible for the third-party services you connect, the access you grant, the API keys, credentials and other information you share, as well as all resulting activity and charges on your DIDWW account, including unauthorized or fraudulent use attributable to such access.

This guide applies to Jitsi Meet deployed with docker-jitsi-meet and was tested with Jigasi 1.1-425. Complete the Jitsi Docker deployment setup before following the steps below. Run all Docker Compose commands from your docker-jitsi-meet directory.

Important

The Jigasi configuration in this guide uses one SIP account. DIDWW inbound and outbound trunks use different servers and credentials, so configure one instance for inbound calls or outbound calls. To use both, run two Jigasi instances.


1. Configure inbound calls#

Create an Inbound SIP Trunk in the DIDWW User Panel and register Jigasi on it. Incoming calls to the DIDWW numbers assigned to this trunk then join the meeting configured in Jigasi.

Before you begin#

Step 1: Create an inbound SIP trunk#

  1. In the DIDWW User Panel, go to Voice > Inbound Trunks.

  2. Click Create New > SIP Trunk.

  3. Enter a descriptive Name for the trunk (e.g., Jitsi Meet).

  4. Select Dynamic Registration as the trunk Type.

  5. Click Create to save the trunk.

General settings for an inbound SIP trunk using Dynamic Registration

Fig. 1. Configure a Dynamic Registration SIP trunk.#

For all fields of the form, see Create a SIP trunk.

Step 2: Copy the inbound trunk credentials#

Open the created trunk and copy its Username, Password, and one of the Registration Endpoints. You will use these values to configure Jigasi.

Generated username, password, and registration endpoints for an inbound SIP trunk

Fig. 2. Copy the Dynamic Registration credentials and endpoint.#

Step 3: Assign the trunk to your DID numbers#

  1. In the DIDWW User Panel, go to Phone Numbers > My Numbers.

  2. Select the DID number(s) that will deliver calls to Jitsi Meet.

  3. At the bottom of the page, click Batch Actions > Update Trunks.

  4. Select the trunk created in Step 1.

  5. Click Confirm to apply the changes.

For the complete procedure, see Assign a voice trunk.

Step 4: Configure Jigasi#

In the docker-jitsi-meet .env file, set the following values. Replace the uppercase placeholders with your trunk credentials and meeting name.

1JIGASI_SIP_URI=USERNAME@sip.didww.com
2JIGASI_SIP_PASSWORD=PASSWORD
3JIGASI_SIP_SERVER=REGISTRATION_ENDPOINT
4JIGASI_SIP_PORT=5060
5JIGASI_SIP_TRANSPORT=TCP
6JIGASI_SIP_DEFAULT_ROOM=ROOM

Variable

Value

JIGASI_SIP_URI

The Username from Step 2, followed by @sip.didww.com.

JIGASI_SIP_PASSWORD

The Password from Step 2.

JIGASI_SIP_SERVER

A Registration Endpoint from Step 2 (e.g., ams.sip.didww.com).

JIGASI_SIP_PORT

The DIDWW SIP signaling port. Set to 5060.

JIGASI_SIP_TRANSPORT

The transport protocol for SIP signaling. Set to TCP.

JIGASI_SIP_DEFAULT_ROOM

The name of the meeting that incoming calls join (e.g., support).

Step 5: Start Jigasi and verify registration#

Start Jitsi Meet with Jigasi:

1docker compose -f docker-compose.yml -f jigasi.yml up -d

Check the registration in the Jigasi log:

1docker compose -f docker-compose.yml -f jigasi.yml logs jigasi | grep "REG STATE CHANGE"

The last registration state change must contain newState=RegistrationState=Registered.

Step 6: Make a test call#

  1. Open the meeting set in JIGASI_SIP_DEFAULT_ROOM in a browser.

  2. Call the DID number assigned in Step 3.

  3. Confirm that the caller appears in the meeting and that audio works in both directions.


2. Configure outbound calls#

Create an Outbound SIP Trunk in the DIDWW User Panel and configure Jigasi with its credentials. Meeting participants can then invite phone numbers to a meeting.

Before you begin#

  • Access to DIDWW Outbound Trunks is required. See Get access to outbound trunks if it is not enabled.

  • A DID number to present as the caller ID is required.

  • A running Jitsi Meet deployment based on docker-jitsi-meet is required.

Step 1: Create an outbound SIP trunk#

  1. In the DIDWW User Panel, go to Voice > Outbound Trunks.

  2. Click Create New.

  3. Enter a Friendly name (e.g., Jitsi Meet).

  4. Select Credentials & IP-Based as the Authentication method.

  5. In Allowed SIP IP addresses, enter the public IP address from which Jigasi sends SIP traffic.

Credentials and IP-Based authentication settings for an outbound SIP trunk

Fig. 3. Configure outbound trunk authentication.#

  1. Under Termination > CLI Settings, allow the DID number that Jigasi will present as the caller ID. If you restrict the trunk to specific DIDs, add this number to Allowed CLI(s).

  2. Click Create to save the trunk.

Outbound trunk CLI settings for allowed DID numbers

Fig. 4. Allow the DID number used as the caller ID.#

For all fields of the form, see Create an outbound trunk.

Step 2: Copy the outbound trunk credentials#

  1. Go to Voice > Outbound Trunks.

  2. Locate the trunk and click the key icon in the Credentials column.

  3. Copy the Username and Password. Click the eye icon to reveal the password.

  4. Choose a DIDWW outbound SIP hostname (e.g., ams.eu.out.didww.com). Available hostnames are listed in Outbound SIP information.

Username and password fields in the outbound trunk SIP Credentials window

Fig. 5. Copy the outbound trunk credentials.#

Step 3: Configure Jigasi#

In the docker-jitsi-meet .env file, set:

1JIGASI_SIP_URI=DID@out.didww.com
2JIGASI_SIP_PASSWORD=PASSWORD
3JIGASI_SIP_SERVER=HOSTNAME
4JIGASI_SIP_PORT=5060
5JIGASI_SIP_TRANSPORT=TCP

Variable

Value

JIGASI_SIP_URI

The DID number allowed as the caller ID in Step 1, in international format without +, followed by @out.didww.com.

JIGASI_SIP_PASSWORD

The Password from Step 2.

JIGASI_SIP_SERVER

The outbound SIP hostname chosen in Step 2 (e.g., ams.eu.out.didww.com).

JIGASI_SIP_PORT

The DIDWW SIP signaling port. Set to 5060.

JIGASI_SIP_TRANSPORT

The transport protocol for SIP signaling. Set to TCP.

Then create or update jigasi/custom-sip-communicator.properties inside the directory set by CONFIG in .env. Add:

1net.java.sip.communicator.impl.protocol.sip.acc1.AUTHORIZATION_NAME=USERNAME
2net.java.sip.communicator.impl.protocol.sip.acc1.Encodings.PCMA/8000=0

Property

Value

AUTHORIZATION_NAME

The outbound trunk Username from Step 2. Jigasi uses this username to authenticate and the DID number in JIGASI_SIP_URI as the caller ID.

Encodings.PCMA/8000

0 disables PCMA. This configuration uses PCMU for DIDWW calls.

Important

Keep PCMA disabled for this setup. In the tested configuration, selecting PCMA caused the called party to hear no audio from the meeting.

Step 4: Start Jigasi and verify registration#

Start Jitsi Meet with Jigasi:

1docker compose -f docker-compose.yml -f jigasi.yml up -d

Check the registration in the Jigasi log:

1docker compose -f docker-compose.yml -f jigasi.yml logs jigasi | grep "REG STATE CHANGE"

The last registration state change must contain newState=RegistrationState=Registered.

Step 5: Make a test call#

  1. Open a meeting in a browser.

  2. Click Invite people and enter a phone number in international format.

  3. Confirm that the phone rings and shows your configured DID number as the caller ID.

  4. Answer the call. Confirm that the called party appears in the meeting and that audio works in both directions.


3. Run inbound and outbound calls together#

Run a second Jigasi instance for inbound calls alongside the instance configured for outbound calls.

Before you begin#

  • Complete Part 2. The jigasi service handles outbound calls.

  • Complete Steps 1–3 of Part 1 to create an Inbound SIP Trunk, copy its credentials, and assign it to your DID numbers.

  • Docker Compose 2.24.4 or later is required for the !override syntax used below. See Merge Compose files.

Step 1: Add the inbound credentials#

In the docker-jitsi-meet .env file, add:

1JIGASI_IN_SIP_URI=USERNAME@sip.didww.com
2JIGASI_IN_SIP_PASSWORD=PASSWORD
3JIGASI_IN_SIP_SERVER=REGISTRATION_ENDPOINT
4JIGASI_SIP_DEFAULT_ROOM=ROOM

Use the inbound credentials and meeting name described in Part 1, Step 4. Keep the outbound JIGASI_SIP_URI, JIGASI_SIP_PASSWORD, and JIGASI_SIP_SERVER values from Part 2.

Step 2: Define the second Jigasi service#

In the docker-jitsi-meet directory, create jigasi-in.yml:

 1services:
 2    jigasi-in:
 3        extends:
 4            file: jigasi.yml
 5            service: jigasi
 6        ports: !override
 7            - '20100-20150:20100-20150/udp'
 8        volumes:
 9            - ${CONFIG}/jigasi-in:/config:Z
10        environment:
11            - JIGASI_SIP_URI=${JIGASI_IN_SIP_URI}
12            - JIGASI_SIP_PASSWORD=${JIGASI_IN_SIP_PASSWORD}
13            - JIGASI_SIP_SERVER=${JIGASI_IN_SIP_SERVER}
14            - JIGASI_BREWERY_MUC=jigasibrewery-in
15            - JIGASI_PORT_MIN=20100
16            - JIGASI_PORT_MAX=20150

Setting

Purpose

volumes

Uses a separate configuration directory so that the outbound properties file from Part 2 does not apply to the inbound instance.

ports, JIGASI_PORT_MIN, JIGASI_PORT_MAX

Uses a media port range that does not overlap with the first instance. If you changed the first instance’s range, choose a different unused range for the second instance.

JIGASI_BREWERY_MUC

Uses a separate brewery room so that Jitsi Meet does not select the inbound instance for outbound calls.

Step 3: Start both instances and verify registration#

Start both instances:

1docker compose -f docker-compose.yml -f jigasi.yml -f jigasi-in.yml up -d

Check each instance:

1docker compose -f docker-compose.yml -f jigasi.yml -f jigasi-in.yml logs jigasi | grep "REG STATE CHANGE"
2docker compose -f docker-compose.yml -f jigasi.yml -f jigasi-in.yml logs jigasi-in | grep "REG STATE CHANGE"

The last registration state change in each output must contain newState=RegistrationState=Registered.

Repeat the inbound test call and outbound test call to verify both directions.


Troubleshooting#

Jigasi registration fails with Connection Failed

The Jigasi log shows newState=RegistrationState=Connection Failed. This can happen when Jigasi registers over UDP from behind NAT and the reply from DIDWW does not reach it.

Set JIGASI_SIP_TRANSPORT=TCP. Verify the server hostname and credentials for the relevant inbound or outbound trunk.

404 No network found for src number on an outbound call

The user part of JIGASI_SIP_URI is not a DID number.

Set JIGASI_SIP_URI and AUTHORIZATION_NAME as described in Part 2, Step 3.

403 Forbidden on an outbound call

Jigasi’s public IP address may not be allowed on the outbound trunk.

Add the address to Allowed SIP IP addresses on the DIDWW outbound trunk.

The called party cannot hear the meeting

The outbound call may be using PCMA.

Disable PCMA as described in Part 2, Step 3.