If you are unable to call on WhatsApp over WiFi try switching to a different network and see if that helps. If after switching networks, you are able to make calls, then maybe the issue is with the network you were previously connected to. Mostly, it is caused due to slow Internet Connection, if your bandwidth is slow, there is no way, WhatsApp will be able to communicate with its server and make the call for you.