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#
An active DIDWW account is required. Sign in to DIDWW or create a DIDWW account.
At least one active DID number with capacity to receive incoming calls is required. See How to buy numbers if you need one.
A running Jitsi Meet deployment based on docker-jitsi-meet is required.
Step 1: Create an inbound SIP trunk#
In the DIDWW User Panel, go to Voice > Inbound Trunks.
Click Create New > SIP Trunk.
Enter a descriptive Name for the trunk (e.g.,
Jitsi Meet).Select Dynamic Registration as the trunk Type.
Click Create to save the trunk.
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.
Fig. 2. Copy the Dynamic Registration credentials and endpoint.#
Step 3: Assign the trunk to your DID numbers#
In the DIDWW User Panel, go to Phone Numbers > My Numbers.
Select the DID number(s) that will deliver calls to Jitsi Meet.
At the bottom of the page, click Batch Actions > Update Trunks.
Select the trunk created in Step 1.
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 |
|---|---|
|
The Username from Step 2,
followed by |
|
The Password from Step 2. |
|
A Registration Endpoint from Step 2 (e.g., |
|
The DIDWW SIP signaling port. Set to |
|
The transport protocol for SIP signaling. Set to |
|
The name of the meeting that incoming calls join (e.g., |
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#
Open the meeting set in
JIGASI_SIP_DEFAULT_ROOMin a browser.Call the DID number assigned in Step 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#
In the DIDWW User Panel, go to Voice > Outbound Trunks.
Click Create New.
Enter a Friendly name (e.g.,
Jitsi Meet).Select Credentials & IP-Based as the Authentication method.
In Allowed SIP IP addresses, enter the public IP address from which Jigasi sends SIP traffic.
Fig. 3. Configure outbound trunk authentication.#
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).
Click Create to save the trunk.
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#
Go to Voice > Outbound Trunks.
Locate the trunk and click the key icon in the Credentials column.
Copy the Username and Password. Click the eye icon to reveal the password.
Choose a DIDWW outbound SIP hostname (e.g.,
ams.eu.out.didww.com). Available hostnames are listed in Outbound SIP information.
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 |
|---|---|
|
The DID number allowed as the caller ID in
Step 1, in international
format without |
|
The Password from Step 2. |
|
The outbound SIP hostname chosen in Step 2
(e.g., |
|
The DIDWW SIP signaling port. Set to |
|
The transport protocol for SIP signaling. Set to |
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 |
|---|---|
|
The outbound trunk Username from
Step 2. Jigasi uses this
username to authenticate and the DID number in |
|
|
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#
Open a meeting in a browser.
Click Invite people and enter a phone number in international format.
Confirm that the phone rings and shows your configured DID number as the caller ID.
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
jigasiservice 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
!overridesyntax 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 |
|---|---|
|
Uses a separate configuration directory so that the outbound properties file from Part 2 does not apply to the inbound instance. |
|
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. |
|
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.