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

Calls don't work #2

Open
quarckster opened this issue Apr 16, 2018 · 6 comments
Open

Calls don't work #2

quarckster opened this issue Apr 16, 2018 · 6 comments

Comments

@quarckster
Copy link

A connection seems established, but there is no audio during the call.

@schors
Copy link
Owner

schors commented Apr 16, 2018

Sorry. This is a telegram bug. They are working on this.

@ghost
Copy link

ghost commented Apr 18, 2018

@schors can you tell about it? I've never heard about this.

@schors
Copy link
Owner

schors commented Apr 18, 2018

No. I can't

@KekcuHa
Copy link

KekcuHa commented Apr 20, 2018

@CraftedCat
Copy link

CraftedCat commented Apr 25, 2018

docker ps -a
docker stop tgdante
docker cp <ContainerID>:/conf/dante.conf .

Add before socks block:

socks pass {
    from: 0.0.0.0/0
    to: 0.0.0.0/0
    # udp.portrange: 40000-45000
    command: udpassociate
    log: error connect disconnect
}

socks pass {
    from: 0.0.0.0/0
    to: 0.0.0.0/0
    command: udpreply
    log: error connect disconnect
}

Save:

docker cp dante.conf <ContainerID>:/conf/dante.conf

docker start tgdante

Add Iptables rules:
-A INPUT -p udp -m multiport --dports 40000:45000 -j ACCEPT
Save:

Complete!

@grishka
Copy link

grishka commented Apr 25, 2018

@satoshinakamotoofficial's solution works for me. There also was a bug in libtgvoip that prevented TCP fallback and I've fixed that recently. The fixed library is already in the Android app, and other apps will follow soon. While sending voice over TCP isn't generally a great idea, sometimes it's better than nothing.

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

5 participants