Skip to content
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

Can not call on mobile network #3777

Open
kamyargerami opened this issue Aug 3, 2021 · 2 comments
Open

Can not call on mobile network #3777

kamyargerami opened this issue Aug 3, 2021 · 2 comments

Comments

@kamyargerami
Copy link

kamyargerami commented Aug 3, 2021

Hi, I run matrix on my VPS using docker image, I think it's all good and I'm connected to federation using the proxy pass.

I can call with my pc with two different clients, also I can call using my phone when I'm connected to wifi.
but I can't call using the mobile network. ( maybe my country limited the network IDK - Iran)

when I'm trying to call my pc shows me a black screen and my android device shows me connecting... message.

I'm using Cloudflare for DNS, I tried to disable the cloud of my DNS records but it does also not work.

Do you think it's about my configuration or it's about element?

homeserver: matrix.mamnon.ir - (mamnon.ir)
element web client: web.mamnon.ir

Xiaomi mi 9t
android 11

app version: 1.1.15 - google play

@DoM1niC
Copy link

DoM1niC commented Aug 4, 2021

Do you configure or tried STUN Fallback?

@Ezwen
Copy link

Ezwen commented Oct 27, 2021

Same problem here. I've made mutliple tests, and I have the following results:

  • phone 1 (mobile network) — phone 2 (mobile network) : does not work ❌
  • phone 1 (wifi) — phone 2 (mobile network) : does not work ❌
  • phone 1 (mobile network) — phone 2 (wifi) : does not work ❌
  • phone 1 (wifi) — phone 2 (wifi) : works ✅

I am using a self-hosted server. If that helps, here is my STUN/TURN configuration in synapse:

turn_uris:
    - "turn:$HOSTNAME:3478?transport=udp"
    - "turn:$HOSTNAME:3478?transport=tcp"
    - "turns:$HOSTNAME:3478?transport=udp"
    - "turns:$HOSTNAME:3478?transport=tcp"

turn_shared_secret: "$TURN_SECRET"
turn_user_lifetime: 86400000
turn_allow_guests: True

And here is my coturn configuration template:

external-ip=$IP
relay-ip=$IP
listening-ip=$IP
min-port=49152
max-port=65535
verbose
realm=$REALM
cert=/etc/ssl/certs/cert.pem
pkey=/etc/ssl/private/privkey.pem
log-file=stdout
use-auth-secret
static-auth-secret=$TURN_SECRET
no-tcp-relay
denied-peer-ip=10.0.0.0-10.255.255.255
denied-peer-ip=192.168.0.0-192.168.255.255
denied-peer-ip=172.16.0.0-172.31.255.255
allowed-peer-ip=10.0.0.1
user-quota=12
total-quota=1200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants