tgdante2 icon indicating copy to clipboard operation
tgdante2 copied to clipboard

Calls don't work

Open quarckster opened this issue 6 years ago • 6 comments

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

quarckster avatar Apr 16 '18 20:04 quarckster

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

schors avatar Apr 16 '18 20:04 schors

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

ghost avatar Apr 18 '18 07:04 ghost

No. I can't

schors avatar Apr 18 '18 15:04 schors

@schors, can you check this https://stackoverflow.com/questions/49855516/telegram-calls-via-dante-socks5-proxy-server-not-working

KekcuHa avatar Apr 20 '18 04:04 KekcuHa

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!

CraftedCat avatar Apr 25 '18 09:04 CraftedCat

@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.

grishka avatar Apr 25 '18 10:04 grishka