-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disconnected from SIP server after 20-30s and no sound #1754
Comments
#Web
#jvb
#prosody
#iptables
#ifconfig
#folder structure / rights
|
I suspect NAt traversal settings on your SIP server. Note that when running in Docker Jigasi wioll technically be behind NAT. |
Thanks for the answer, I asked my server provider and they suggested we try TCP instead of UDP. So I changed to TCP in .env and rebuilt docker. But I get the same problem. So I don't think the problem is there as it worked before jitsi-docker. Same problem in Jigasi logs: Docker usually fixes it's own iptables, maybe it's something wrong here?
I even tried forwarding in sysctl.
|
Is your service provider handling NAT traversal fro you? |
Unsure what you mean, my server has a public IP with no firewalls in between (only local firewall). The sip server I contact is also on a public IP, it probably has a local firewall too. The sip account and sip server I used worked before the docker setup from this server. I just apt removed those packages and followed the setup for docker with jigasi. The call goes through though, but no sound and then disconnect. I use this command to start: docker-compose -f docker-compose.yml -f jigasi.yml up -d |
But Jigasi is in Docker, which uses NAT for the inter-container network.
If you had Jigasi on a public IP server before you might not have needed the NAT traversal support because you were not behind one. You are now. |
Does NAT really make an issue? With the same network of
Instead, what kind of configuration have you added or modified to run |
I have Jitsi (stable 9258) and Jigasi setup on docker. Using Ubuntu 22.04.4 LTS.
I can start a meeting and invite other members (phone number). On the test phone I get the call but the sound is silent and the call is disconnected after 20-30s.
Any help would be awesome as this worked before (not docker version though). I think my problem is the lack of this in sip-communicator.properties "net.java.sip.communicator.impl.protocol.sip.acc1.DEFAULT_ENCRYPTION=false" which I had in my old config which worked but I can't set it in .env. I also tried adding the line in ~/.jitsi-meet-cfg/jigasi/custom-config.js but it doesn't work.
The server has a public IP and only thing I block in firewall is SSH. I use Nginx as proxy and certbot for Letsencrypt cert (certbot --nginx).
What stands out for me in the Jigasi logs is this:
2024-03-05 11:58:22.583 SEVERE: [134] SipGatewaySession$ExpireMediaStream.run#1387: [ctx=1709636290713753141985] Stopped receiving RTP for Call: id=1709636294329799149618 peers=1
--
Here is my setup (maybe I have some incorrect setting? Might also help someone else in the future setting up):
#docker-version
#Nginx
#ENV
#docker ps
#jigasi logs
The text was updated successfully, but these errors were encountered: