Update question about whatsapp ports:
According to official facebook:
5222
443
According to screwloose:
TCP: 4244,5222,5223,5228,5242
TCP/UDP: 50318,59234
UDP: 3478,45395
According to quora:
TCP Ports; 80, 443, 4244, 5222, 5223, 5228, 5242, 50318, 59234
UDP Ports: 3478, 45395, 50318, 59234
According to user github:
TCP = 80, 443, 4244, 5060, 5061, 5222, 5223, 5228, 5282
UDP = 5060-5061, 5242, 9785, 40000-60000
According to netify:
TCP 5349
UDP 3478
According to "someone on the internet":
TCP 4244:5242
as I see it, there is no unification of criteria.
Question: What are the real TCP/UDP ports used by WhatsApp (sending/receiving messages and voice/video calls)
Squid is a proxy, not a firewall.
Even if you could proxy non-web traffic through Squid, there is no way to tell WhatsApp to use your proxy.
You need to allow that traffic through your firewall.
I use a transparent proxy .. which blocked my whatsapp calls ... the problem was solved by releasing the UDP / 3478 port in the firewall