Go to the accessibility settings on your device and ensure that the call audio routing is set to Bluetooth or automatic. This will ensure that the audio is not being routed to the device’s speakers instead of the AirPods.