Open quarckster opened 6 years ago
Sorry. This is a telegram bug. They are working on this.
@schors can you tell about it? I've never heard about this.
No. I can't
@schors, can you check this https://stackoverflow.com/questions/49855516/telegram-calls-via-dante-socks5-proxy-server-not-working
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!
@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.
A connection seems established, but there is no audio during the call.